data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v
1: b'%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:53: Cannot find include file: e203_defines.v\n`include "e203_defines.v" \n         ^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/160924877/analysis/rtl/e203/core,data/full_repos/permissive/160924877/e203_defines.v\n             data/full_repos/permissive/160924877/analysis/rtl/e203/core,data/full_repos/permissive/160924877/e203_defines.v.v\n             data/full_repos/permissive/160924877/analysis/rtl/e203/core,data/full_repos/permissive/160924877/e203_defines.v.sv\n             e203_defines.v\n             e203_defines.v.v\n             e203_defines.v.sv\n             obj_dir/e203_defines.v\n             obj_dir/e203_defines.v.v\n             obj_dir/e203_defines.v.sv\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:64: Define or directive not defined: \'`E203_XLEN\'\n input  [`E203_XLEN-1:0] bjp_i_rs1,\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:65: Define or directive not defined: \'`E203_XLEN\'\n input  [`E203_XLEN-1:0] bjp_i_rs2,\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:66: Define or directive not defined: \'`E203_XLEN\'\n input  [`E203_XLEN-1:0] bjp_i_imm,\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:67: Define or directive not defined: \'`E203_PC_SIZE\'\n input  [`E203_PC_SIZE-1:0] bjp_i_pc,\n         ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:68: Define or directive not defined: \'`E203_DECINFO_BJP_WIDTH\'\n input  [`E203_DECINFO_BJP_WIDTH-1:0] bjp_i_info,\n         ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:76: Define or directive not defined: \'`E203_XLEN\'\n output [`E203_XLEN-1:0] bjp_o_wbck_wdat,\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:92: Define or directive not defined: \'`E203_XLEN\'\n output [`E203_XLEN-1:0] bjp_req_alu_op1,\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:93: Define or directive not defined: \'`E203_XLEN\'\n output [`E203_XLEN-1:0] bjp_req_alu_op2,\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:103: Define or directive not defined: \'`E203_XLEN\'\n input  [`E203_XLEN-1:0] bjp_req_alu_add_res,\n         ^~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:110: Define or directive not defined: \'`E203_DECINFO_BJP_MRET\'\n wire mret   = bjp_i_info [`E203_DECINFO_BJP_MRET ]; \n                           ^~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:110: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n wire mret   = bjp_i_info [`E203_DECINFO_BJP_MRET ]; \n                                                  ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:111: Define or directive not defined: \'`E203_DECINFO_BJP_DRET\'\n wire dret   = bjp_i_info [`E203_DECINFO_BJP_DRET ]; \n                           ^~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:111: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n wire dret   = bjp_i_info [`E203_DECINFO_BJP_DRET ]; \n                                                  ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:112: Define or directive not defined: \'`E203_DECINFO_BJP_FENCEI\'\n wire fencei = bjp_i_info [`E203_DECINFO_BJP_FENCEI ]; \n                           ^~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:112: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n wire fencei = bjp_i_info [`E203_DECINFO_BJP_FENCEI ]; \n                                                    ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:113: Define or directive not defined: \'`E203_DECINFO_BJP_BXX\'\n wire bxx   = bjp_i_info [`E203_DECINFO_BJP_BXX ]; \n                          ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:113: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n wire bxx   = bjp_i_info [`E203_DECINFO_BJP_BXX ]; \n                                                ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:114: Define or directive not defined: \'`E203_DECINFO_BJP_JUMP\'\n wire jump  = bjp_i_info [`E203_DECINFO_BJP_JUMP ]; \n                          ^~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:114: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n wire jump  = bjp_i_info [`E203_DECINFO_BJP_JUMP ]; \n                                                 ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:115: Define or directive not defined: \'`E203_DECINFO_RV32\'\n wire rv32  = bjp_i_info [`E203_DECINFO_RV32]; \n                          ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:115: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n wire rv32  = bjp_i_info [`E203_DECINFO_RV32]; \n                                            ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:119: Define or directive not defined: \'`E203_DECINFO_BJP_BPRDT\'\n wire bjp_i_bprdt = bjp_i_info [`E203_DECINFO_BJP_BPRDT ];\n                                ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:119: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n wire bjp_i_bprdt = bjp_i_info [`E203_DECINFO_BJP_BPRDT ];\n                                                        ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:125: Define or directive not defined: \'`E203_XLEN\'\n              (rv32 ? `E203_XLEN\'d4 : `E203_XLEN\'d2)\n                      ^~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:125: Define or directive not defined: \'`E203_XLEN\'\n              (rv32 ? `E203_XLEN\'d4 : `E203_XLEN\'d2)\n                                      ^~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:133: Define or directive not defined: \'`E203_DECINFO_BJP_BEQ\'\n assign bjp_req_alu_cmp_eq  = bjp_i_info [`E203_DECINFO_BJP_BEQ  ]; \n                                          ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:133: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign bjp_req_alu_cmp_eq  = bjp_i_info [`E203_DECINFO_BJP_BEQ  ]; \n                                                                 ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:134: Define or directive not defined: \'`E203_DECINFO_BJP_BNE\'\n assign bjp_req_alu_cmp_ne  = bjp_i_info [`E203_DECINFO_BJP_BNE  ]; \n                                          ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:134: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign bjp_req_alu_cmp_ne  = bjp_i_info [`E203_DECINFO_BJP_BNE  ]; \n                                                                 ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:135: Define or directive not defined: \'`E203_DECINFO_BJP_BLT\'\n assign bjp_req_alu_cmp_lt  = bjp_i_info [`E203_DECINFO_BJP_BLT  ]; \n                                          ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:135: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign bjp_req_alu_cmp_lt  = bjp_i_info [`E203_DECINFO_BJP_BLT  ]; \n                                                                 ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:136: Define or directive not defined: \'`E203_DECINFO_BJP_BGT\'\n assign bjp_req_alu_cmp_gt  = bjp_i_info [`E203_DECINFO_BJP_BGT  ]; \n                                          ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:136: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign bjp_req_alu_cmp_gt  = bjp_i_info [`E203_DECINFO_BJP_BGT  ]; \n                                                                 ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:137: Define or directive not defined: \'`E203_DECINFO_BJP_BLTU\'\n assign bjp_req_alu_cmp_ltu = bjp_i_info [`E203_DECINFO_BJP_BLTU ]; \n                                          ^~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:137: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign bjp_req_alu_cmp_ltu = bjp_i_info [`E203_DECINFO_BJP_BLTU ]; \n                                                                 ^\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:138: Define or directive not defined: \'`E203_DECINFO_BJP_BGTU\'\n assign bjp_req_alu_cmp_gtu = bjp_i_info [`E203_DECINFO_BJP_BGTU ]; \n                                          ^~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/160924877/analysis/rtl/e203/core/e203_exu_alu_bjp.v:138: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n assign bjp_req_alu_cmp_gtu = bjp_i_info [`E203_DECINFO_BJP_BGTU ]; \n                                                                 ^\n%Error: Exiting due to 38 error(s)\n'
module e203_exu_alu_bjp(





	input  bjp_i_valid,
	output bjp_i_ready,

	input  [`E203_XLEN-1:0] bjp_i_rs1,
	input  [`E203_XLEN-1:0] bjp_i_rs2,
	input  [`E203_XLEN-1:0] bjp_i_imm,
	input  [`E203_PC_SIZE-1:0] bjp_i_pc,
	input  [`E203_DECINFO_BJP_WIDTH-1:0] bjp_i_info,
	



	output bjp_o_valid,
	input  bjp_o_ready,

	output [`E203_XLEN-1:0] bjp_o_wbck_wdat,
	output bjp_o_wbck_err,

	output bjp_o_cmt_bjp,
	output bjp_o_cmt_mret,
	output bjp_o_cmt_dret,
	output bjp_o_cmt_fencei,
	output bjp_o_cmt_prdt,
	output bjp_o_cmt_rslv,







	output [`E203_XLEN-1:0] bjp_req_alu_op1,
	output [`E203_XLEN-1:0] bjp_req_alu_op2,
	output bjp_req_alu_cmp_eq ,
	output bjp_req_alu_cmp_ne ,
	output bjp_req_alu_cmp_lt ,
	output bjp_req_alu_cmp_gt ,
	output bjp_req_alu_cmp_ltu,
	output bjp_req_alu_cmp_gtu,
	output bjp_req_alu_add,

	input  bjp_req_alu_cmp_res,
	input  [`E203_XLEN-1:0] bjp_req_alu_add_res,

	input  clk,
	input  rst_n
	);


	wire mret   = bjp_i_info [`E203_DECINFO_BJP_MRET ]; 
	wire dret   = bjp_i_info [`E203_DECINFO_BJP_DRET ]; 
	wire fencei = bjp_i_info [`E203_DECINFO_BJP_FENCEI ]; 
	wire bxx   = bjp_i_info [`E203_DECINFO_BJP_BXX ]; 
	wire jump  = bjp_i_info [`E203_DECINFO_BJP_JUMP ]; 
	wire rv32  = bjp_i_info [`E203_DECINFO_RV32]; 

	wire wbck_link = jump;

	wire bjp_i_bprdt = bjp_i_info [`E203_DECINFO_BJP_BPRDT ];

	assign bjp_req_alu_op1 = wbck_link ? 
														bjp_i_pc 
													: bjp_i_rs1;
	assign bjp_req_alu_op2 = wbck_link ? 
														(rv32 ? `E203_XLEN'd4 : `E203_XLEN'd2)
													: bjp_i_rs2;

	assign bjp_o_cmt_bjp = bxx | jump;
	assign bjp_o_cmt_mret = mret;
	assign bjp_o_cmt_dret = dret;
	assign bjp_o_cmt_fencei = fencei;

	assign bjp_req_alu_cmp_eq  = bjp_i_info [`E203_DECINFO_BJP_BEQ  ]; 
	assign bjp_req_alu_cmp_ne  = bjp_i_info [`E203_DECINFO_BJP_BNE  ]; 
	assign bjp_req_alu_cmp_lt  = bjp_i_info [`E203_DECINFO_BJP_BLT  ]; 
	assign bjp_req_alu_cmp_gt  = bjp_i_info [`E203_DECINFO_BJP_BGT  ]; 
	assign bjp_req_alu_cmp_ltu = bjp_i_info [`E203_DECINFO_BJP_BLTU ]; 
	assign bjp_req_alu_cmp_gtu = bjp_i_info [`E203_DECINFO_BJP_BGTU ]; 

	assign bjp_req_alu_add  = wbck_link;

	assign bjp_o_valid     = bjp_i_valid;
	assign bjp_i_ready     = bjp_o_ready;
	assign bjp_o_cmt_prdt  = bjp_i_bprdt;
	assign bjp_o_cmt_rslv  = jump ? 1'b1 : bjp_req_alu_cmp_res;

	assign bjp_o_wbck_wdat  = bjp_req_alu_add_res;
	assign bjp_o_wbck_err   = 1'b0;

endmodule
module e203_exu_alu_bjp(





	input  bjp_i_valid,
	output bjp_i_ready,

	input  [`E203_XLEN-1:0] bjp_i_rs1,
	input  [`E203_XLEN-1:0] bjp_i_rs2,
	input  [`E203_XLEN-1:0] bjp_i_imm,
	input  [`E203_PC_SIZE-1:0] bjp_i_pc,
	input  [`E203_DECINFO_BJP_WIDTH-1:0] bjp_i_info,
	



	output bjp_o_valid,
	input  bjp_o_ready,

	output [`E203_XLEN-1:0] bjp_o_wbck_wdat,
	output bjp_o_wbck_err,

	output bjp_o_cmt_bjp,
	output bjp_o_cmt_mret,
	output bjp_o_cmt_dret,
	output bjp_o_cmt_fencei,
	output bjp_o_cmt_prdt,
	output bjp_o_cmt_rslv,







	output [`E203_XLEN-1:0] bjp_req_alu_op1,
	output [`E203_XLEN-1:0] bjp_req_alu_op2,
	output bjp_req_alu_cmp_eq ,
	output bjp_req_alu_cmp_ne ,
	output bjp_req_alu_cmp_lt ,
	output bjp_req_alu_cmp_gt ,
	output bjp_req_alu_cmp_ltu,
	output bjp_req_alu_cmp_gtu,
	output bjp_req_alu_add,

	input  bjp_req_alu_cmp_res,
	input  [`E203_XLEN-1:0] bjp_req_alu_add_res,

	input  clk,
	input  rst_n
	);



	wire mret   = bjp_i_info [`E203_DECINFO_BJP_MRET ]; 
	wire dret   = bjp_i_info [`E203_DECINFO_BJP_DRET ]; 
	wire fencei = bjp_i_info [`E203_DECINFO_BJP_FENCEI ]; 
	wire bxx   = bjp_i_info [`E203_DECINFO_BJP_BXX ]; 
	wire jump  = bjp_i_info [`E203_DECINFO_BJP_JUMP ]; 
	wire rv32  = bjp_i_info [`E203_DECINFO_RV32]; 

	wire wbck_link = jump;

	wire bjp_i_bprdt = bjp_i_info [`E203_DECINFO_BJP_BPRDT ];

	assign bjp_req_alu_op1 = wbck_link ? 
														bjp_i_pc 
													: bjp_i_rs1;
	assign bjp_req_alu_op2 = wbck_link ? 
														(rv32 ? `E203_XLEN'd4 : `E203_XLEN'd2)
													: bjp_i_rs2;

	assign bjp_o_cmt_bjp = bxx | jump;
	assign bjp_o_cmt_mret = mret;
	assign bjp_o_cmt_dret = dret;
	assign bjp_o_cmt_fencei = fencei;

	assign bjp_req_alu_cmp_eq  = bjp_i_info [`E203_DECINFO_BJP_BEQ  ]; 
	assign bjp_req_alu_cmp_ne  = bjp_i_info [`E203_DECINFO_BJP_BNE  ]; 
	assign bjp_req_alu_cmp_lt  = bjp_i_info [`E203_DECINFO_BJP_BLT  ]; 
	assign bjp_req_alu_cmp_gt  = bjp_i_info [`E203_DECINFO_BJP_BGT  ]; 
	assign bjp_req_alu_cmp_ltu = bjp_i_info [`E203_DECINFO_BJP_BLTU ]; 
	assign bjp_req_alu_cmp_gtu = bjp_i_info [`E203_DECINFO_BJP_BGTU ]; 

	assign bjp_req_alu_add  = wbck_link;

	assign bjp_o_valid     = bjp_i_valid;
	assign bjp_i_ready     = bjp_o_ready;
	assign bjp_o_cmt_prdt  = bjp_i_bprdt;
	assign bjp_o_cmt_rslv  = jump ? 1'b1 : bjp_req_alu_cmp_res;

	assign bjp_o_wbck_wdat  = bjp_req_alu_add_res;
	assign bjp_o_wbck_err   = 1'b0;

endmodule