data/full_repos/permissive/20803096/maprom3.v
data/verilator_xmls/8e3501fa-8f95-4e95-ab2b-25fe83970445.xml
module maprom3(clk, en, addr, data);
	input clk;
	input en;
	input [3:0] addr;
	output reg [7:0] data;

	always @(posedge clk)
	begin
		if(en)
		begin
			case(addr)
				4'b0000: data <= 8'b00111111;
				4'b0001: data <= 8'b01100001;
				4'b0010: data <= 8'b01001101;
				4'b0011: data <= 8'b11100101;
				4'b0100: data <= 8'b10110111;
				4'b0101: data <= 8'b00010001;
				4'b0110: data <= 8'b11110111;
				4'b0111: data <= 8'b10001100;
				4'b1000: data <= 8'b00111000;
				4'b1001: data <= 8'b00000111;
			endcase
		end
	end
endmodule
module maprom3(clk, en, addr, data);

	input clk;
	input en;
	input [3:0] addr;
	output reg [7:0] data;

	always @(posedge clk)
	begin
		if(en)
		begin
			case(addr)
				4'b0000: data <= 8'b00111111;
				4'b0001: data <= 8'b01100001;
				4'b0010: data <= 8'b01001101;
				4'b0011: data <= 8'b11100101;
				4'b0100: data <= 8'b10110111;
				4'b0101: data <= 8'b00010001;
				4'b0110: data <= 8'b11110111;
				4'b0111: data <= 8'b10001100;
				4'b1000: data <= 8'b00111000;
				4'b1001: data <= 8'b00000111;
			endcase
		end
	end
endmodule