data/full_repos/permissive/10003806/instruction_rom.v
data/verilator_xmls/e96bc207-0b5b-4ceb-9a3a-f0a0a5664562.xml
module instruction_rom(data_out, address);


    parameter DATA_WIDTH = 4;


    parameter ADDR_WIDTH = 8;
    

    parameter ROM_FILE = "../rom.mif";


    output [DATA_WIDTH - 1:0]   data_out;

    input [ADDR_WIDTH - 1:0]    address;


    reg [DATA_WIDTH - 1:0] data[0:(1 << ADDR_WIDTH) - 1];


    assign data_out = data[address];


    initial
    begin
        $readmemh(ROM_FILE, data);
    end
endmodule
module instruction_rom(data_out, address);



    parameter DATA_WIDTH = 4;


    parameter ADDR_WIDTH = 8;
    

    parameter ROM_FILE = "../rom.mif";


    output [DATA_WIDTH - 1:0]   data_out;

    input [ADDR_WIDTH - 1:0]    address;


    reg [DATA_WIDTH - 1:0] data[0:(1 << ADDR_WIDTH) - 1];


    assign data_out = data[address];


    initial
    begin
        $readmemh(ROM_FILE, data);
    end
endmodule