data/full_repos/permissive/506186384/project-files/lab5/Top_tb.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/506186384/project-files/lab5/Top_tb.v:33: Unsupported: Ignoring delay on this delayed statement.\n    always #20 if($time>=200) Clk = !Clk;\n           ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/506186384/project-files/lab5/Top_tb.v:39: Unsupported: Ignoring delay on this delayed statement.\n        #100;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/506186384/project-files/lab5/Top_tb.v:41: Unsupported: Ignoring delay on this delayed statement.\n        #80;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/506186384/project-files/lab5/Top_tb.v:43: Unsupported: Ignoring delay on this delayed statement.\n        #20;\n        ^\n%Error: data/full_repos/permissive/506186384/project-files/lab5/Top_tb.v:37: Can\'t find definition of \'InstrMemory\' in dotted scope/variable: \'Top.InstrMemory\'\n        $readmemb("Instruction1.txt",Top.InstrMemory.MemFile);\n                                         ^~~~~~~~~~~\n        ... Known scopes under \'Top\': <no cells found>\n%Error: data/full_repos/permissive/506186384/project-files/lab5/Top_tb.v:38: Can\'t find definition of \'DataMemory\' in dotted scope/variable: \'Top.DataMemory\'\n        $readmemb("Data.txt",Top.DataMemory.MemFile);\n                                 ^~~~~~~~~~\n        ... Known scopes under \'Top\': <no cells found>\n%Error: Exiting due to 2 error(s), 4 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module Top_tb(

    );
    reg Clk;
    reg reset;
    Top Top(
        .Clk(Clk),
        .reset(reset)
    );
    
    always #20 if($time>=200) Clk = !Clk;
    initial begin
        Clk = 1;
        reset = 0;
        $readmemb("Instruction1.txt",Top.InstrMemory.MemFile);
        $readmemb("Data.txt",Top.DataMemory.MemFile);
        #100;
        reset = 1;
        #80;
        reset = 0;
        #20;
    end
endmodule
module Top_tb(

    );

    reg Clk;
    reg reset;
    Top Top(
        .Clk(Clk),
        .reset(reset)
    );
    
    always #20 if($time>=200) Clk = !Clk;
    initial begin
        Clk = 1;
        reset = 0;
        $readmemb("Instruction1.txt",Top.InstrMemory.MemFile);
        $readmemb("Data.txt",Top.DataMemory.MemFile);
        #100;
        reset = 1;
        #80;
        reset = 0;
        #20;
    end
endmodule