data/full_repos/permissive/418753455/E906_RTL_FACTORY/gen_rtl/ifu/rtl/pa_ifu_ipack_entry.v
1: b"%Error: data/full_repos/permissive/418753455/E906_RTL_FACTORY/gen_rtl/ifu/rtl/pa_ifu_ipack_entry.v:88: Cannot find file containing module: 'gated_clk_cell'\ngated_clk_cell  x_ipack_data_icg_cell (\n^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/418753455/E906_RTL_FACTORY/gen_rtl/ifu/rtl,data/full_repos/permissive/418753455/gated_clk_cell\n             data/full_repos/permissive/418753455/E906_RTL_FACTORY/gen_rtl/ifu/rtl,data/full_repos/permissive/418753455/gated_clk_cell.v\n             data/full_repos/permissive/418753455/E906_RTL_FACTORY/gen_rtl/ifu/rtl,data/full_repos/permissive/418753455/gated_clk_cell.sv\n             gated_clk_cell\n             gated_clk_cell.v\n             gated_clk_cell.sv\n             obj_dir/gated_clk_cell\n             obj_dir/gated_clk_cell.v\n             obj_dir/gated_clk_cell.sv\n%Error: Exiting due to 1 error(s)\n"
module pa_ifu_ipack_entry(
  cp0_ifu_icg_en,
  cp0_yy_clk_en,
  cpurst_b,
  forever_cpuclk,
  ipack_buf_flush,
  ipack_cpuclk,
  ipack_entry_acc_err,
  ipack_entry_create_en,
  ipack_entry_create_icg_en,
  ipack_entry_inst,
  ipack_entry_retire_en,
  ipack_entry_upd_acc_err,
  ipack_entry_upd_inst,
  ipack_entry_vld,
  pad_yy_icg_scan_en
);


input           cp0_ifu_icg_en;           
input           cp0_yy_clk_en;            
input           cpurst_b;                 
input           forever_cpuclk;           
input           ipack_buf_flush;          
input           ipack_cpuclk;             
input           ipack_entry_create_en;    
input           ipack_entry_create_icg_en; 
input           ipack_entry_retire_en;    
input           ipack_entry_upd_acc_err;  
input   [15:0]  ipack_entry_upd_inst;     
input           pad_yy_icg_scan_en;       
output          ipack_entry_acc_err;      
output  [15:0]  ipack_entry_inst;         
output          ipack_entry_vld;          


reg             entry_acc_err;            
reg     [15:0]  entry_inst;               
reg             entry_vld;                


wire            cp0_ifu_icg_en;           
wire            cp0_yy_clk_en;            
wire            cpurst_b;                 
wire            entry_cpuclk;             
wire            entry_icg_en;             
wire            forever_cpuclk;           
wire            ipack_buf_flush;          
wire            ipack_cpuclk;             
wire            ipack_entry_acc_err;      
wire            ipack_entry_create_en;    
wire            ipack_entry_create_icg_en; 
wire    [15:0]  ipack_entry_inst;         
wire            ipack_entry_retire_en;    
wire            ipack_entry_upd_acc_err;  
wire    [15:0]  ipack_entry_upd_inst;     
wire            ipack_entry_vld;          
wire            pad_yy_icg_scan_en;       











assign entry_icg_en = ipack_entry_create_icg_en;

gated_clk_cell  x_ipack_data_icg_cell (
  .clk_in             (forever_cpuclk    ),
  .clk_out            (entry_cpuclk      ),
  .external_en        (1'b0              ),
  .global_en          (cp0_yy_clk_en     ),
  .local_en           (entry_icg_en      ),
  .module_en          (cp0_ifu_icg_en    ),
  .pad_yy_icg_scan_en (pad_yy_icg_scan_en)
);














always @(posedge ipack_cpuclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    entry_vld <= 1'b0;
  else if(ipack_buf_flush)
    entry_vld <= 1'b0;
  else if(ipack_entry_create_en)
    entry_vld <= 1'b1;
  else if(ipack_entry_retire_en)
    entry_vld <= 1'b0;
  else
    entry_vld <= entry_vld;
end


always @(posedge entry_cpuclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    entry_inst[15:0] <= 16'b0;
  else if(ipack_entry_create_en)
    entry_inst[15:0] <= ipack_entry_upd_inst[15:0];
  else
    entry_inst[15:0] <= entry_inst[15:0];
end




always @(posedge entry_cpuclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    entry_acc_err <= 1'b0;
  else if(ipack_entry_create_en)
    entry_acc_err <= ipack_entry_upd_acc_err;
  else
    entry_acc_err <= entry_acc_err;
end





assign ipack_entry_vld        = entry_vld;
assign ipack_entry_inst[15:0] = entry_inst[15:0];
assign ipack_entry_acc_err    = entry_acc_err;


endmodule
module pa_ifu_ipack_entry(
  cp0_ifu_icg_en,
  cp0_yy_clk_en,
  cpurst_b,
  forever_cpuclk,
  ipack_buf_flush,
  ipack_cpuclk,
  ipack_entry_acc_err,
  ipack_entry_create_en,
  ipack_entry_create_icg_en,
  ipack_entry_inst,
  ipack_entry_retire_en,
  ipack_entry_upd_acc_err,
  ipack_entry_upd_inst,
  ipack_entry_vld,
  pad_yy_icg_scan_en
);



input           cp0_ifu_icg_en;           
input           cp0_yy_clk_en;            
input           cpurst_b;                 
input           forever_cpuclk;           
input           ipack_buf_flush;          
input           ipack_cpuclk;             
input           ipack_entry_create_en;    
input           ipack_entry_create_icg_en; 
input           ipack_entry_retire_en;    
input           ipack_entry_upd_acc_err;  
input   [15:0]  ipack_entry_upd_inst;     
input           pad_yy_icg_scan_en;       
output          ipack_entry_acc_err;      
output  [15:0]  ipack_entry_inst;         
output          ipack_entry_vld;          


reg             entry_acc_err;            
reg     [15:0]  entry_inst;               
reg             entry_vld;                


wire            cp0_ifu_icg_en;           
wire            cp0_yy_clk_en;            
wire            cpurst_b;                 
wire            entry_cpuclk;             
wire            entry_icg_en;             
wire            forever_cpuclk;           
wire            ipack_buf_flush;          
wire            ipack_cpuclk;             
wire            ipack_entry_acc_err;      
wire            ipack_entry_create_en;    
wire            ipack_entry_create_icg_en; 
wire    [15:0]  ipack_entry_inst;         
wire            ipack_entry_retire_en;    
wire            ipack_entry_upd_acc_err;  
wire    [15:0]  ipack_entry_upd_inst;     
wire            ipack_entry_vld;          
wire            pad_yy_icg_scan_en;       











assign entry_icg_en = ipack_entry_create_icg_en;

gated_clk_cell  x_ipack_data_icg_cell (
  .clk_in             (forever_cpuclk    ),
  .clk_out            (entry_cpuclk      ),
  .external_en        (1'b0              ),
  .global_en          (cp0_yy_clk_en     ),
  .local_en           (entry_icg_en      ),
  .module_en          (cp0_ifu_icg_en    ),
  .pad_yy_icg_scan_en (pad_yy_icg_scan_en)
);














always @(posedge ipack_cpuclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    entry_vld <= 1'b0;
  else if(ipack_buf_flush)
    entry_vld <= 1'b0;
  else if(ipack_entry_create_en)
    entry_vld <= 1'b1;
  else if(ipack_entry_retire_en)
    entry_vld <= 1'b0;
  else
    entry_vld <= entry_vld;
end


always @(posedge entry_cpuclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    entry_inst[15:0] <= 16'b0;
  else if(ipack_entry_create_en)
    entry_inst[15:0] <= ipack_entry_upd_inst[15:0];
  else
    entry_inst[15:0] <= entry_inst[15:0];
end




always @(posedge entry_cpuclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    entry_acc_err <= 1'b0;
  else if(ipack_entry_create_en)
    entry_acc_err <= ipack_entry_upd_acc_err;
  else
    entry_acc_err <= entry_acc_err;
end





assign ipack_entry_vld        = entry_vld;
assign ipack_entry_inst[15:0] = entry_inst[15:0];
assign ipack_entry_acc_err    = entry_acc_err;


endmodule