data/full_repos/permissive/131249673/MIPS_L_PipeLine/work/Jumper.v
1: b'%Error: data/full_repos/permissive/131249673/MIPS_L_PipeLine/work/Jumper.v:1: Cannot find include file: instruction_def.v\n`include "instruction_def.v" \n         ^~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/131249673/MIPS_L_PipeLine/work,data/full_repos/permissive/131249673/instruction_def.v\n             data/full_repos/permissive/131249673/MIPS_L_PipeLine/work,data/full_repos/permissive/131249673/instruction_def.v.v\n             data/full_repos/permissive/131249673/MIPS_L_PipeLine/work,data/full_repos/permissive/131249673/instruction_def.v.sv\n             instruction_def.v\n             instruction_def.v.v\n             instruction_def.v.sv\n             obj_dir/instruction_def.v\n             obj_dir/instruction_def.v.v\n             obj_dir/instruction_def.v.sv\n%Error: data/full_repos/permissive/131249673/MIPS_L_PipeLine/work/Jumper.v:2: Cannot find include file: ctrl_encode_def.v\n`include "ctrl_encode_def.v" \n         ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/131249673/MIPS_L_PipeLine/work/Jumper.v:15: Define or directive not defined: \'`INSTR_J_OP\'\n  if ( Op == `INSTR_J_OP || Op == `INSTR_JAL_OP )\n             ^~~~~~~~~~~\n%Error: data/full_repos/permissive/131249673/MIPS_L_PipeLine/work/Jumper.v:15: syntax error, unexpected ||, expecting TYPE-IDENTIFIER\n  if ( Op == `INSTR_J_OP || Op == `INSTR_JAL_OP )\n                         ^~\n%Error: data/full_repos/permissive/131249673/MIPS_L_PipeLine/work/Jumper.v:15: Define or directive not defined: \'`INSTR_JAL_OP\'\n  if ( Op == `INSTR_J_OP || Op == `INSTR_JAL_OP )\n                                  ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/131249673/MIPS_L_PipeLine/work/Jumper.v:18: Define or directive not defined: \'`INSTR_RTYPE_OP\'\n  if ( Op == `INSTR_RTYPE_OP && Funct == `INSTR_JR_FUNCT)\n             ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/131249673/MIPS_L_PipeLine/work/Jumper.v:18: syntax error, unexpected &&, expecting TYPE-IDENTIFIER\n  if ( Op == `INSTR_RTYPE_OP && Funct == `INSTR_JR_FUNCT)\n                             ^~\n%Error: data/full_repos/permissive/131249673/MIPS_L_PipeLine/work/Jumper.v:18: Define or directive not defined: \'`INSTR_JR_FUNCT\'\n  if ( Op == `INSTR_RTYPE_OP && Funct == `INSTR_JR_FUNCT)\n                                         ^~~~~~~~~~~~~~~\n%Error: Exiting due to 8 error(s)\n'
module jumper(clk, rst, Op, Funct, InstrAddr, PC, 
	jmpSign);
	input			clk, rst;
	input	[5:0]	Op;
	input	[5:0]	Funct;
	input	[25:0]	InstrAddr;
	input	[31:0]	PC;
	output			jmpSign;

	reg   jmpSign;
	initial jmpSign = 0;
	always @(*) begin
		if ( Op == `INSTR_J_OP || Op == `INSTR_JAL_OP )
			jmpSign = 1;
	
		if ( Op == `INSTR_RTYPE_OP && Funct == `INSTR_JR_FUNCT)
			jmpSign = 1;
	end
endmodule
module jumper(clk, rst, Op, Funct, InstrAddr, PC, 
	jmpSign);

	input			clk, rst;
	input	[5:0]	Op;
	input	[5:0]	Funct;
	input	[25:0]	InstrAddr;
	input	[31:0]	PC;
	output			jmpSign;

	reg   jmpSign;
	initial jmpSign = 0;
	always @(*) begin
		if ( Op == `INSTR_J_OP || Op == `INSTR_JAL_OP )
			jmpSign = 1;
	
		if ( Op == `INSTR_RTYPE_OP && Funct == `INSTR_JR_FUNCT)
			jmpSign = 1;
	end
endmodule