data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v
1: b'%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:45: Cannot find include file: openMSP430_defines.v\n`include "openMSP430_defines.v" \n         ^~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/152581089/Verilog/MSP430,data/full_repos/permissive/152581089/openMSP430_defines.v\n             data/full_repos/permissive/152581089/Verilog/MSP430,data/full_repos/permissive/152581089/openMSP430_defines.v.v\n             data/full_repos/permissive/152581089/Verilog/MSP430,data/full_repos/permissive/152581089/openMSP430_defines.v.sv\n             openMSP430_defines.v\n             openMSP430_defines.v.v\n             openMSP430_defines.v.sv\n             obj_dir/openMSP430_defines.v\n             obj_dir/openMSP430_defines.v.v\n             obj_dir/openMSP430_defines.v.sv\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:987: Cannot find include file: openMSP430_undefines.v\n`include "openMSP430_undefines.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:117: Define or directive not defined: \'`IRQ_NR\'\noutput [`IRQ_NR-3:0] irq_acc;        \n        ^~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:134: Define or directive not defined: \'`IRQ_NR\'\ninput  [`IRQ_NR-3:0] irq;            \n        ^~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:199: Define or directive not defined: \'`I_IRQ_FETCH\'\nparameter I_IRQ_FETCH = `I_IRQ_FETCH;\n                        ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:199: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter I_IRQ_FETCH = `I_IRQ_FETCH;\n                                    ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:200: Define or directive not defined: \'`I_IRQ_DONE\'\nparameter I_IRQ_DONE  = `I_IRQ_DONE;\n                        ^~~~~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:200: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter I_IRQ_DONE  = `I_IRQ_DONE;\n                                   ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:201: Define or directive not defined: \'`I_DEC\'\nparameter I_DEC       = `I_DEC;         \n                        ^~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:201: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter I_DEC       = `I_DEC;         \n                              ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:202: Define or directive not defined: \'`I_EXT1\'\nparameter I_EXT1      = `I_EXT1;        \n                        ^~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:202: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter I_EXT1      = `I_EXT1;        \n                               ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:203: Define or directive not defined: \'`I_EXT2\'\nparameter I_EXT2      = `I_EXT2;        \n                        ^~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:203: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter I_EXT2      = `I_EXT2;        \n                               ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:204: Define or directive not defined: \'`I_IDLE\'\nparameter I_IDLE      = `I_IDLE;        \n                        ^~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:204: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter I_IDLE      = `I_IDLE;        \n                               ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:210: Define or directive not defined: \'`E_IRQ_0\'\nparameter E_IRQ_0     = `E_IRQ_0;\n                        ^~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:210: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_IRQ_0     = `E_IRQ_0;\n                                ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:211: Define or directive not defined: \'`E_IRQ_1\'\nparameter E_IRQ_1     = `E_IRQ_1;\n                        ^~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:211: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_IRQ_1     = `E_IRQ_1;\n                                ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:212: Define or directive not defined: \'`E_IRQ_2\'\nparameter E_IRQ_2     = `E_IRQ_2;\n                        ^~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:212: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_IRQ_2     = `E_IRQ_2;\n                                ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:213: Define or directive not defined: \'`E_IRQ_3\'\nparameter E_IRQ_3     = `E_IRQ_3;\n                        ^~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:213: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_IRQ_3     = `E_IRQ_3;\n                                ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:214: Define or directive not defined: \'`E_IRQ_4\'\nparameter E_IRQ_4     = `E_IRQ_4;\n                        ^~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:214: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_IRQ_4     = `E_IRQ_4;\n                                ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:215: Define or directive not defined: \'`E_SRC_AD\'\nparameter E_SRC_AD    = `E_SRC_AD;\n                        ^~~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:215: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_SRC_AD    = `E_SRC_AD;\n                                 ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:216: Define or directive not defined: \'`E_SRC_RD\'\nparameter E_SRC_RD    = `E_SRC_RD;\n                        ^~~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:216: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_SRC_RD    = `E_SRC_RD;\n                                 ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:217: Define or directive not defined: \'`E_SRC_WR\'\nparameter E_SRC_WR    = `E_SRC_WR;\n                        ^~~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:217: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_SRC_WR    = `E_SRC_WR;\n                                 ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:218: Define or directive not defined: \'`E_DST_AD\'\nparameter E_DST_AD    = `E_DST_AD;\n                        ^~~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:218: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_DST_AD    = `E_DST_AD;\n                                 ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:219: Define or directive not defined: \'`E_DST_RD\'\nparameter E_DST_RD    = `E_DST_RD;\n                        ^~~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:219: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_DST_RD    = `E_DST_RD;\n                                 ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:220: Define or directive not defined: \'`E_DST_WR\'\nparameter E_DST_WR    = `E_DST_WR;\n                        ^~~~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:220: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_DST_WR    = `E_DST_WR;\n                                 ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:221: Define or directive not defined: \'`E_EXEC\'\nparameter E_EXEC      = `E_EXEC;\n                        ^~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:221: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_EXEC      = `E_EXEC;\n                               ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:222: Define or directive not defined: \'`E_JUMP\'\nparameter E_JUMP      = `E_JUMP;\n                        ^~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:222: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_JUMP      = `E_JUMP;\n                               ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:223: Define or directive not defined: \'`E_IDLE\'\nparameter E_IDLE      = `E_IDLE;\n                        ^~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:223: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\nparameter E_IDLE      = `E_IDLE;\n                               ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:321: syntax error, unexpected \'{\'\n                          {1\'b0,    3\'h0, wdt_irq, {58{1\'b0}}};\n                          ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:339: Define or directive not defined: \'`IRQ_NR\'\nwire [`IRQ_NR-3:0] irq_acc     = irq_acc_all[61:64-`IRQ_NR];\n      ^~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:339: Define or directive not defined: \'`IRQ_NR\'\nwire [`IRQ_NR-3:0] irq_acc     = irq_acc_all[61:64-`IRQ_NR];\n                                                   ^~~~~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:339: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nwire [`IRQ_NR-3:0] irq_acc     = irq_acc_all[61:64-`IRQ_NR];\n                                                          ^\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:423: Define or directive not defined: \'`IDX\'\nwire is_sext = (inst_as[`IDX] | inst_as[`SYMB] | inst_as[`ABS] | inst_as[`IMM]);\n                        ^~~~\n%Error: data/full_repos/permissive/152581089/Verilog/MSP430/omsp_frontend.v:423: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nwire is_sext = (inst_as[`IDX] | inst_as[`SYMB] | inst_as[`ABS] | inst_as[`IMM]);\n                            ^\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
function [63:0] one_hot64;
   input  [5:0] binary;
   begin
      one_hot64         = 64'h0000_0000_0000_0000;
      one_hot64[binary] =  1'b1;
   end
endfunction
function [63:0] one_hot64;

   input  [5:0] binary;
   begin
      one_hot64         = 64'h0000_0000_0000_0000;
      one_hot64[binary] =  1'b1;
   end
endfunction