data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v
1: b'%Error: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:16: Unsupported: wait statements\n        wait ( rdy == 1\'b1 )\n        ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:21: Unsupported: Ignoring delay on this delayed statement.\n        #30\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:24: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:27: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:30: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:33: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:36: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:39: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:42: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:45: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:48: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:51: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Error: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:58: Unsupported or unknown PLI call: $monitor\n        $monitor($time, ", clock = %b, rst = %b, d_in = %h, d_out = %h", \n        ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:66: Unsupported: Ignoring delay on this delayed statement.\n        #20 rst = 1\'b0;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/49670587/full-fpga-testing/custom_ms/wide_inv_reg/wide_inv_reg_fpga_tb.v:71: Unsupported: Ignoring delay on this delayed statement.\n        #10 clock = ~clock;\n        ^\n%Error: Exiting due to 2 error(s), 13 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module wide_inv_reg_tb();

    reg clock, rst;
    reg [31:0] d_in; 
    wire [31:0] d_out;
    wire rdy;

    initial
    begin
        $display($time, " << Starting the Simulation >>");
        
        d_in = 32'b0;

        wait ( rdy == 1'b1 )
            begin
                d_in = 32'b0;
            end

        #30
        d_in = 32'hffffffff;

        #20
        d_in = 32'hffff0000;

        #20
        d_in = 32'h0000ffff;

        #20
        d_in = 32'h55555555;

        #20
        d_in = 32'haaaaaaaa;

        #20
        d_in = 32'h11111111;

        #20
        d_in = 32'h22222222;

        #20
        d_in = 32'h44444444;

        #20
        d_in = 32'h88888888;

        #20
        d_in = 32'h00000000;

        #20
        $display($time, " << Simulation Complete >>");
        $finish;
    end

    initial
    begin
        $monitor($time, ", clock = %b, rst = %b, d_in = %h, d_out = %h", 
                         clock,      rst,      d_in,      d_out);
    end

    initial
    begin
        clock = 1'b1;
        rst = 1'b1;
        #20 rst = 1'b0;
    end

    always
    begin
        #10 clock = ~clock;
    end


    wide_inv_reg dut ( .d_in(d_in),
                     .d_out(d_out),
                     .clock(clock),
                     .rst(rst),
                     .rdy(rdy)
                   );

endmodule
module wide_inv_reg_tb();


    reg clock, rst;
    reg [31:0] d_in; 
    wire [31:0] d_out;
    wire rdy;

    initial
    begin
        $display($time, " << Starting the Simulation >>");
        
        d_in = 32'b0;

        wait ( rdy == 1'b1 )
            begin
                d_in = 32'b0;
            end

        #30
        d_in = 32'hffffffff;

        #20
        d_in = 32'hffff0000;

        #20
        d_in = 32'h0000ffff;

        #20
        d_in = 32'h55555555;

        #20
        d_in = 32'haaaaaaaa;

        #20
        d_in = 32'h11111111;

        #20
        d_in = 32'h22222222;

        #20
        d_in = 32'h44444444;

        #20
        d_in = 32'h88888888;

        #20
        d_in = 32'h00000000;

        #20
        $display($time, " << Simulation Complete >>");
        $finish;
    end

    initial
    begin
        $monitor($time, ", clock = %b, rst = %b, d_in = %h, d_out = %h", 
                         clock,      rst,      d_in,      d_out);
    end

    initial
    begin
        clock = 1'b1;
        rst = 1'b1;
        #20 rst = 1'b0;
    end

    always
    begin
        #10 clock = ~clock;
    end


    wide_inv_reg dut ( .d_in(d_in),
                     .d_out(d_out),
                     .clock(clock),
                     .rst(rst),
                     .rdy(rdy)
                   );

endmodule