data/full_repos/permissive/519458744/BLI201V32I/rtl/core/bli201v32i_core_ifu.v
1: b"%Error: data/full_repos/permissive/519458744/BLI201V32I/rtl/core/bli201v32i_core_ifu.v:26: Cannot find file containing module: 'DFF_REG_RCE'\n  DFF_REG_RCE #(.N(32)) u_program_counter (\n  ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/519458744/BLI201V32I/rtl/core,data/full_repos/permissive/519458744/DFF_REG_RCE\n             data/full_repos/permissive/519458744/BLI201V32I/rtl/core,data/full_repos/permissive/519458744/DFF_REG_RCE.v\n             data/full_repos/permissive/519458744/BLI201V32I/rtl/core,data/full_repos/permissive/519458744/DFF_REG_RCE.sv\n             DFF_REG_RCE\n             DFF_REG_RCE.v\n             DFF_REG_RCE.sv\n             obj_dir/DFF_REG_RCE\n             obj_dir/DFF_REG_RCE.v\n             obj_dir/DFF_REG_RCE.sv\n%Error: Exiting due to 1 error(s)\n"
module ifu (
  input  clk,
  input  rst,
  
  input         ifu_i_halt,
  input         ifu_i_is_jump,
  input         ifu_i_is_branch_taken,
  input  [31:0] ifu_i_pc_target,

  output [31:0] ifu_o_pc,
  output [31:0] ifu_o_inst,

  output [31:0] ifu_o_iaddr,
  input  [31:0] ifu_i_idata
);

  wire [31:0] next_pc;

  assign ifu_o_iaddr = ifu_o_pc;

  assign ifu_o_inst = ifu_i_idata;

  assign next_pc = (ifu_i_is_jump | ifu_i_is_branch_taken) ? ifu_i_pc_target : (ifu_o_pc + 'h04);

  DFF_REG_RCE #(.N(32)) u_program_counter (
    .C(clk),
    .R(rst),
    .CE(!ifu_i_halt),
    .D(next_pc),
    .Q(ifu_o_pc)
  );

endmodule
module ifu (
  input  clk,
  input  rst,
  
  input         ifu_i_halt,
  input         ifu_i_is_jump,
  input         ifu_i_is_branch_taken,
  input  [31:0] ifu_i_pc_target,

  output [31:0] ifu_o_pc,
  output [31:0] ifu_o_inst,

  output [31:0] ifu_o_iaddr,
  input  [31:0] ifu_i_idata
);


  wire [31:0] next_pc;

  assign ifu_o_iaddr = ifu_o_pc;

  assign ifu_o_inst = ifu_i_idata;

  assign next_pc = (ifu_i_is_jump | ifu_i_is_branch_taken) ? ifu_i_pc_target : (ifu_o_pc + 'h04);

  DFF_REG_RCE #(.N(32)) u_program_counter (
    .C(clk),
    .R(rst),
    .CE(!ifu_i_halt),
    .D(next_pc),
    .Q(ifu_o_pc)
  );

endmodule