data/full_repos/permissive/174369527/mem/rom_using_file.v
data/verilator_xmls/a80527cd-c6d3-46c5-aa78-c0e274091b22.xml
module rom_using_file (
address ,
data    ,
read_en ,
ce
);
input [7:0] address;
output [7:0] data; 
input read_en; 
input ce; 
           
reg [7:0] mem [0:255] ;  
      
assign data = (ce && read_en) ? mem[address] : 8'b0;

initial begin
  $readmemb("memory.list", mem);
end

endmodule
module rom_using_file (
address ,
data    ,
read_en ,
ce
);

input [7:0] address;
output [7:0] data; 
input read_en; 
input ce; 
           
reg [7:0] mem [0:255] ;  
      
assign data = (ce && read_en) ? mem[address] : 8'b0;

initial begin
  $readmemb("memory.list", mem);
end

endmodule