data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v:45: Unsupported: Ignoring delay on this delayed statement.\n        #(T/2);\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v:47: Unsupported: Ignoring delay on this delayed statement.\n        #(T/2);\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v:61: Unsupported: Ignoring delay on this delayed statement.\n        #T;\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v:63: Unsupported: Ignoring delay on this delayed statement.\n        #T\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v:72: Unsupported: Ignoring delay on this delayed statement.\n        #(T*2);\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v:74: Unsupported: Ignoring delay on this delayed statement.\n        #(T*2);\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v:77: Unsupported: Ignoring delay on this delayed statement.\n        #(T*2);\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v:84: Unsupported: Ignoring delay on this delayed statement.\n        #(T*2);\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v:87: Unsupported: Ignoring delay on this delayed statement.\n        #(T*2);\n        ^\n%Error: data/full_repos/permissive/133245813/axis_multiplier/axis_multiplier_tb.v:24: Cannot find file containing module: \'axis_multiplier\'\n    axis_multiplier dut\n    ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/133245813/axis_multiplier,data/full_repos/permissive/133245813/axis_multiplier\n             data/full_repos/permissive/133245813/axis_multiplier,data/full_repos/permissive/133245813/axis_multiplier.v\n             data/full_repos/permissive/133245813/axis_multiplier,data/full_repos/permissive/133245813/axis_multiplier.sv\n             axis_multiplier\n             axis_multiplier.v\n             axis_multiplier.sv\n             obj_dir/axis_multiplier\n             obj_dir/axis_multiplier.v\n             obj_dir/axis_multiplier.sv\n%Error: Exiting due to 1 error(s), 9 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module axis_multiplier_tb();
    localparam T = 10;
    
    reg aclk;
    reg aresetn;
    wire s_axis_tready;
    reg [31:0] s_axis_tdata;
    reg s_axis_tvalid;
    reg s_axis_tlast;
    reg m_axis_tready;
    wire [31:0] m_axis_tdata;
    wire m_axis_tvalid;
    wire m_axis_tlast;
    reg en;
    reg [7:0] mult_const;
    wire [31:0] word_count;
    wire [31:0] frame_count;

    axis_multiplier dut
    (
        .aclk(aclk),
        .aresetn(aresetn),
        .s_axis_tready(s_axis_tready),
        .s_axis_tdata(s_axis_tdata),
        .s_axis_tvalid(s_axis_tvalid),
        .s_axis_tlast(s_axis_tlast),
        .m_axis_tready(m_axis_tready),
        .m_axis_tdata(m_axis_tdata),
        .m_axis_tvalid(m_axis_tvalid),
        .m_axis_tlast(m_axis_tlast),
        .en(en),
        .mult_const(mult_const),
        .word_count(word_count),
        .frame_count(frame_count)
    );
    
    always
    begin
        aclk = 0;
        #(T/2);
        aclk = 1;
        #(T/2);
    end

    initial
    begin
        s_axis_tdata = 0;
        s_axis_tvalid = 0;
        s_axis_tlast = 0;
        m_axis_tready = 1;
        en = 0;
        mult_const = 0;
        

        aresetn = 0;
        #T;
        aresetn = 1;
        #T
        

        en = 1;
        mult_const = 5;
        

        s_axis_tvalid = 1;
        s_axis_tdata = 1;
        #(T*2);
        s_axis_tdata = 2;
        #(T*2);
        s_axis_tdata = 3;
        s_axis_tlast = 1;
        #(T*2);
        s_axis_tvalid = 0;
        s_axis_tlast = 0;
        

        s_axis_tvalid = 1;
        s_axis_tdata = 4;
        #(T*2);
        s_axis_tdata = 5;
        s_axis_tlast = 1;
        #(T*2);
        s_axis_tvalid = 0;
        s_axis_tlast = 0;     
    end

endmodule
module axis_multiplier_tb();

    localparam T = 10;
    
    reg aclk;
    reg aresetn;
    wire s_axis_tready;
    reg [31:0] s_axis_tdata;
    reg s_axis_tvalid;
    reg s_axis_tlast;
    reg m_axis_tready;
    wire [31:0] m_axis_tdata;
    wire m_axis_tvalid;
    wire m_axis_tlast;
    reg en;
    reg [7:0] mult_const;
    wire [31:0] word_count;
    wire [31:0] frame_count;

    axis_multiplier dut
    (
        .aclk(aclk),
        .aresetn(aresetn),
        .s_axis_tready(s_axis_tready),
        .s_axis_tdata(s_axis_tdata),
        .s_axis_tvalid(s_axis_tvalid),
        .s_axis_tlast(s_axis_tlast),
        .m_axis_tready(m_axis_tready),
        .m_axis_tdata(m_axis_tdata),
        .m_axis_tvalid(m_axis_tvalid),
        .m_axis_tlast(m_axis_tlast),
        .en(en),
        .mult_const(mult_const),
        .word_count(word_count),
        .frame_count(frame_count)
    );
    
    always
    begin
        aclk = 0;
        #(T/2);
        aclk = 1;
        #(T/2);
    end

    initial
    begin
        s_axis_tdata = 0;
        s_axis_tvalid = 0;
        s_axis_tlast = 0;
        m_axis_tready = 1;
        en = 0;
        mult_const = 0;
        

        aresetn = 0;
        #T;
        aresetn = 1;
        #T
        

        en = 1;
        mult_const = 5;
        

        s_axis_tvalid = 1;
        s_axis_tdata = 1;
        #(T*2);
        s_axis_tdata = 2;
        #(T*2);
        s_axis_tdata = 3;
        s_axis_tlast = 1;
        #(T*2);
        s_axis_tvalid = 0;
        s_axis_tlast = 0;
        

        s_axis_tvalid = 1;
        s_axis_tdata = 4;
        #(T*2);
        s_axis_tdata = 5;
        s_axis_tlast = 1;
        #(T*2);
        s_axis_tvalid = 0;
        s_axis_tlast = 0;     
    end

endmodule