data/full_repos/permissive/121592400/tb_reward.v
 line:84: before: "memory"
1: b'%Error: data/full_repos/permissive/121592400/tb_reward.v:25: Cannot find include file: memory.v\n`include "memory.v" \n         ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/121592400,data/full_repos/permissive/121592400/memory.v\n             data/full_repos/permissive/121592400,data/full_repos/permissive/121592400/memory.v.v\n             data/full_repos/permissive/121592400,data/full_repos/permissive/121592400/memory.v.sv\n             memory.v\n             memory.v.v\n             memory.v.sv\n             obj_dir/memory.v\n             obj_dir/memory.v.v\n             obj_dir/memory.v.sv\n%Error: data/full_repos/permissive/121592400/tb_reward.v:26: Cannot find include file: reward.v\n`include "reward.v" \n         ^~~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/121592400/tb_reward.v:51: Unsupported: Ignoring delay on this delayed statement.\n        #25 start_reward = 1;\n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/121592400/tb_reward.v:57: Unsupported: Ignoring delay on this delayed statement.\n        forever #10 clock = ~clock;\n                ^\n%Warning-STMTDLY: data/full_repos/permissive/121592400/tb_reward.v:64: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/121592400/tb_reward.v:66: Unsupported: Ignoring delay on this delayed statement.\n        #10 \n        ^\n%Warning-STMTDLY: data/full_repos/permissive/121592400/tb_reward.v:68: Unsupported: Ignoring delay on this delayed statement.\n        #55\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/121592400/tb_reward.v:70: Unsupported: Ignoring delay on this delayed statement.\n        #20\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/121592400/tb_reward.v:72: Unsupported: Ignoring delay on this delayed statement.\n        #180 \n        ^\n%Warning-STMTDLY: data/full_repos/permissive/121592400/tb_reward.v:74: Unsupported: Ignoring delay on this delayed statement.\n        #180\n        ^\n%Error: data/full_repos/permissive/121592400/tb_reward.v:79: Unsupported or unknown PLI call: $dumpfile\n        $dumpfile("tb_reward.vcd");\n        ^~~~~~~~~\n%Error: data/full_repos/permissive/121592400/tb_reward.v:80: Unsupported or unknown PLI call: $dumpvars\n        $dumpvars(0, tb_reward);\n        ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/121592400/tb_reward.v:81: Unsupported: Ignoring delay on this delayed statement.\n        #400\n        ^\n%Error: Exiting due to 4 error(s), 9 warning(s)\n'
module tb_reward();
    reg clock, nreset;


    wire [`WORD_WIDTH-1:0] address, mem_data_in;
    wire [`WORD_WIDTH-1:0] mem_data_out;
    reg wr_en;
    mem m2 (clock, address, wr_en, mem_data_in, mem_data_out);


    reg start_reward, en;
    reg [`WORD_WIDTH-1:0] MY_NODE_ID, MY_CLUSTER_ID, _action, _besthop;
    wire [`WORD_WIDTH-1:0] reward_data_out;
    wire done_reward;
    reward r2 (clock, nreset, en, start_reward, MY_NODE_ID, MY_CLUSTER_ID, _action, _besthop, address, mem_data_out, reward_data_out, done_reward);


    initial begin
        MY_NODE_ID = 1;
        MY_CLUSTER_ID = 5;
        _action = 3;
        _besthop = 4; 

        #25 start_reward = 1;
    end


    initial begin
        clock = 0;
        forever #10 clock = ~clock;
    end


    initial begin
        nreset = 1;
        en = 0;
        #10
        nreset = 0;
        #10 
        nreset = 1;
        #55
        en = 1;
        #20
        en = 0;
        #180 
        en = 1;
        #180
        en = 0;
    end

    initial begin
        $dumpfile("tb_reward.vcd");
        $dumpvars(0, tb_reward);
        #400
        $finish; 
    end

endmodule
module tb_reward();

    reg clock, nreset;


    wire [`WORD_WIDTH-1:0] address, mem_data_in;
    wire [`WORD_WIDTH-1:0] mem_data_out;
    reg wr_en;
    mem m2 (clock, address, wr_en, mem_data_in, mem_data_out);


    reg start_reward, en;
    reg [`WORD_WIDTH-1:0] MY_NODE_ID, MY_CLUSTER_ID, _action, _besthop;
    wire [`WORD_WIDTH-1:0] reward_data_out;
    wire done_reward;
    reward r2 (clock, nreset, en, start_reward, MY_NODE_ID, MY_CLUSTER_ID, _action, _besthop, address, mem_data_out, reward_data_out, done_reward);


    initial begin
        MY_NODE_ID = 1;
        MY_CLUSTER_ID = 5;
        _action = 3;
        _besthop = 4; 

        #25 start_reward = 1;
    end


    initial begin
        clock = 0;
        forever #10 clock = ~clock;
    end


    initial begin
        nreset = 1;
        en = 0;
        #10
        nreset = 0;
        #10 
        nreset = 1;
        #55
        en = 1;
        #20
        en = 0;
        #180 
        en = 1;
        #180
        en = 0;
    end

    initial begin
        $dumpfile("tb_reward.vcd");
        $dumpvars(0, tb_reward);
        #400
        $finish; 
    end

endmodule