data/full_repos/permissive/205739496/sim/tb/tb_wrgb.v
 line:192: before: "("
1: b'%Error: data/full_repos/permissive/205739496/sim/tb/tb_wrgb.v:38: Cannot find include file: tb_common.v\n    `include "tb_common.v" \n             ^~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/205739496/sim/tb,data/full_repos/permissive/205739496/tb_common.v\n             data/full_repos/permissive/205739496/sim/tb,data/full_repos/permissive/205739496/tb_common.v.v\n             data/full_repos/permissive/205739496/sim/tb,data/full_repos/permissive/205739496/tb_common.v.sv\n             tb_common.v\n             tb_common.v.v\n             tb_common.v.sv\n             obj_dir/tb_common.v\n             obj_dir/tb_common.v.v\n             obj_dir/tb_common.v.sv\n%Warning-STMTDLY: data/full_repos/permissive/205739496/sim/tb/tb_wrgb.v:45: Unsupported: Ignoring delay on this delayed statement.\n        #2000;\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/205739496/sim/tb/tb_wrgb.v:115: Unsupported: Ignoring delay on this delayed statement.\n                #10000;\n                ^\n%Warning-STMTDLY: data/full_repos/permissive/205739496/sim/tb/tb_wrgb.v:132: Unsupported: Ignoring delay on this delayed statement.\n            #10000;\n            ^\n%Warning-STMTDLY: data/full_repos/permissive/205739496/sim/tb/tb_wrgb.v:134: Unsupported: Ignoring delay on this delayed statement.\n        #500000;\n        ^\n%Error: Exiting due to 1 error(s), 4 warning(s)\n'
module tb_top;

    `include "tb_common.v"




    initial begin

        #2000;

        $display("***************************************************");
        $display("* Test Started");
        $display("***************************************************");


        cmd_protocol();


        cmd_revision();




        cmd_reg_write(8'h03, 8'h00);


        cmd_reg_write(8'h04, 8'h20);


        cmd_reg_write(8'h05, 8'h00);


        cmd_reg_write(8'h06, 8'h01);




        cmd_reg_verify(8'h03, 8'h00);


        cmd_reg_verify(8'h04, 8'h20);


        cmd_reg_verify(8'h05, 8'h00);


        cmd_reg_verify(8'h06, 8'h01);






        $display("***************************************************");
        $display("* Full Rate Loading");
        $display("***************************************************");

        while (fifo_afull == 1'b0) begin
            cmd_load_wrgb(8'h01, 8'h02, 8'h03, 8'h04);
            cmd_load_wrgb(8'h11, 8'h12, 8'h13, 8'h14);
            cmd_load_wrgb(8'h21, 8'h22, 8'h23, 8'h24);
            cmd_load_wrgb(8'h31, 8'h32, 8'h33, 8'h34);
            cmd_load_wrgb(8'h41, 8'h42, 8'h43, 8'h44);
            cmd_load_wrgb(8'h51, 8'h52, 8'h53, 8'h54);
            cmd_load_wrgb(8'h51, 8'h52, 8'h53, 8'h54);
            cmd_load_reset_code();
        end


        $display("***************************************************");
        $display("* AFULL Throttled Loading");
        $display("***************************************************");


        repeat(5) begin

            $display("Waiting for AFULL = 0");
            while (fifo_afull == 1'b1)
                #10000;

            $display("Waiting for AFULL = 1");
            while (fifo_afull == 1'b0) begin
                cmd_load_wrgb(8'h01, 8'h02, 8'h03, 8'h04);
                cmd_load_wrgb(8'h11, 8'h12, 8'h13, 8'h14);
                cmd_load_wrgb(8'h21, 8'h22, 8'h23, 8'h24);
                cmd_load_wrgb(8'h31, 8'h32, 8'h33, 8'h34);
                cmd_load_wrgb(8'h41, 8'h42, 8'h43, 8'h44);
                cmd_load_wrgb(8'h51, 8'h52, 8'h53, 8'h54);
                cmd_load_wrgb(8'h51, 8'h52, 8'h53, 8'h54);
                cmd_load_reset_code();
            end
        end

        $display("Waiting for AEMPTY = 1");
        while (fifo_aempty == 1'b0)
            #10000;

        #500000;

        $display("***************************************************");
        $display("* Test Complete");
        $display("***************************************************");
        $stop();
    end

endmodule
module tb_top;


    `include "tb_common.v"




    initial begin

        #2000;

        $display("***************************************************");
        $display("* Test Started");
        $display("***************************************************");


        cmd_protocol();


        cmd_revision();




        cmd_reg_write(8'h03, 8'h00);


        cmd_reg_write(8'h04, 8'h20);


        cmd_reg_write(8'h05, 8'h00);


        cmd_reg_write(8'h06, 8'h01);




        cmd_reg_verify(8'h03, 8'h00);


        cmd_reg_verify(8'h04, 8'h20);


        cmd_reg_verify(8'h05, 8'h00);


        cmd_reg_verify(8'h06, 8'h01);






        $display("***************************************************");
        $display("* Full Rate Loading");
        $display("***************************************************");

        while (fifo_afull == 1'b0) begin
            cmd_load_wrgb(8'h01, 8'h02, 8'h03, 8'h04);
            cmd_load_wrgb(8'h11, 8'h12, 8'h13, 8'h14);
            cmd_load_wrgb(8'h21, 8'h22, 8'h23, 8'h24);
            cmd_load_wrgb(8'h31, 8'h32, 8'h33, 8'h34);
            cmd_load_wrgb(8'h41, 8'h42, 8'h43, 8'h44);
            cmd_load_wrgb(8'h51, 8'h52, 8'h53, 8'h54);
            cmd_load_wrgb(8'h51, 8'h52, 8'h53, 8'h54);
            cmd_load_reset_code();
        end


        $display("***************************************************");
        $display("* AFULL Throttled Loading");
        $display("***************************************************");


        repeat(5) begin

            $display("Waiting for AFULL = 0");
            while (fifo_afull == 1'b1)
                #10000;

            $display("Waiting for AFULL = 1");
            while (fifo_afull == 1'b0) begin
                cmd_load_wrgb(8'h01, 8'h02, 8'h03, 8'h04);
                cmd_load_wrgb(8'h11, 8'h12, 8'h13, 8'h14);
                cmd_load_wrgb(8'h21, 8'h22, 8'h23, 8'h24);
                cmd_load_wrgb(8'h31, 8'h32, 8'h33, 8'h34);
                cmd_load_wrgb(8'h41, 8'h42, 8'h43, 8'h44);
                cmd_load_wrgb(8'h51, 8'h52, 8'h53, 8'h54);
                cmd_load_wrgb(8'h51, 8'h52, 8'h53, 8'h54);
                cmd_load_reset_code();
            end
        end

        $display("Waiting for AEMPTY = 1");
        while (fifo_aempty == 1'b0)
            #10000;

        #500000;

        $display("***************************************************");
        $display("* Test Complete");
        $display("***************************************************");
        $stop();
    end

endmodule