data/full_repos/permissive/413582930/top_tb/basic_cpu_tb.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/413582930/top_tb/basic_cpu_tb.v:9: Unsupported: Ignoring delay on this delayed statement.\n        #5;\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/413582930/top_tb/basic_cpu_tb.v:15: Unsupported: Ignoring delay on this delayed statement.\n        #30;\n        ^\n%Error: data/full_repos/permissive/413582930/top_tb/basic_cpu_tb.v:54: Can\'t find definition of \'I_mem\' in dotted scope/variable: \'DUT.I_mem\'\n        DUT.I_mem.ROM[0] = 32\'d20971667;\n            ^~~~~\n        ... Known scopes under \'DUT\': <no cells found>\n%Error: data/full_repos/permissive/413582930/top_tb/basic_cpu_tb.v:55: Can\'t find definition of \'I_mem\' in dotted scope/variable: \'DUT.I_mem\'\n        DUT.I_mem.ROM[1] = 32\'d1048851;\n            ^~~~~\n        ... Known scopes under \'DUT\': <no cells found>\n%Error: data/full_repos/permissive/413582930/top_tb/basic_cpu_tb.v:56: Can\'t find definition of \'I_mem\' in dotted scope/variable: \'DUT.I_mem\'\n        DUT.I_mem.ROM[2] = 32\'d1075871923;\n            ^~~~~\n        ... Known scopes under \'DUT\': <no cells found>\n%Error: data/full_repos/permissive/413582930/top_tb/basic_cpu_tb.v:57: Can\'t find definition of \'I_mem\' in dotted scope/variable: \'DUT.I_mem\'\n        DUT.I_mem.ROM[3] = 32\'d1147283;\n            ^~~~~\n        ... Known scopes under \'DUT\': <no cells found>\n%Error: data/full_repos/permissive/413582930/top_tb/basic_cpu_tb.v:58: Can\'t find definition of \'I_mem\' in dotted scope/variable: \'DUT.I_mem\'\n        DUT.I_mem.ROM[4] = 32\'d4262481123;\n            ^~~~~\n        ... Known scopes under \'DUT\': <no cells found>\n%Error: data/full_repos/permissive/413582930/top_tb/basic_cpu_tb.v:59: Can\'t find definition of \'I_mem\' in dotted scope/variable: \'DUT.I_mem\'\n        DUT.I_mem.ROM[5] = 32\'d4275143059;\n            ^~~~~\n        ... Known scopes under \'DUT\': <no cells found>\n%Error: data/full_repos/permissive/413582930/top_tb/basic_cpu_tb.v:60: Can\'t find definition of \'I_mem\' in dotted scope/variable: \'DUT.I_mem\'\n        DUT.I_mem.ROM[6] = 32\'d4271894639;\n            ^~~~~\n        ... Known scopes under \'DUT\': <no cells found>\n%Error: Exiting due to 7 error(s), 2 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module basic_cpu_tb();

    reg clk = 0;
    reg rst_n;
    
    always begin
        #5;
        clk <= !clk;
    end
    
    initial begin
        rst_n <= 0;
        #30;
        rst_n <= 1;
    end
    
    cpu DUT(.clk(clk), .rst_n(rst_n));

    initial begin













        


















        DUT.I_mem.ROM[0] = 32'd20971667;
        DUT.I_mem.ROM[1] = 32'd1048851;
        DUT.I_mem.ROM[2] = 32'd1075871923;
        DUT.I_mem.ROM[3] = 32'd1147283;
        DUT.I_mem.ROM[4] = 32'd4262481123;
        DUT.I_mem.ROM[5] = 32'd4275143059;
        DUT.I_mem.ROM[6] = 32'd4271894639;
        
    end


endmodule
module basic_cpu_tb();


    reg clk = 0;
    reg rst_n;
    
    always begin
        #5;
        clk <= !clk;
    end
    
    initial begin
        rst_n <= 0;
        #30;
        rst_n <= 1;
    end
    
    cpu DUT(.clk(clk), .rst_n(rst_n));

    initial begin













        


















        DUT.I_mem.ROM[0] = 32'd20971667;
        DUT.I_mem.ROM[1] = 32'd1048851;
        DUT.I_mem.ROM[2] = 32'd1075871923;
        DUT.I_mem.ROM[3] = 32'd1147283;
        DUT.I_mem.ROM[4] = 32'd4262481123;
        DUT.I_mem.ROM[5] = 32'd4275143059;
        DUT.I_mem.ROM[6] = 32'd4271894639;
        
    end


endmodule