data/full_repos/permissive/412668290/DW8051_I2C_Master_IP/rom_mem.v
data/verilator_xmls/186661a9-9cf3-458d-99a5-2ebf081b15be.xml
module  rom_mem(         addr,                            
                        data_out,
                        cs_n,       
                        rd_n) ; 
input   [15:0]   addr;         
output  [7:0]   data_out;     
input           cs_n;
input           rd_n;   
reg     [7:0]   mem [0:65535];

initial    $readmemh("i2c.dat",mem);


assign data_out = mem[addr];


  
endmodule
module  rom_mem(         addr,                            
                        data_out,
                        cs_n,       
                        rd_n) ;
 
input   [15:0]   addr;         
output  [7:0]   data_out;     
input           cs_n;
input           rd_n;   
reg     [7:0]   mem [0:65535];

initial    $readmemh("i2c.dat",mem);


assign data_out = mem[addr];


  
endmodule