data/full_repos/permissive/205931224/source/src/fetch.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Error: data/full_repos/permissive/205931224/source/src/fetch.v:21: Cannot find include file: macros.v\n`include "macros.v" \n         ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/205931224/source/src,data/full_repos/permissive/205931224/macros.v\n             data/full_repos/permissive/205931224/source/src,data/full_repos/permissive/205931224/macros.v.v\n             data/full_repos/permissive/205931224/source/src,data/full_repos/permissive/205931224/macros.v.sv\n             macros.v\n             macros.v.v\n             macros.v.sv\n             obj_dir/macros.v\n             obj_dir/macros.v.v\n             obj_dir/macros.v.sv\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:53: Define or directive not defined: \'`OPCODE_J_JUMP\'\n assign jump_j_flag = (instruction[31:26] == `OPCODE_J_JUMP) ? 1\'b1 : 1\'b0;\n                                             ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:53: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n assign jump_j_flag = (instruction[31:26] == `OPCODE_J_JUMP) ? 1\'b1 : 1\'b0;\n                                                           ^\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:54: Define or directive not defined: \'`OPCODE_JAL_JUMP\'\n assign jump_jal_flag = (instruction[31:26] == `OPCODE_JAL_JUMP) ? 1\'b1 : 1\'b0;\n                                               ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:54: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n assign jump_jal_flag = (instruction[31:26] == `OPCODE_JAL_JUMP) ? 1\'b1 : 1\'b0;\n                                                               ^\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:55: Define or directive not defined: \'`OPCODE_R\'\n assign jump_jr_flag = (instruction[31:26] == `OPCODE_R && instruction[5:0] == `R_FUNC_JR) ? 1\'b1 : 1\'b0;\n                                              ^~~~~~~~~\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:55: syntax error, unexpected &&, expecting TYPE-IDENTIFIER\n assign jump_jr_flag = (instruction[31:26] == `OPCODE_R && instruction[5:0] == `R_FUNC_JR) ? 1\'b1 : 1\'b0;\n                                                        ^~\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:55: Define or directive not defined: \'`R_FUNC_JR\'\n assign jump_jr_flag = (instruction[31:26] == `OPCODE_R && instruction[5:0] == `R_FUNC_JR) ? 1\'b1 : 1\'b0;\n                                                                               ^~~~~~~~~~\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:59: Define or directive not defined: \'`OPCODE_I_BEQ\'\n    assign if_branch_flag = (instruction[31:26] == `OPCODE_I_BEQ) | (instruction[31:26] == `OPCODE_I_BNE) | pre_jump_flag;\n                                                   ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:59: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n    assign if_branch_flag = (instruction[31:26] == `OPCODE_I_BEQ) | (instruction[31:26] == `OPCODE_I_BNE) | pre_jump_flag;\n                                                                ^\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:59: Define or directive not defined: \'`OPCODE_I_BNE\'\n    assign if_branch_flag = (instruction[31:26] == `OPCODE_I_BEQ) | (instruction[31:26] == `OPCODE_I_BNE) | pre_jump_flag;\n                                                                                           ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:122: Define or directive not defined: \'`NOP\'\n                    reg_instruction <= `NOP;\n                                       ^~~~\n%Error: data/full_repos/permissive/205931224/source/src/fetch.v:122: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n                    reg_instruction <= `NOP;\n                                           ^\n%Error: Exiting due to 13 error(s)\n'
function [31:0] BRANCH_RES;
		input         isFlush;
		input         jump_token;
		input         real_token;
		input [31:0]  pc_branch;
		input [31:0]  pc_jump;
		input [31:0]  pc_next;
		input [31:0]  pc_inc;
		begin
		  if( isFlush )
		  begin
		      if( real_token )
		          BRANCH_RES = pc_branch;
		      else if( jump_token )
		          BRANCH_RES = pc_jump;
		      else
		          BRANCH_RES = pc_next;
		  end
		  else
		      BRANCH_RES = pc_inc;
		end
	endfunction
function [31:0] BRANCH_RES;

		input         isFlush;
		input         jump_token;
		input         real_token;
		input [31:0]  pc_branch;
		input [31:0]  pc_jump;
		input [31:0]  pc_next;
		input [31:0]  pc_inc;
		begin
		  if( isFlush )
		  begin
		      if( real_token )
		          BRANCH_RES = pc_branch;
		      else if( jump_token )
		          BRANCH_RES = pc_jump;
		      else
		          BRANCH_RES = pc_next;
		  end
		  else
		      BRANCH_RES = pc_inc;
		end
	endfunction