data/full_repos/permissive/52682338/ROMs/rom_l0.v
data/verilator_xmls/e1567eeb-4498-4a25-bc80-0dcc0e456b3f.xml
module rom_l0(
	input [15:0] ADDR,
	output [7:0] OUT,
	input nCE
);

	reg [7:0] ROMDATA[0:65535];
	wire [7:0] DATA_OUT;

	initial begin
		$readmemh("rom_l0.txt", ROMDATA);
	end

	assign #120 DATA_OUT = ROMDATA[ADDR];
	assign OUT = nCE ? 8'bzzzzzzzz : DATA_OUT;

endmodule
module rom_l0(
	input [15:0] ADDR,
	output [7:0] OUT,
	input nCE
);


	reg [7:0] ROMDATA[0:65535];
	wire [7:0] DATA_OUT;

	initial begin
		$readmemh("rom_l0.txt", ROMDATA);
	end

	assign #120 DATA_OUT = ROMDATA[ADDR];
	assign OUT = nCE ? 8'bzzzzzzzz : DATA_OUT;

endmodule