data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/ciu/rtl/ct_ciu_vb_aw_entry.v
1: b"%Error: data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/ciu/rtl/ct_ciu_vb_aw_entry.v:230: Cannot find file containing module: 'gated_clk_cell'\ngated_clk_cell  x_vb_entry_aw_gated_clk (\n^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/ciu/rtl,data/full_repos/permissive/418752214/gated_clk_cell\n             data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/ciu/rtl,data/full_repos/permissive/418752214/gated_clk_cell.v\n             data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/ciu/rtl,data/full_repos/permissive/418752214/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: data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/ciu/rtl/ct_ciu_vb_aw_entry.v:249: Cannot find file containing module: 'gated_clk_cell'\ngated_clk_cell  x_vb_entry_w_gated_clk (\n^~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module ct_ciu_vb_aw_entry(
  ciu_icg_en,
  cpurst_b,
  ebiuif_vb_index,
  forever_cpuclk,
  l2c0_vb_wbus,
  l2c0_wvalid_x,
  l2c1_vb_wbus,
  l2c1_wvalid_x,
  pad_yy_icg_scan_en,
  snb0_snpext_addr_hit_x,
  snb0_vb_wbus,
  snb0_wvalid_x,
  snb0_yy_snpext_index,
  snb1_snpext_addr_hit_x,
  snb1_vb_wbus,
  snb1_wvalid_x,
  snb1_yy_snpext_index,
  vb_aw_create_bus,
  vb_aw_create_mid,
  vb_aw_create_sel_x,
  vb_aw_en_x,
  vb_aw_req_sel_x,
  vb_aw_vld_x,
  vb_ctrl_clk,
  vb_entryx_awbus,
  vb_entryx_mid,
  vb_entryx_offset,
  vb_entryx_wbus,
  vb_snb_addr_hit_x,
  vb_w_pop_sel_x,
  vb_w_vld_x
);


input            ciu_icg_en;            
input            cpurst_b;              
input   [7  :0]  ebiuif_vb_index;       
input            forever_cpuclk;        
input   [534:0]  l2c0_vb_wbus;          
input            l2c0_wvalid_x;         
input   [534:0]  l2c1_vb_wbus;          
input            l2c1_wvalid_x;         
input            pad_yy_icg_scan_en;    
input   [534:0]  snb0_vb_wbus;          
input            snb0_wvalid_x;         
input   [7  :0]  snb0_yy_snpext_index;  
input   [534:0]  snb1_vb_wbus;          
input            snb1_wvalid_x;         
input   [7  :0]  snb1_yy_snpext_index;  
input   [67 :0]  vb_aw_create_bus;      
input   [2  :0]  vb_aw_create_mid;      
input            vb_aw_create_sel_x;    
input            vb_aw_req_sel_x;       
input            vb_ctrl_clk;           
input            vb_w_pop_sel_x;        
output           snb0_snpext_addr_hit_x; 
output           snb1_snpext_addr_hit_x; 
output           vb_aw_en_x;            
output           vb_aw_vld_x;           
output  [67 :0]  vb_entryx_awbus;       
output  [2  :0]  vb_entryx_mid;         
output  [1  :0]  vb_entryx_offset;      
output  [534:0]  vb_entryx_wbus;        
output           vb_snb_addr_hit_x;     
output           vb_w_vld_x;            


reg     [67 :0]  vb_aw_bus;             
reg              vb_aw_en;              
reg     [2  :0]  vb_aw_mid;             
reg              vb_aw_vld;             
reg     [534:0]  vb_w_bus;              
reg              vb_w_vld;              


wire             ciu_icg_en;            
wire             cpurst_b;              
wire    [7  :0]  ebiuif_vb_index;       
wire             forever_cpuclk;        
wire    [534:0]  l2c0_vb_wbus;          
wire             l2c0_wvalid_x;         
wire    [534:0]  l2c1_vb_wbus;          
wire             l2c1_wvalid_x;         
wire             pad_yy_icg_scan_en;    
wire             snb0_snpext_addr_hit_x; 
wire    [534:0]  snb0_vb_wbus;          
wire             snb0_wvalid_x;         
wire    [7  :0]  snb0_yy_snpext_index;  
wire             snb1_snpext_addr_hit_x; 
wire    [534:0]  snb1_vb_wbus;          
wire             snb1_wvalid_x;         
wire    [7  :0]  snb1_yy_snpext_index;  
wire    [67 :0]  vb_aw_create_bus;      
wire    [2  :0]  vb_aw_create_mid;      
wire             vb_aw_create_sel_x;    
wire             vb_aw_en_x;            
wire             vb_aw_req_sel_x;       
wire             vb_aw_vld_x;           
wire             vb_ctrl_clk;           
wire             vb_entry_awclk;        
wire             vb_entry_wclk;         
wire    [67 :0]  vb_entryx_awbus;       
wire    [2  :0]  vb_entryx_mid;         
wire    [1  :0]  vb_entryx_offset;      
wire    [534:0]  vb_entryx_wbus;        
wire             vb_snb_addr_hit_x;     
wire    [534:0]  vb_w_create_bus;       
wire             vb_w_create_sel;       
wire             vb_w_pop_sel_x;        
wire             vb_w_vld_x;            









parameter ADDR_4  = 4;
parameter ADDR_5  = 5;
parameter ADDR_6  = 6;
parameter ADDR_13 = 13;
parameter WIDTH   = 68;
parameter DWIDTH  = 535;

always @(posedge vb_ctrl_clk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_aw_vld   <= 1'b0;
  else if(vb_aw_create_sel_x)
    vb_aw_vld <= 1'b1;
  else if(vb_w_pop_sel_x)
    vb_aw_vld <= 1'b0;
end

always @(posedge vb_ctrl_clk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_aw_en <= 1'b0;
  else if(vb_aw_create_sel_x)
    vb_aw_en <= 1'b1;
  else if(vb_aw_req_sel_x)
    vb_aw_en <= 1'b0;
end

always @(posedge vb_entry_awclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_aw_bus[WIDTH-1:0] <= {WIDTH{1'b0}};
  else if(vb_aw_create_sel_x)
    vb_aw_bus[WIDTH-1:0] <= vb_aw_create_bus[WIDTH-1:0];
  else
    vb_aw_bus[WIDTH-1:0] <= vb_aw_bus[WIDTH-1:0];
end

always @(posedge vb_entry_awclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_aw_mid[2:0] <= 3'b0;
  else if(vb_aw_create_sel_x)
    vb_aw_mid[2:0] <= vb_aw_create_mid[2:0];
  else
    vb_aw_mid[2:0] <= vb_aw_mid[2:0];
end


assign vb_w_create_sel = l2c0_wvalid_x | 
                         l2c1_wvalid_x | 
                         snb0_wvalid_x | 
                         snb1_wvalid_x;

always @(posedge vb_ctrl_clk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_w_vld <= 1'b0;
  else if(vb_w_create_sel)
    vb_w_vld <= 1'b1;
  else if(vb_w_pop_sel_x)
    vb_w_vld <= 1'b0;
end

assign vb_w_create_bus[DWIDTH-1:0] =
      {DWIDTH{l2c0_wvalid_x}} & l2c0_vb_wbus[DWIDTH-1:0] |
      {DWIDTH{l2c1_wvalid_x}} & l2c1_vb_wbus[DWIDTH-1:0] |
      {DWIDTH{snb0_wvalid_x}} & snb0_vb_wbus[DWIDTH-1:0] |
      {DWIDTH{snb1_wvalid_x}} & snb1_vb_wbus[DWIDTH-1:0];

always @(posedge vb_entry_wclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_w_bus[DWIDTH-1:0] <= {DWIDTH{1'b0}};
  else if(vb_w_create_sel)
    vb_w_bus[DWIDTH-1:0] <= vb_w_create_bus[DWIDTH-1:0];
  else
    vb_w_bus[DWIDTH-1:0] <= vb_w_bus[DWIDTH-1:0];
end

assign vb_aw_vld_x = vb_aw_vld;
assign vb_aw_en_x  = vb_aw_en;
assign vb_w_vld_x  = vb_w_vld;
assign vb_entryx_offset[1:0] = vb_aw_bus[ADDR_5:ADDR_4];
assign vb_entryx_awbus[WIDTH-1:0] = vb_aw_bus[WIDTH-1:0];
assign vb_entryx_wbus[DWIDTH-1:0] = vb_w_bus[DWIDTH-1:0];
assign vb_entryx_mid[2:0]         = vb_aw_mid[2:0];

assign vb_snb_addr_hit_x = vb_aw_vld && (ebiuif_vb_index[7:0] == vb_aw_bus[ADDR_13:ADDR_6]);

assign snb0_snpext_addr_hit_x = vb_aw_vld && (snb0_yy_snpext_index[7:0] == vb_aw_bus[ADDR_13:ADDR_6]);
assign snb1_snpext_addr_hit_x = vb_aw_vld && (snb1_yy_snpext_index[7:0] == vb_aw_bus[ADDR_13:ADDR_6]);


gated_clk_cell  x_vb_entry_aw_gated_clk (
  .clk_in             (forever_cpuclk    ),
  .clk_out            (vb_entry_awclk    ),
  .external_en        (1'b0              ),
  .global_en          (1'b1              ),
  .local_en           (vb_aw_create_sel_x),
  .module_en          (ciu_icg_en        ),
  .pad_yy_icg_scan_en (pad_yy_icg_scan_en)
);










gated_clk_cell  x_vb_entry_w_gated_clk (
  .clk_in             (forever_cpuclk    ),
  .clk_out            (vb_entry_wclk     ),
  .external_en        (1'b0              ),
  .global_en          (1'b1              ),
  .local_en           (vb_w_create_sel   ),
  .module_en          (ciu_icg_en        ),
  .pad_yy_icg_scan_en (pad_yy_icg_scan_en)
);









endmodule
module ct_ciu_vb_aw_entry(
  ciu_icg_en,
  cpurst_b,
  ebiuif_vb_index,
  forever_cpuclk,
  l2c0_vb_wbus,
  l2c0_wvalid_x,
  l2c1_vb_wbus,
  l2c1_wvalid_x,
  pad_yy_icg_scan_en,
  snb0_snpext_addr_hit_x,
  snb0_vb_wbus,
  snb0_wvalid_x,
  snb0_yy_snpext_index,
  snb1_snpext_addr_hit_x,
  snb1_vb_wbus,
  snb1_wvalid_x,
  snb1_yy_snpext_index,
  vb_aw_create_bus,
  vb_aw_create_mid,
  vb_aw_create_sel_x,
  vb_aw_en_x,
  vb_aw_req_sel_x,
  vb_aw_vld_x,
  vb_ctrl_clk,
  vb_entryx_awbus,
  vb_entryx_mid,
  vb_entryx_offset,
  vb_entryx_wbus,
  vb_snb_addr_hit_x,
  vb_w_pop_sel_x,
  vb_w_vld_x
);



input            ciu_icg_en;            
input            cpurst_b;              
input   [7  :0]  ebiuif_vb_index;       
input            forever_cpuclk;        
input   [534:0]  l2c0_vb_wbus;          
input            l2c0_wvalid_x;         
input   [534:0]  l2c1_vb_wbus;          
input            l2c1_wvalid_x;         
input            pad_yy_icg_scan_en;    
input   [534:0]  snb0_vb_wbus;          
input            snb0_wvalid_x;         
input   [7  :0]  snb0_yy_snpext_index;  
input   [534:0]  snb1_vb_wbus;          
input            snb1_wvalid_x;         
input   [7  :0]  snb1_yy_snpext_index;  
input   [67 :0]  vb_aw_create_bus;      
input   [2  :0]  vb_aw_create_mid;      
input            vb_aw_create_sel_x;    
input            vb_aw_req_sel_x;       
input            vb_ctrl_clk;           
input            vb_w_pop_sel_x;        
output           snb0_snpext_addr_hit_x; 
output           snb1_snpext_addr_hit_x; 
output           vb_aw_en_x;            
output           vb_aw_vld_x;           
output  [67 :0]  vb_entryx_awbus;       
output  [2  :0]  vb_entryx_mid;         
output  [1  :0]  vb_entryx_offset;      
output  [534:0]  vb_entryx_wbus;        
output           vb_snb_addr_hit_x;     
output           vb_w_vld_x;            


reg     [67 :0]  vb_aw_bus;             
reg              vb_aw_en;              
reg     [2  :0]  vb_aw_mid;             
reg              vb_aw_vld;             
reg     [534:0]  vb_w_bus;              
reg              vb_w_vld;              


wire             ciu_icg_en;            
wire             cpurst_b;              
wire    [7  :0]  ebiuif_vb_index;       
wire             forever_cpuclk;        
wire    [534:0]  l2c0_vb_wbus;          
wire             l2c0_wvalid_x;         
wire    [534:0]  l2c1_vb_wbus;          
wire             l2c1_wvalid_x;         
wire             pad_yy_icg_scan_en;    
wire             snb0_snpext_addr_hit_x; 
wire    [534:0]  snb0_vb_wbus;          
wire             snb0_wvalid_x;         
wire    [7  :0]  snb0_yy_snpext_index;  
wire             snb1_snpext_addr_hit_x; 
wire    [534:0]  snb1_vb_wbus;          
wire             snb1_wvalid_x;         
wire    [7  :0]  snb1_yy_snpext_index;  
wire    [67 :0]  vb_aw_create_bus;      
wire    [2  :0]  vb_aw_create_mid;      
wire             vb_aw_create_sel_x;    
wire             vb_aw_en_x;            
wire             vb_aw_req_sel_x;       
wire             vb_aw_vld_x;           
wire             vb_ctrl_clk;           
wire             vb_entry_awclk;        
wire             vb_entry_wclk;         
wire    [67 :0]  vb_entryx_awbus;       
wire    [2  :0]  vb_entryx_mid;         
wire    [1  :0]  vb_entryx_offset;      
wire    [534:0]  vb_entryx_wbus;        
wire             vb_snb_addr_hit_x;     
wire    [534:0]  vb_w_create_bus;       
wire             vb_w_create_sel;       
wire             vb_w_pop_sel_x;        
wire             vb_w_vld_x;            









parameter ADDR_4  = 4;
parameter ADDR_5  = 5;
parameter ADDR_6  = 6;
parameter ADDR_13 = 13;
parameter WIDTH   = 68;
parameter DWIDTH  = 535;

always @(posedge vb_ctrl_clk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_aw_vld   <= 1'b0;
  else if(vb_aw_create_sel_x)
    vb_aw_vld <= 1'b1;
  else if(vb_w_pop_sel_x)
    vb_aw_vld <= 1'b0;
end

always @(posedge vb_ctrl_clk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_aw_en <= 1'b0;
  else if(vb_aw_create_sel_x)
    vb_aw_en <= 1'b1;
  else if(vb_aw_req_sel_x)
    vb_aw_en <= 1'b0;
end

always @(posedge vb_entry_awclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_aw_bus[WIDTH-1:0] <= {WIDTH{1'b0}};
  else if(vb_aw_create_sel_x)
    vb_aw_bus[WIDTH-1:0] <= vb_aw_create_bus[WIDTH-1:0];
  else
    vb_aw_bus[WIDTH-1:0] <= vb_aw_bus[WIDTH-1:0];
end

always @(posedge vb_entry_awclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_aw_mid[2:0] <= 3'b0;
  else if(vb_aw_create_sel_x)
    vb_aw_mid[2:0] <= vb_aw_create_mid[2:0];
  else
    vb_aw_mid[2:0] <= vb_aw_mid[2:0];
end


assign vb_w_create_sel = l2c0_wvalid_x | 
                         l2c1_wvalid_x | 
                         snb0_wvalid_x | 
                         snb1_wvalid_x;

always @(posedge vb_ctrl_clk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_w_vld <= 1'b0;
  else if(vb_w_create_sel)
    vb_w_vld <= 1'b1;
  else if(vb_w_pop_sel_x)
    vb_w_vld <= 1'b0;
end

assign vb_w_create_bus[DWIDTH-1:0] =
      {DWIDTH{l2c0_wvalid_x}} & l2c0_vb_wbus[DWIDTH-1:0] |
      {DWIDTH{l2c1_wvalid_x}} & l2c1_vb_wbus[DWIDTH-1:0] |
      {DWIDTH{snb0_wvalid_x}} & snb0_vb_wbus[DWIDTH-1:0] |
      {DWIDTH{snb1_wvalid_x}} & snb1_vb_wbus[DWIDTH-1:0];

always @(posedge vb_entry_wclk or negedge cpurst_b)
begin
  if(~cpurst_b)
    vb_w_bus[DWIDTH-1:0] <= {DWIDTH{1'b0}};
  else if(vb_w_create_sel)
    vb_w_bus[DWIDTH-1:0] <= vb_w_create_bus[DWIDTH-1:0];
  else
    vb_w_bus[DWIDTH-1:0] <= vb_w_bus[DWIDTH-1:0];
end

assign vb_aw_vld_x = vb_aw_vld;
assign vb_aw_en_x  = vb_aw_en;
assign vb_w_vld_x  = vb_w_vld;
assign vb_entryx_offset[1:0] = vb_aw_bus[ADDR_5:ADDR_4];
assign vb_entryx_awbus[WIDTH-1:0] = vb_aw_bus[WIDTH-1:0];
assign vb_entryx_wbus[DWIDTH-1:0] = vb_w_bus[DWIDTH-1:0];
assign vb_entryx_mid[2:0]         = vb_aw_mid[2:0];

assign vb_snb_addr_hit_x = vb_aw_vld && (ebiuif_vb_index[7:0] == vb_aw_bus[ADDR_13:ADDR_6]);

assign snb0_snpext_addr_hit_x = vb_aw_vld && (snb0_yy_snpext_index[7:0] == vb_aw_bus[ADDR_13:ADDR_6]);
assign snb1_snpext_addr_hit_x = vb_aw_vld && (snb1_yy_snpext_index[7:0] == vb_aw_bus[ADDR_13:ADDR_6]);


gated_clk_cell  x_vb_entry_aw_gated_clk (
  .clk_in             (forever_cpuclk    ),
  .clk_out            (vb_entry_awclk    ),
  .external_en        (1'b0              ),
  .global_en          (1'b1              ),
  .local_en           (vb_aw_create_sel_x),
  .module_en          (ciu_icg_en        ),
  .pad_yy_icg_scan_en (pad_yy_icg_scan_en)
);










gated_clk_cell  x_vb_entry_w_gated_clk (
  .clk_in             (forever_cpuclk    ),
  .clk_out            (vb_entry_wclk     ),
  .external_en        (1'b0              ),
  .global_en          (1'b1              ),
  .local_en           (vb_w_create_sel   ),
  .module_en          (ciu_icg_en        ),
  .pad_yy_icg_scan_en (pad_yy_icg_scan_en)
);









endmodule