data/full_repos/permissive/175393019/rtl/xdict.v
1: b'%Error: data/full_repos/permissive/175393019/rtl/xdict.v:6: Cannot find include file: xdefs.vh\n`include "xdefs.vh" \n         ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/175393019/rtl,data/full_repos/permissive/175393019/xdefs.vh\n             data/full_repos/permissive/175393019/rtl,data/full_repos/permissive/175393019/xdefs.vh.v\n             data/full_repos/permissive/175393019/rtl,data/full_repos/permissive/175393019/xdefs.vh.sv\n             xdefs.vh\n             xdefs.vh.v\n             xdefs.vh.sv\n             obj_dir/xdefs.vh\n             obj_dir/xdefs.vh.v\n             obj_dir/xdefs.vh.sv\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:7: Cannot find include file: xctrldefs.vh\n`include "xctrldefs.vh" \n         ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:8: Cannot find include file: xregfdefs.vh\n`include "xregfdefs.vh" \n         ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:9: Cannot find include file: xprogdefs.vh\n`include "xprogdefs.vh" \n         ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:26: Define or directive not defined: \'`IMM_W\'\n      $fwrite(fp, "\\"IMM_W\\":%d,\\n", `IMM_W);\n                                     ^~~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:26: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"IMM_W\\":%d,\\n", `IMM_W);\n                                           ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:29: Define or directive not defined: \'`DELAY_SLOTS\'\n      $fwrite(fp, "\\"DELAY_SLOTS\\":%d,\\n", `DELAY_SLOTS);\n                                           ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:29: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"DELAY_SLOTS\\":%d,\\n", `DELAY_SLOTS);\n                                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:32: Define or directive not defined: \'`SHFT\'\n      $fwrite(fp, "\\"shft\\":%d,\\n", `SHFT);\n                                    ^~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:32: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"shft\\":%d,\\n", `SHFT);\n                                         ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:33: Define or directive not defined: \'`ADD\'\n      $fwrite(fp, "\\"add\\":%d,\\n", `ADD);\n                                   ^~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:33: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"add\\":%d,\\n", `ADD);\n                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:34: Define or directive not defined: \'`ADDI\'\n      $fwrite(fp, "\\"addi\\":%d,\\n", `ADDI);\n                                    ^~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:34: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"addi\\":%d,\\n", `ADDI);\n                                         ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:35: Define or directive not defined: \'`SUB\'\n      $fwrite(fp, "\\"sub\\":%d,\\n", `SUB);\n                                   ^~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:35: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"sub\\":%d,\\n", `SUB);\n                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:36: Define or directive not defined: \'`AND\'\n      $fwrite(fp, "\\"and\\":%d,\\n", `AND);\n                                   ^~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:36: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"and\\":%d,\\n", `AND);\n                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:37: Define or directive not defined: \'`XOR\'\n      $fwrite(fp, "\\"xor\\":%d,\\n", `XOR);\n                                   ^~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:37: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"xor\\":%d,\\n", `XOR);\n                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:38: Define or directive not defined: \'`LDI\'\n      $fwrite(fp, "\\"ldi\\":%d,\\n", `LDI);\n                                   ^~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:38: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"ldi\\":%d,\\n", `LDI);\n                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:39: Define or directive not defined: \'`LDIH\'\n      $fwrite(fp, "\\"ldih\\":%d,\\n", `LDIH);\n                                    ^~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:39: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"ldih\\":%d,\\n", `LDIH);\n                                         ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:40: Define or directive not defined: \'`RDW\'\n      $fwrite(fp, "\\"rdw\\":%d,\\n", `RDW);\n                                   ^~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:40: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"rdw\\":%d,\\n", `RDW);\n                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:41: Define or directive not defined: \'`WRW\'\n      $fwrite(fp, "\\"wrw\\":%d,\\n", `WRW);\n                                   ^~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:41: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"wrw\\":%d,\\n", `WRW);\n                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:42: Define or directive not defined: \'`RDWB\'\n      $fwrite(fp, "\\"rdwb\\":%d,\\n", `RDWB);\n                                    ^~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:42: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"rdwb\\":%d,\\n", `RDWB);\n                                         ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:43: Define or directive not defined: \'`WRWB\'\n      $fwrite(fp, "\\"wrwb\\":%d,\\n", `WRWB);\n                                    ^~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:43: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"wrwb\\":%d,\\n", `WRWB);\n                                         ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:44: Define or directive not defined: \'`BEQI\'\n      $fwrite(fp, "\\"beqi\\":%d,\\n", `BEQI);\n                                    ^~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:44: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"beqi\\":%d,\\n", `BEQI);\n                                         ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:45: Define or directive not defined: \'`BEQ\'\n      $fwrite(fp, "\\"beq\\":%d,\\n", `BEQ);\n                                   ^~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:45: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"beq\\":%d,\\n", `BEQ);\n                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:46: Define or directive not defined: \'`BNEQI\'\n      $fwrite(fp, "\\"bneqi\\":%d,\\n", `BNEQI);\n                                     ^~~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:46: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"bneqi\\":%d,\\n", `BNEQI);\n                                           ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:47: Define or directive not defined: \'`BNEQ\'\n      $fwrite(fp, "\\"bneq\\":%d,\\n", `BNEQ);\n                                    ^~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:47: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"bneq\\":%d,\\n", `BNEQ);\n                                         ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:50: Define or directive not defined: \'`ADDI\'\n      $fwrite(fp, "\\"nop\\":%d,\\n", `ADDI);\n                                   ^~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:50: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"nop\\":%d,\\n", `ADDI);\n                                        ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:51: Define or directive not defined: \'`WRW\'\n      $fwrite(fp, "\\"wrc\\":%d,\\n", `WRW);\n                                   ^~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:51: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"wrc\\":%d,\\n", `WRW);\n                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:58: Define or directive not defined: \'`INSTR_W\'\n      $fwrite(fp, "\\"INSTR_W\\":%d,\\n", `INSTR_W);\n                                       ^~~~~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:58: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"INSTR_W\\":%d,\\n", `INSTR_W);\n                                               ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:59: Define or directive not defined: \'`PROG_ADDR_W\'\n      $fwrite(fp, "\\"PROG_ADDR_W\\":%d,\\n", `PROG_ADDR_W);\n                                           ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:59: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"PROG_ADDR_W\\":%d,\\n", `PROG_ADDR_W);\n                                                       ^\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:69: Define or directive not defined: \'`RB\'\n      $fwrite(fp, "\\"RB\\":%d,\\n", `RB);\n                                  ^~~\n%Error: data/full_repos/permissive/175393019/rtl/xdict.v:69: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n      $fwrite(fp, "\\"RB\\":%d,\\n", `RB);\n                                     ^\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
module xdict;

   integer fp, i;

   initial begin

      fp = $fopen("xdict.txt","w");

      $fwrite(fp,"{\n");




      

      $fwrite(fp, "\"IMM_W\":%d,\n", `IMM_W);
  

      $fwrite(fp, "\"DELAY_SLOTS\":%d,\n", `DELAY_SLOTS);


      $fwrite(fp, "\"shft\":%d,\n", `SHFT);
      $fwrite(fp, "\"add\":%d,\n", `ADD);
      $fwrite(fp, "\"addi\":%d,\n", `ADDI);
      $fwrite(fp, "\"sub\":%d,\n", `SUB);
      $fwrite(fp, "\"and\":%d,\n", `AND);
      $fwrite(fp, "\"xor\":%d,\n", `XOR);
      $fwrite(fp, "\"ldi\":%d,\n", `LDI);
      $fwrite(fp, "\"ldih\":%d,\n", `LDIH);
      $fwrite(fp, "\"rdw\":%d,\n", `RDW);
      $fwrite(fp, "\"wrw\":%d,\n", `WRW);
      $fwrite(fp, "\"rdwb\":%d,\n", `RDWB);
      $fwrite(fp, "\"wrwb\":%d,\n", `WRWB);
      $fwrite(fp, "\"beqi\":%d,\n", `BEQI);
      $fwrite(fp, "\"beq\":%d,\n", `BEQ);
      $fwrite(fp, "\"bneqi\":%d,\n", `BNEQI);
      $fwrite(fp, "\"bneq\":%d,\n", `BNEQ);


      $fwrite(fp, "\"nop\":%d,\n", `ADDI);
      $fwrite(fp, "\"wrc\":%d,\n", `WRW);

      



          
      $fwrite(fp, "\"INSTR_W\":%d,\n", `INSTR_W);
      $fwrite(fp, "\"PROG_ADDR_W\":%d,\n", `PROG_ADDR_W);

  







      $fwrite(fp, "\"RB\":%d,\n", `RB);
      $fwrite(fp, "\"RC\":%d,\n", `RC);
      
      

      $fwrite(fp, "\"R0\":%d,\n", `R0);
      $fwrite(fp, "\"R1\":%d,\n", `R1);
      $fwrite(fp, "\"R2\":%d,\n", `R2);
      $fwrite(fp, "\"R3\":%d,\n", `R3);
      $fwrite(fp, "\"R4\":%d,\n", `R4);
      $fwrite(fp, "\"R5\":%d,\n", `R5);
      $fwrite(fp, "\"R6\":%d,\n", `R6);
      $fwrite(fp, "\"R7\":%d,\n", `R7);
      $fwrite(fp, "\"R8\":%d,\n", `R8);
      $fwrite(fp, "\"R9\":%d,\n", `R9);
      $fwrite(fp, "\"R10\":%d,\n", `R10);
      $fwrite(fp, "\"R11\":%d,\n", `R11);
      $fwrite(fp, "\"R12\":%d,\n", `R12);
      $fwrite(fp, "\"R13\":%d,\n", `R13);
      $fwrite(fp, "\"R14\":%d,\n", `R14);
      $fwrite(fp, "\"R15\":%d,\n", `R15);


      $fwrite(fp, "\"PROG_ROM\":%d,\n", `PROG_ROM);
      $fwrite(fp, "\"PROG_ROM_ADDR_W\":%d,\n", `PROG_ROM_ADDR_W);
      $fwrite(fp, "\"PROG_RAM\":%d,\n", `PROG_RAM);
      $fwrite(fp, "\"PROG_RAM_ADDR_W\":%d,\n", `PROG_RAM_ADDR_W);

      $fwrite(fp, "\"PROG_BASE\":%d,\n", `PROG_BASE); 


      $fwrite(fp, "\"CPRT_BASE\":%d,\n", `CPRT_BASE);
      $fwrite(fp, "\"PS2_BASE\":%d,\n", `PS2_BASE);
      $fwrite(fp, "\"DISPLAY_BASE\":%d,\n", `DISPLAY_BASE);
      $fwrite(fp, "\"LED_BASE\":%d,\n", `LED_BASE);
      $fwrite(fp, "\"SW_BASE\":%d,\n", `SW_BASE);


      $fwrite(fp,"}\n");
      $fclose(fp);

   end

endmodule
module xdict;


   integer fp, i;

   initial begin

      fp = $fopen("xdict.txt","w");

      $fwrite(fp,"{\n");




      

      $fwrite(fp, "\"IMM_W\":%d,\n", `IMM_W);
  

      $fwrite(fp, "\"DELAY_SLOTS\":%d,\n", `DELAY_SLOTS);


      $fwrite(fp, "\"shft\":%d,\n", `SHFT);
      $fwrite(fp, "\"add\":%d,\n", `ADD);
      $fwrite(fp, "\"addi\":%d,\n", `ADDI);
      $fwrite(fp, "\"sub\":%d,\n", `SUB);
      $fwrite(fp, "\"and\":%d,\n", `AND);
      $fwrite(fp, "\"xor\":%d,\n", `XOR);
      $fwrite(fp, "\"ldi\":%d,\n", `LDI);
      $fwrite(fp, "\"ldih\":%d,\n", `LDIH);
      $fwrite(fp, "\"rdw\":%d,\n", `RDW);
      $fwrite(fp, "\"wrw\":%d,\n", `WRW);
      $fwrite(fp, "\"rdwb\":%d,\n", `RDWB);
      $fwrite(fp, "\"wrwb\":%d,\n", `WRWB);
      $fwrite(fp, "\"beqi\":%d,\n", `BEQI);
      $fwrite(fp, "\"beq\":%d,\n", `BEQ);
      $fwrite(fp, "\"bneqi\":%d,\n", `BNEQI);
      $fwrite(fp, "\"bneq\":%d,\n", `BNEQ);


      $fwrite(fp, "\"nop\":%d,\n", `ADDI);
      $fwrite(fp, "\"wrc\":%d,\n", `WRW);

      



          
      $fwrite(fp, "\"INSTR_W\":%d,\n", `INSTR_W);
      $fwrite(fp, "\"PROG_ADDR_W\":%d,\n", `PROG_ADDR_W);

  







      $fwrite(fp, "\"RB\":%d,\n", `RB);
      $fwrite(fp, "\"RC\":%d,\n", `RC);
      
      

      $fwrite(fp, "\"R0\":%d,\n", `R0);
      $fwrite(fp, "\"R1\":%d,\n", `R1);
      $fwrite(fp, "\"R2\":%d,\n", `R2);
      $fwrite(fp, "\"R3\":%d,\n", `R3);
      $fwrite(fp, "\"R4\":%d,\n", `R4);
      $fwrite(fp, "\"R5\":%d,\n", `R5);
      $fwrite(fp, "\"R6\":%d,\n", `R6);
      $fwrite(fp, "\"R7\":%d,\n", `R7);
      $fwrite(fp, "\"R8\":%d,\n", `R8);
      $fwrite(fp, "\"R9\":%d,\n", `R9);
      $fwrite(fp, "\"R10\":%d,\n", `R10);
      $fwrite(fp, "\"R11\":%d,\n", `R11);
      $fwrite(fp, "\"R12\":%d,\n", `R12);
      $fwrite(fp, "\"R13\":%d,\n", `R13);
      $fwrite(fp, "\"R14\":%d,\n", `R14);
      $fwrite(fp, "\"R15\":%d,\n", `R15);


      $fwrite(fp, "\"PROG_ROM\":%d,\n", `PROG_ROM);
      $fwrite(fp, "\"PROG_ROM_ADDR_W\":%d,\n", `PROG_ROM_ADDR_W);
      $fwrite(fp, "\"PROG_RAM\":%d,\n", `PROG_RAM);
      $fwrite(fp, "\"PROG_RAM_ADDR_W\":%d,\n", `PROG_RAM_ADDR_W);

      $fwrite(fp, "\"PROG_BASE\":%d,\n", `PROG_BASE); 


      $fwrite(fp, "\"CPRT_BASE\":%d,\n", `CPRT_BASE);
      $fwrite(fp, "\"PS2_BASE\":%d,\n", `PS2_BASE);
      $fwrite(fp, "\"DISPLAY_BASE\":%d,\n", `DISPLAY_BASE);
      $fwrite(fp, "\"LED_BASE\":%d,\n", `LED_BASE);
      $fwrite(fp, "\"SW_BASE\":%d,\n", `SW_BASE);


      $fwrite(fp,"}\n");
      $fclose(fp);

   end

endmodule