data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v
1: b'%Error: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:1: Cannot find include file: decoder.v\n`include "decoder.v" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/491934675/ECE251/decoder,data/full_repos/permissive/491934675/decoder.v\n             data/full_repos/permissive/491934675/ECE251/decoder,data/full_repos/permissive/491934675/decoder.v.v\n             data/full_repos/permissive/491934675/ECE251/decoder,data/full_repos/permissive/491934675/decoder.v.sv\n             decoder.v\n             decoder.v.v\n             decoder.v.sv\n             obj_dir/decoder.v\n             obj_dir/decoder.v.v\n             obj_dir/decoder.v.sv\n%Error: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:6: syntax error, unexpected rand, expecting IDENTIFIER or \'=\' or do or final\nreg [15:0] rand;\n           ^~~~\n%Error: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:8: syntax error, unexpected rand, expecting TYPE-IDENTIFIER\nassign instruction = rand;\n                     ^~~~\n%Error: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:19: syntax error, unexpected rand\n    rand = 0;\n    ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:20: Unsupported: Ignoring delay on this delayed statement.\n    #10;\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:21: syntax error, unexpected rand\n    rand = 1;\n    ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:22: Unsupported: Ignoring delay on this delayed statement.\n    #10;\n    ^\n%Error: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:23: syntax error, unexpected rand\n    rand = 15;\n    ^~~~\n%Error: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:27: Unsupported or unknown PLI call: $dumpfile\n    $dumpfile("decoder_tb.vcd");\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:28: Unsupported or unknown PLI call: $dumpvars\n    $dumpvars(0, opcode, opcode2, instruction, rand, constant);\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/491934675/ECE251/decoder/decoder_tb.v:28: syntax error, unexpected rand, expecting TYPE-IDENTIFIER\n    $dumpvars(0, opcode, opcode2, instruction, rand, constant);\n                                               ^~~~\n%Error: Exiting due to 9 error(s), 2 warning(s)\n'
module decoder_tb();

reg [15:0] rand;
wire [15:0] instruction;
assign instruction = rand;


wire [3:0] opcode;
wire [2:0] opcode2, shiftamt;
wire [1:0] Rm, Rs1, Rs2;
wire [7:0] constant;

decoder decodertest(instruction, opcode, opcode2, shiftamt, Rm, Rs1, Rs2, constant);

initial begin
    rand = 0;
    #10;
    rand = 1;
    #10;
    rand = 15;
end

initial begin
    $dumpfile("decoder_tb.vcd");
    $dumpvars(0, opcode, opcode2, instruction, rand, constant);

end
endmodule
module decoder_tb();


reg [15:0] rand;
wire [15:0] instruction;
assign instruction = rand;


wire [3:0] opcode;
wire [2:0] opcode2, shiftamt;
wire [1:0] Rm, Rs1, Rs2;
wire [7:0] constant;

decoder decodertest(instruction, opcode, opcode2, shiftamt, Rm, Rs1, Rs2, constant);

initial begin
    rand = 0;
    #10;
    rand = 1;
    #10;
    rand = 15;
end

initial begin
    $dumpfile("decoder_tb.vcd");
    $dumpvars(0, opcode, opcode2, instruction, rand, constant);

end
endmodule