data/full_repos/permissive/428601773/tb/tb_decoder.v
1: b'%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:2: Cannot find include file: defines.v\n`include "defines.v" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/428601773/tb,data/full_repos/permissive/428601773/defines.v\n             data/full_repos/permissive/428601773/tb,data/full_repos/permissive/428601773/defines.v.v\n             data/full_repos/permissive/428601773/tb,data/full_repos/permissive/428601773/defines.v.sv\n             defines.v\n             defines.v.v\n             defines.v.sv\n             obj_dir/defines.v\n             obj_dir/defines.v.v\n             obj_dir/defines.v.sv\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:12: Define or directive not defined: \'`ALU_OP_WIDTH\'\n  wire  [`ALU_OP_WIDTH-1:0]  operation;\n         ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:24: Define or directive not defined: \'`ALU_OP_WIDTH\'\n  reg  [`ALU_OP_WIDTH-1:0]   copyOperation;\n        ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:132: Define or directive not defined: \'`ALU_ADD\'\n        copyOperation = `ALU_ADD;\n                        ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:132: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n        copyOperation = `ALU_ADD;\n                                ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:137: Define or directive not defined: \'`OPCODE_OPERATION_IMM\'\n      `OPCODE_OPERATION_IMM: begin\n      ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:137: syntax error, unexpected begin, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER or new\n      `OPCODE_OPERATION_IMM: begin\n                             ^~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:139: Define or directive not defined: \'`ALU_ADD\'\n          {7\'h??, 3\'h0}: copyOperation = `ALU_ADD;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:140: syntax error, unexpected \':\'\n          {7\'h00, 3\'h1}: copyOperation = `ALU_SLL;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:140: Define or directive not defined: \'`ALU_SLL\'\n          {7\'h00, 3\'h1}: copyOperation = `ALU_SLL;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:141: syntax error, unexpected \':\'\n          {7\'h??, 3\'h2}: copyOperation = `ALU_SLTS;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:141: Define or directive not defined: \'`ALU_SLTS\'\n          {7\'h??, 3\'h2}: copyOperation = `ALU_SLTS;\n                                         ^~~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:142: syntax error, unexpected \':\'\n          {7\'h??, 3\'h3}: copyOperation = `ALU_SLTU;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:142: Define or directive not defined: \'`ALU_SLTU\'\n          {7\'h??, 3\'h3}: copyOperation = `ALU_SLTU;\n                                         ^~~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:143: syntax error, unexpected \':\'\n          {7\'h??, 3\'h4}: copyOperation = `ALU_XOR;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:143: Define or directive not defined: \'`ALU_XOR\'\n          {7\'h??, 3\'h4}: copyOperation = `ALU_XOR;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:144: syntax error, unexpected \':\'\n          {7\'h00, 3\'h5}: copyOperation = `ALU_SRL;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:144: Define or directive not defined: \'`ALU_SRL\'\n          {7\'h00, 3\'h5}: copyOperation = `ALU_SRL;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:145: syntax error, unexpected \':\'\n          {7\'h20, 3\'h5}: copyOperation = `ALU_SRA;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:145: Define or directive not defined: \'`ALU_SRA\'\n          {7\'h20, 3\'h5}: copyOperation = `ALU_SRA;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:146: syntax error, unexpected \':\'\n          {7\'h??, 3\'h6}: copyOperation = `ALU_OR;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:146: Define or directive not defined: \'`ALU_OR\'\n          {7\'h??, 3\'h6}: copyOperation = `ALU_OR;\n                                         ^~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:147: syntax error, unexpected \':\'\n          {7\'h??, 3\'h7}: copyOperation = `ALU_AND;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:147: Define or directive not defined: \'`ALU_AND\'\n          {7\'h??, 3\'h7}: copyOperation = `ALU_AND;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:152: Define or directive not defined: \'`OPCODE_OPERATION_REG\'\n      `OPCODE_OPERATION_REG: begin\n      ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:154: Define or directive not defined: \'`ALU_ADD\'\n          {7\'h00, 3\'h0}: copyOperation = `ALU_ADD;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:155: syntax error, unexpected \':\'\n          {7\'h20, 3\'h0}: copyOperation = `ALU_SUB;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:155: Define or directive not defined: \'`ALU_SUB\'\n          {7\'h20, 3\'h0}: copyOperation = `ALU_SUB;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:156: syntax error, unexpected \':\'\n          {7\'h00, 3\'h1}: copyOperation = `ALU_SLL;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:156: Define or directive not defined: \'`ALU_SLL\'\n          {7\'h00, 3\'h1}: copyOperation = `ALU_SLL;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:157: syntax error, unexpected \':\'\n          {7\'h00, 3\'h2}: copyOperation = `ALU_SLTS;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:157: Define or directive not defined: \'`ALU_SLTS\'\n          {7\'h00, 3\'h2}: copyOperation = `ALU_SLTS;\n                                         ^~~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:158: syntax error, unexpected \':\'\n          {7\'h00, 3\'h3}: copyOperation = `ALU_SLTU;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:158: Define or directive not defined: \'`ALU_SLTU\'\n          {7\'h00, 3\'h3}: copyOperation = `ALU_SLTU;\n                                         ^~~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:159: syntax error, unexpected \':\'\n          {7\'h00, 3\'h4}: copyOperation = `ALU_XOR;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:159: Define or directive not defined: \'`ALU_XOR\'\n          {7\'h00, 3\'h4}: copyOperation = `ALU_XOR;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:160: syntax error, unexpected \':\'\n          {7\'h00, 3\'h5}: copyOperation = `ALU_SRL;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:160: Define or directive not defined: \'`ALU_SRL\'\n          {7\'h00, 3\'h5}: copyOperation = `ALU_SRL;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:161: syntax error, unexpected \':\'\n          {7\'h20, 3\'h5}: copyOperation = `ALU_SRA;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:161: Define or directive not defined: \'`ALU_SRA\'\n          {7\'h20, 3\'h5}: copyOperation = `ALU_SRA;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:162: syntax error, unexpected \':\'\n          {7\'h00, 3\'h6}: copyOperation = `ALU_OR;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:162: Define or directive not defined: \'`ALU_OR\'\n          {7\'h00, 3\'h6}: copyOperation = `ALU_OR;\n                                         ^~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:163: syntax error, unexpected \':\'\n          {7\'h00, 3\'h7}: copyOperation = `ALU_AND;\n                       ^\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:163: Define or directive not defined: \'`ALU_AND\'\n          {7\'h00, 3\'h7}: copyOperation = `ALU_AND;\n                                         ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:170: Define or directive not defined: \'`OPCODE_IMM_U_LOAD\'\n      `OPCODE_IMM_U_LOAD: begin\n      ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:173: Define or directive not defined: \'`ALU_ADD\'\n            `ALU_ADD,\n            ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:174: Define or directive not defined: \'`ALU_OR\'\n            `ALU_OR,\n            ^~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:175: Define or directive not defined: \'`ALU_XOR\'\n            `ALU_XOR:\n            ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:177: Define or directive not defined: \'`ALU_ADD\'\n            default: copyOperation = `ALU_ADD;\n                                     ^~~~~~~~\n%Error: data/full_repos/permissive/428601773/tb/tb_decoder.v:182: Define or directive not defined: \'`OPCODE_BRANCH\'\n      `OPCODE_BRANCH: begin\n      ^~~~~~~~~~~~~~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
function comp;
    input [31:0] firstValue, secondValue;
    if (firstValue === secondValue)
      comp = 1'b0;
    else begin
      comp = 1'b1;
      numErrors = numErrors + 1;
    end
  endfunction
function comp;

    input [31:0] firstValue, secondValue;
    if (firstValue === secondValue)
      comp = 1'b0;
    else begin
      comp = 1'b1;
      numErrors = numErrors + 1;
    end
  endfunction