data/full_repos/permissive/43339463/stage_decode.v
1: b'%Error: data/full_repos/permissive/43339463/stage_decode.v:1: Cannot find include file: defines.v\n`include "defines.v" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/43339463,data/full_repos/permissive/43339463/defines.v\n             data/full_repos/permissive/43339463,data/full_repos/permissive/43339463/defines.v.v\n             data/full_repos/permissive/43339463,data/full_repos/permissive/43339463/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/43339463/stage_decode.v:29: Define or directive not defined: \'`REG_R0\'\n   `REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1\'b1;\n   ^~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:29: syntax error, unexpected \',\', expecting endcase\n   `REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1\'b1;\n          ^\n%Error: data/full_repos/permissive/43339463/stage_decode.v:29: Define or directive not defined: \'`REG_R1\'\n   `REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1\'b1;\n            ^~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:29: Define or directive not defined: \'`REG_R2\'\n   `REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1\'b1;\n                     ^~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:29: Define or directive not defined: \'`REG_R3\'\n   `REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1\'b1;\n                              ^~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:29: Define or directive not defined: \'`REG_R4\'\n   `REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1\'b1;\n                                       ^~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:29: Define or directive not defined: \'`REG_R5\'\n   `REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1\'b1;\n                                                ^~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:29: Define or directive not defined: \'`REG_R6\'\n   `REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1\'b1;\n                                                         ^~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:29: Define or directive not defined: \'`REG_R7\'\n   `REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1\'b1;\n                                                                  ^~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:30: Define or directive not defined: \'`REG_RH0\'\n   `REG_RH0, `REG_RL0, `REG_RH1, `REG_RL1, `REG_RH2, `REG_RL2, `REG_RH3, `REG_RL3 : regsize = 1\'b0;\n   ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:30: Define or directive not defined: \'`REG_RL0\'\n   `REG_RH0, `REG_RL0, `REG_RH1, `REG_RL1, `REG_RH2, `REG_RL2, `REG_RH3, `REG_RL3 : regsize = 1\'b0;\n             ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:30: Define or directive not defined: \'`REG_RH1\'\n   `REG_RH0, `REG_RL0, `REG_RH1, `REG_RL1, `REG_RH2, `REG_RL2, `REG_RH3, `REG_RL3 : regsize = 1\'b0;\n                       ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:30: Define or directive not defined: \'`REG_RL1\'\n   `REG_RH0, `REG_RL0, `REG_RH1, `REG_RL1, `REG_RH2, `REG_RL2, `REG_RH3, `REG_RL3 : regsize = 1\'b0;\n                                 ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:30: Define or directive not defined: \'`REG_RH2\'\n   `REG_RH0, `REG_RL0, `REG_RH1, `REG_RL1, `REG_RH2, `REG_RL2, `REG_RH3, `REG_RL3 : regsize = 1\'b0;\n                                           ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:30: Define or directive not defined: \'`REG_RL2\'\n   `REG_RH0, `REG_RL0, `REG_RH1, `REG_RL1, `REG_RH2, `REG_RL2, `REG_RH3, `REG_RL3 : regsize = 1\'b0;\n                                                     ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:30: Define or directive not defined: \'`REG_RH3\'\n   `REG_RH0, `REG_RL0, `REG_RH1, `REG_RL1, `REG_RH2, `REG_RL2, `REG_RH3, `REG_RL3 : regsize = 1\'b0;\n                                                               ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:30: Define or directive not defined: \'`REG_RL3\'\n   `REG_RH0, `REG_RL0, `REG_RH1, `REG_RL1, `REG_RH2, `REG_RL2, `REG_RH3, `REG_RL3 : regsize = 1\'b0;\n                                                                         ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:71: Define or directive not defined: \'`CMDARG_1_RR\'\n    `CMDARG_1_RR : begin\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:71: syntax error, unexpected \':\', expecting endcase\n    `CMDARG_1_RR : begin\n                 ^\n%Error: data/full_repos/permissive/43339463/stage_decode.v:73: Define or directive not defined: \'`REG2BUS\'\n     bus_i_en_d[0] <= `REG2BUS(cmd_o[39:36]);\n                      ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:74: Define or directive not defined: \'`REG2BUS\'\n     bus_i_en_d[1] <= `REG2BUS(cmd_o[35:32]);\n                      ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:76: Define or directive not defined: \'`REG2BUS\'\n      bus_o_en_w[0] <= `REG2BUS(cmd_o[39:36]);\n                       ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:80: Define or directive not defined: \'`CMDARG_1_RM\'\n    `CMDARG_1_RM : begin\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:80: syntax error, unexpected begin, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER or new\n    `CMDARG_1_RM : begin\n                   ^~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:83: Define or directive not defined: \'`REG2BUS\'\n     bus_i_en_d[0] <= `REG2BUS(cmd_o[39:36]);\n                      ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:84: Define or directive not defined: \'`BUS_MEMORY\'\n     bus_i_en_d[1] <= `BUS_MEMORY;\n                      ^~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:84: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n     bus_i_en_d[1] <= `BUS_MEMORY;\n                                 ^\n%Error: data/full_repos/permissive/43339463/stage_decode.v:86: Define or directive not defined: \'`REG2BUS\'\n      bus_o_en_w[0] <= `REG2BUS(cmd_o[39:36]);\n                       ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:90: Define or directive not defined: \'`CMDARG_1_RI\'\n    `CMDARG_1_RI : begin\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:90: syntax error, unexpected begin, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER or new\n    `CMDARG_1_RI : begin\n                   ^~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:92: Define or directive not defined: \'`REG2BUS\'\n     bus_i_en_d[0] <= `REG2BUS(cmd_o[39:36]);\n                      ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:93: Define or directive not defined: \'`BUS_CMDARG_1\'\n     bus_i_en_d[1] <= `BUS_CMDARG_1;\n                      ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:93: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n     bus_i_en_d[1] <= `BUS_CMDARG_1;\n                                   ^\n%Error: data/full_repos/permissive/43339463/stage_decode.v:95: Define or directive not defined: \'`REG2BUS\'\n      bus_o_en_w[0] <= `REG2BUS(cmd_o[39:36]);\n                       ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:99: Define or directive not defined: \'`CMDARG_1_MR\'\n    `CMDARG_1_MR : begin\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:99: syntax error, unexpected begin, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER or new\n    `CMDARG_1_MR : begin\n                   ^~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:102: Define or directive not defined: \'`BUS_MEMORY\'\n     bus_i_en_d[0] <= `BUS_MEMORY;\n                      ^~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:102: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n     bus_i_en_d[0] <= `BUS_MEMORY;\n                                 ^\n%Error: data/full_repos/permissive/43339463/stage_decode.v:103: Define or directive not defined: \'`REG2BUS\'\n     bus_i_en_d[1] <= `REG2BUS(cmd_o[35:32]);\n                      ^~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:105: Define or directive not defined: \'`BUS_MEMORY\'\n      bus_o_en_w[0] <= `BUS_MEMORY;\n                       ^~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:105: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n      bus_o_en_w[0] <= `BUS_MEMORY;\n                                  ^\n%Error: data/full_repos/permissive/43339463/stage_decode.v:109: Define or directive not defined: \'`CMDARG_1_MI\'\n    `CMDARG_1_MI : begin\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:109: syntax error, unexpected begin, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER or new\n    `CMDARG_1_MI : begin\n                   ^~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:112: Define or directive not defined: \'`BUS_MEMORY\'\n     bus_i_en_d[0] <= `BUS_MEMORY;\n                      ^~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:112: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n     bus_i_en_d[0] <= `BUS_MEMORY;\n                                 ^\n%Error: data/full_repos/permissive/43339463/stage_decode.v:113: Define or directive not defined: \'`BUS_CMDARG_2\'\n     bus_i_en_d[1] <= `BUS_CMDARG_2;\n                      ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:113: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n     bus_i_en_d[1] <= `BUS_CMDARG_2;\n                                   ^\n%Error: data/full_repos/permissive/43339463/stage_decode.v:115: Define or directive not defined: \'`BUS_MEMORY\'\n      bus_o_en_w[0] <= `BUS_MEMORY;\n                       ^~~~~~~~~~~\n%Error: data/full_repos/permissive/43339463/stage_decode.v:115: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n      bus_o_en_w[0] <= `BUS_MEMORY;\n                                  ^\n%Error: Exiting due to too many errors encountered; --error-limit=50\n'
function regsize(input [3:0] r);
		case (r)
			`REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1'b1;
			`REG_RH0, `REG_RL0, `REG_RH1, `REG_RL1, `REG_RH2, `REG_RL2, `REG_RH3, `REG_RL3 : regsize = 1'b0;
			default : regsize = 1'bx;
		endcase
	endfunction
function regsize(input [3:0] r);

		case (r)
			`REG_R0, `REG_R1, `REG_R2, `REG_R3, `REG_R4, `REG_R5, `REG_R6, `REG_R7 : regsize = 1'b1;
			`REG_RH0, `REG_RL0, `REG_RH1, `REG_RL1, `REG_RH2, `REG_RL2, `REG_RH3, `REG_RL3 : regsize = 1'b0;
			default : regsize = 1'bx;
		endcase
	endfunction