data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v
1: b'%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:11: Cannot find include file: defines.v\n`include "defines.v" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/406635962/src/rtl,data/full_repos/permissive/406635962/defines.v\n             data/full_repos/permissive/406635962/src/rtl,data/full_repos/permissive/406635962/defines.v.v\n             data/full_repos/permissive/406635962/src/rtl,data/full_repos/permissive/406635962/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/406635962/src/rtl/exu_alu_bjp.v:20: Define or directive not defined: \'`XLEN\'\n  input  [`XLEN-1:0] bjp_i_rs1,\n          ^~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:21: Define or directive not defined: \'`XLEN\'\n  input  [`XLEN-1:0] bjp_i_rs2,\n          ^~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:22: Define or directive not defined: \'`XLEN\'\n  input  [`XLEN-1:0] bjp_i_imm,\n          ^~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:23: Define or directive not defined: \'`PC_SIZE\'\n  input  [`PC_SIZE-1:0] bjp_i_pc,\n          ^~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:24: Define or directive not defined: \'`DECINFO_BJP_WIDTH\'\n  input  [`DECINFO_BJP_WIDTH-1:0] bjp_i_info,  \n          ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:32: Define or directive not defined: \'`XLEN\'\n  output [`XLEN-1:0] bjp_o_wbck_wdat,\n          ^~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:43: Define or directive not defined: \'`XLEN\'\n  output [`XLEN-1:0] bjp_req_alu_op1,\n          ^~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:44: Define or directive not defined: \'`XLEN\'\n  output [`XLEN-1:0] bjp_req_alu_op2,\n          ^~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:54: Define or directive not defined: \'`XLEN\'\n  input  [`XLEN-1:0] bjp_req_alu_add_res,\n          ^~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:60: Define or directive not defined: \'`DECINFO_BJP_BXX\'\n  wire bxx   = bjp_i_info [`DECINFO_BJP_BXX ];    \n                           ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:60: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  wire bxx   = bjp_i_info [`DECINFO_BJP_BXX ];    \n                                            ^\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:61: Define or directive not defined: \'`DECINFO_BJP_JUMP\'\n  wire jump  = bjp_i_info [`DECINFO_BJP_JUMP ];   \n                           ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:61: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  wire jump  = bjp_i_info [`DECINFO_BJP_JUMP ];   \n                                             ^\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:64: Define or directive not defined: \'`DECINFO_BJP_BPRDT\'\n  wire bjp_i_bprdt = bjp_i_info [`DECINFO_BJP_BPRDT];\n                                 ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:64: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  wire bjp_i_bprdt = bjp_i_info [`DECINFO_BJP_BPRDT];\n                                                   ^\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:67: Define or directive not defined: \'`XLEN\'\n  assign bjp_req_alu_op2 = wbck_link ? `XLEN\'d4 : bjp_i_rs2;\n                                       ^~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:71: Define or directive not defined: \'`DECINFO_BJP_BEQ\'\n  assign bjp_req_alu_cmp_eq  = bjp_i_info [`DECINFO_BJP_BEQ  ];   \n                                           ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:71: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  assign bjp_req_alu_cmp_eq  = bjp_i_info [`DECINFO_BJP_BEQ  ];   \n                                                             ^\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:72: Define or directive not defined: \'`DECINFO_BJP_BNE\'\n  assign bjp_req_alu_cmp_ne  = bjp_i_info [`DECINFO_BJP_BNE  ];   \n                                           ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:72: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  assign bjp_req_alu_cmp_ne  = bjp_i_info [`DECINFO_BJP_BNE  ];   \n                                                             ^\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:73: Define or directive not defined: \'`DECINFO_BJP_BLT\'\n  assign bjp_req_alu_cmp_lt  = bjp_i_info [`DECINFO_BJP_BLT  ];   \n                                           ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:73: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  assign bjp_req_alu_cmp_lt  = bjp_i_info [`DECINFO_BJP_BLT  ];   \n                                                             ^\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:74: Define or directive not defined: \'`DECINFO_BJP_BGE\'\n  assign bjp_req_alu_cmp_ge  = bjp_i_info [`DECINFO_BJP_BGE  ];   \n                                           ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:74: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  assign bjp_req_alu_cmp_ge  = bjp_i_info [`DECINFO_BJP_BGE  ];   \n                                                             ^\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:75: Define or directive not defined: \'`DECINFO_BJP_BLTU\'\n  assign bjp_req_alu_cmp_ltu = bjp_i_info [`DECINFO_BJP_BLTU ];   \n                                           ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:75: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  assign bjp_req_alu_cmp_ltu = bjp_i_info [`DECINFO_BJP_BLTU ];   \n                                                             ^\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:76: Define or directive not defined: \'`DECINFO_BJP_BGEU\'\n  assign bjp_req_alu_cmp_geu = bjp_i_info [`DECINFO_BJP_BGEU ];   \n                                           ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/406635962/src/rtl/exu_alu_bjp.v:76: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  assign bjp_req_alu_cmp_geu = bjp_i_info [`DECINFO_BJP_BGEU ];   \n                                                             ^\n%Error: Exiting due to 29 error(s)\n'
module exu_alu_bjp(



  input  bjp_i_valid,
  output bjp_i_ready,

  input  [`XLEN-1:0] bjp_i_rs1,
  input  [`XLEN-1:0] bjp_i_rs2,
  input  [`XLEN-1:0] bjp_i_imm,
  input  [`PC_SIZE-1:0] bjp_i_pc,
  input  [`DECINFO_BJP_WIDTH-1:0] bjp_i_info,
 


  output bjp_o_valid,
  input  bjp_o_ready,


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


  output bjp_o_cmt_bjp,
  output bjp_o_cmt_prdt,
  output bjp_o_cmt_rslv,




  output [`XLEN-1:0] bjp_req_alu_op1,
  output [`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_ge ,    
  output bjp_req_alu_cmp_ltu,
  output bjp_req_alu_cmp_geu,
  output bjp_req_alu_add,

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

  input  clk,
  input  rst_n
  );

  wire bxx   = bjp_i_info [`DECINFO_BJP_BXX ];
  wire jump  = bjp_i_info [`DECINFO_BJP_JUMP ];

  wire wbck_link = jump;
  wire bjp_i_bprdt = bjp_i_info [`DECINFO_BJP_BPRDT];

  assign bjp_req_alu_op1 = wbck_link ? bjp_i_pc : bjp_i_rs1;
  assign bjp_req_alu_op2 = wbck_link ? `XLEN'd4 : bjp_i_rs2;

  assign bjp_o_cmt_bjp = bxx | jump;

  assign bjp_req_alu_cmp_eq  = bjp_i_info [`DECINFO_BJP_BEQ  ];
  assign bjp_req_alu_cmp_ne  = bjp_i_info [`DECINFO_BJP_BNE  ];
  assign bjp_req_alu_cmp_lt  = bjp_i_info [`DECINFO_BJP_BLT  ];
  assign bjp_req_alu_cmp_ge  = bjp_i_info [`DECINFO_BJP_BGE  ];
  assign bjp_req_alu_cmp_ltu = bjp_i_info [`DECINFO_BJP_BLTU ];
  assign bjp_req_alu_cmp_geu = bjp_i_info [`DECINFO_BJP_BGEU ];

  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 exu_alu_bjp(



  input  bjp_i_valid,
  output bjp_i_ready,

  input  [`XLEN-1:0] bjp_i_rs1,
  input  [`XLEN-1:0] bjp_i_rs2,
  input  [`XLEN-1:0] bjp_i_imm,
  input  [`PC_SIZE-1:0] bjp_i_pc,
  input  [`DECINFO_BJP_WIDTH-1:0] bjp_i_info,
 


  output bjp_o_valid,
  input  bjp_o_ready,


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


  output bjp_o_cmt_bjp,
  output bjp_o_cmt_prdt,
  output bjp_o_cmt_rslv,




  output [`XLEN-1:0] bjp_req_alu_op1,
  output [`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_ge ,    
  output bjp_req_alu_cmp_ltu,
  output bjp_req_alu_cmp_geu,
  output bjp_req_alu_add,

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

  input  clk,
  input  rst_n
  );


  wire bxx   = bjp_i_info [`DECINFO_BJP_BXX ];
  wire jump  = bjp_i_info [`DECINFO_BJP_JUMP ];

  wire wbck_link = jump;
  wire bjp_i_bprdt = bjp_i_info [`DECINFO_BJP_BPRDT];

  assign bjp_req_alu_op1 = wbck_link ? bjp_i_pc : bjp_i_rs1;
  assign bjp_req_alu_op2 = wbck_link ? `XLEN'd4 : bjp_i_rs2;

  assign bjp_o_cmt_bjp = bxx | jump;

  assign bjp_req_alu_cmp_eq  = bjp_i_info [`DECINFO_BJP_BEQ  ];
  assign bjp_req_alu_cmp_ne  = bjp_i_info [`DECINFO_BJP_BNE  ];
  assign bjp_req_alu_cmp_lt  = bjp_i_info [`DECINFO_BJP_BLT  ];
  assign bjp_req_alu_cmp_ge  = bjp_i_info [`DECINFO_BJP_BGE  ];
  assign bjp_req_alu_cmp_ltu = bjp_i_info [`DECINFO_BJP_BLTU ];
  assign bjp_req_alu_cmp_geu = bjp_i_info [`DECINFO_BJP_BGEU ];

  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