data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/lsu/rtl/ct_lsu_sd_ex1.v
1: b"%Error: data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/lsu/rtl/ct_lsu_sd_ex1.v:129: Cannot find file containing module: 'gated_clk_cell'\ngated_clk_cell  x_lsu_sd_ex1_gated_clk (\n^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/lsu/rtl,data/full_repos/permissive/418752214/gated_clk_cell\n             data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/lsu/rtl,data/full_repos/permissive/418752214/gated_clk_cell.v\n             data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/lsu/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/lsu/rtl/ct_lsu_sd_ex1.v:149: Cannot find file containing module: 'gated_clk_cell'\ngated_clk_cell  x_lsu_sd_ex1_data_gated_clk (\n^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/418752214/C910_RTL_FACTORY/gen_rtl/lsu/rtl/ct_lsu_sd_ex1.v:169: Cannot find file containing module: 'gated_clk_cell'\ngated_clk_cell  x_lsu_sd_ex1_vdata_gated_clk (\n^~~~~~~~~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module ct_lsu_sd_ex1(
  cp0_lsu_icg_en,
  cp0_yy_clk_en,
  cpurst_b,
  ctrl_st_clk,
  forever_cpuclk,
  idu_lsu_rf_pipe5_gateclk_sel,
  idu_lsu_rf_pipe5_sdiq_entry,
  idu_lsu_rf_pipe5_sel,
  idu_lsu_rf_pipe5_src0,
  idu_lsu_rf_pipe5_srcv0_fr,
  idu_lsu_rf_pipe5_srcv0_fr_vld,
  idu_lsu_rf_pipe5_srcv0_vld,
  idu_lsu_rf_pipe5_srcv0_vr0,
  idu_lsu_rf_pipe5_srcv0_vr1,
  idu_lsu_rf_pipe5_stdata1_vld,
  idu_lsu_rf_pipe5_unalign,
  lsu_idu_ex1_sdiq_entry,
  lsu_idu_ex1_sdiq_frz_clr,
  lsu_idu_ex1_sdiq_pop_vld,
  pad_yy_icg_scan_en,
  rtu_yy_xx_flush,
  sd_ex1_data,
  sd_ex1_data_bypass,
  sd_ex1_inst_vld,
  sd_rf_ex1_sdid,
  sd_rf_inst_vld_short
);


input            cp0_lsu_icg_en;               
input            cp0_yy_clk_en;                
input            cpurst_b;                     
input            ctrl_st_clk;                  
input            forever_cpuclk;               
input            idu_lsu_rf_pipe5_gateclk_sel; 
input   [11 :0]  idu_lsu_rf_pipe5_sdiq_entry;  
input            idu_lsu_rf_pipe5_sel;         
input   [63 :0]  idu_lsu_rf_pipe5_src0;        
input   [63 :0]  idu_lsu_rf_pipe5_srcv0_fr;    
input            idu_lsu_rf_pipe5_srcv0_fr_vld; 
input            idu_lsu_rf_pipe5_srcv0_vld;   
input   [63 :0]  idu_lsu_rf_pipe5_srcv0_vr0;   
input   [63 :0]  idu_lsu_rf_pipe5_srcv0_vr1;   
input            idu_lsu_rf_pipe5_stdata1_vld; 
input            idu_lsu_rf_pipe5_unalign;     
input            pad_yy_icg_scan_en;           
input            rtu_yy_xx_flush;              
output  [11 :0]  lsu_idu_ex1_sdiq_entry;       
output           lsu_idu_ex1_sdiq_frz_clr;     
output           lsu_idu_ex1_sdiq_pop_vld;     
output  [63 :0]  sd_ex1_data;                  
output  [127:0]  sd_ex1_data_bypass;           
output           sd_ex1_inst_vld;              
output  [3  :0]  sd_rf_ex1_sdid;               
output           sd_rf_inst_vld_short;         


reg              sd_ex1_boundary;              
reg              sd_ex1_inst_vld;              
reg     [11 :0]  sd_ex1_sdid_oh;               
reg              sd_ex1_secd;                  
reg     [63 :0]  sd_ex1_src0_data;             
reg     [63 :0]  sd_ex1_srcv0_fr_data;         
reg              sd_ex1_srcv0_fr_vld;          
reg              sd_ex1_srcv0_vld;             
reg     [63 :0]  sd_ex1_srcv0_vr0_data;        
reg     [63 :0]  sd_ex1_srcv0_vr1_data;        


wire             cp0_lsu_icg_en;               
wire             cp0_yy_clk_en;                
wire             cpurst_b;                     
wire             ctrl_st_clk;                  
wire             forever_cpuclk;               
wire             idu_lsu_rf_pipe5_gateclk_sel; 
wire    [11 :0]  idu_lsu_rf_pipe5_sdiq_entry;  
wire             idu_lsu_rf_pipe5_sel;         
wire    [63 :0]  idu_lsu_rf_pipe5_src0;        
wire    [63 :0]  idu_lsu_rf_pipe5_srcv0_fr;    
wire             idu_lsu_rf_pipe5_srcv0_fr_vld; 
wire             idu_lsu_rf_pipe5_srcv0_vld;   
wire    [63 :0]  idu_lsu_rf_pipe5_srcv0_vr0;   
wire    [63 :0]  idu_lsu_rf_pipe5_srcv0_vr1;   
wire             idu_lsu_rf_pipe5_stdata1_vld; 
wire             idu_lsu_rf_pipe5_unalign;     
wire    [11 :0]  lsu_idu_ex1_sdiq_entry;       
wire             lsu_idu_ex1_sdiq_frz_clr;     
wire             lsu_idu_ex1_sdiq_pop_vld;     
wire             pad_yy_icg_scan_en;           
wire             rtu_yy_xx_flush;              
wire             sd_ex1_clk;                   
wire             sd_ex1_clk_en;                
wire    [63 :0]  sd_ex1_data;                  
wire    [63 :0]  sd_ex1_data_64;               
wire    [127:0]  sd_ex1_data_bypass;           
wire             sd_ex1_data_clk;              
wire             sd_ex1_data_clk_en;           
wire             sd_ex1_vdata_clk;             
wire             sd_ex1_vdata_clk_en;          
wire             sd_rf_ex1_inst_vld;           
wire    [3  :0]  sd_rf_ex1_sdid;               
wire             sd_rf_inst_vld_short;         


parameter LSIQ_ENTRY  = 12;




assign sd_ex1_clk_en = idu_lsu_rf_pipe5_gateclk_sel;

gated_clk_cell  x_lsu_sd_ex1_gated_clk (
  .clk_in             (forever_cpuclk    ),
  .clk_out            (sd_ex1_clk        ),
  .external_en        (1'b0              ),
  .global_en          (cp0_yy_clk_en     ),
  .local_en           (sd_ex1_clk_en     ),
  .module_en          (cp0_lsu_icg_en    ),
  .pad_yy_icg_scan_en (pad_yy_icg_scan_en)
);








assign sd_ex1_data_clk_en = idu_lsu_rf_pipe5_gateclk_sel 
                            && !idu_lsu_rf_pipe5_srcv0_vld;

gated_clk_cell  x_lsu_sd_ex1_data_gated_clk (
  .clk_in             (forever_cpuclk    ),
  .clk_out            (sd_ex1_data_clk   ),
  .external_en        (1'b0              ),
  .global_en          (cp0_yy_clk_en     ),
  .local_en           (sd_ex1_data_clk_en),
  .module_en          (cp0_lsu_icg_en    ),
  .pad_yy_icg_scan_en (pad_yy_icg_scan_en)
);








assign sd_ex1_vdata_clk_en = idu_lsu_rf_pipe5_gateclk_sel
                             && idu_lsu_rf_pipe5_srcv0_vld;

gated_clk_cell  x_lsu_sd_ex1_vdata_gated_clk (
  .clk_in              (forever_cpuclk     ),
  .clk_out             (sd_ex1_vdata_clk   ),
  .external_en         (1'b0               ),
  .global_en           (cp0_yy_clk_en      ),
  .local_en            (sd_ex1_vdata_clk_en),
  .module_en           (cp0_lsu_icg_en     ),
  .pad_yy_icg_scan_en  (pad_yy_icg_scan_en )
);










assign sd_rf_ex1_sdid[3:0]  = {4{idu_lsu_rf_pipe5_sdiq_entry[0]}} & 4'd0
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[1]}} & 4'd1
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[2]}} & 4'd2
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[3]}} & 4'd3
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[4]}} & 4'd4
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[5]}} & 4'd5
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[6]}} & 4'd6
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[7]}} & 4'd7
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[8]}} & 4'd8
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[9]}} & 4'd9
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[10]}} & 4'd10
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[11]}} & 4'd11;









assign sd_rf_inst_vld_short = idu_lsu_rf_pipe5_gateclk_sel;
assign sd_rf_ex1_inst_vld = idu_lsu_rf_pipe5_sel  &&  !rtu_yy_xx_flush;

always @(posedge ctrl_st_clk or negedge cpurst_b)
begin
  if (!cpurst_b)
    sd_ex1_inst_vld  <=  1'b0;
  else
    sd_ex1_inst_vld  <=  sd_rf_ex1_inst_vld;
end




always @(posedge sd_ex1_clk or negedge cpurst_b)
begin
  if (!cpurst_b)
  begin
    sd_ex1_sdid_oh[LSIQ_ENTRY-1:0]  <=  {LSIQ_ENTRY{1'b0}};
    sd_ex1_secd                     <=  1'b0;
    sd_ex1_boundary                 <=  1'b0;
    sd_ex1_srcv0_vld                <=  1'b0;
    sd_ex1_srcv0_fr_vld             <=  1'b0;
  end
  else if (sd_ex1_clk_en)
  begin
    sd_ex1_sdid_oh[LSIQ_ENTRY-1:0]  <=  idu_lsu_rf_pipe5_sdiq_entry[LSIQ_ENTRY-1:0];
    sd_ex1_secd                     <=  idu_lsu_rf_pipe5_stdata1_vld;
    sd_ex1_boundary                 <=  idu_lsu_rf_pipe5_unalign;
    sd_ex1_srcv0_vld                <=  idu_lsu_rf_pipe5_srcv0_vld;
    sd_ex1_srcv0_fr_vld             <=  idu_lsu_rf_pipe5_srcv0_fr_vld;
  end
end

always @(posedge sd_ex1_data_clk or negedge cpurst_b)
begin
  if (!cpurst_b)
  sd_ex1_src0_data[63:0]            <=  64'b0;
  else if (sd_ex1_data_clk_en)
  sd_ex1_src0_data[63:0]            <=  idu_lsu_rf_pipe5_src0[63:0];
end

always @(posedge sd_ex1_vdata_clk or negedge cpurst_b)
begin
  if (!cpurst_b)
  begin
    sd_ex1_srcv0_vr1_data[63:0]     <=  64'b0;
    sd_ex1_srcv0_vr0_data[63:0]     <=  64'b0;
    sd_ex1_srcv0_fr_data[63:0]      <=  64'b0;
  end
  else if (sd_ex1_vdata_clk_en)
  begin
    sd_ex1_srcv0_vr1_data[63:0]     <=  idu_lsu_rf_pipe5_srcv0_vr1[63:0];
    sd_ex1_srcv0_vr0_data[63:0]     <=  idu_lsu_rf_pipe5_srcv0_vr0[63:0];
    sd_ex1_srcv0_fr_data[63:0]      <=  idu_lsu_rf_pipe5_srcv0_fr[63:0];
  end
end



assign sd_ex1_data_64[63:0]  = sd_ex1_srcv0_vld  
                               ? (sd_ex1_srcv0_fr_vld
                                  ? sd_ex1_srcv0_fr_data[63:0]
                                  : sd_ex1_srcv0_vr0_data[63:0])
                               : sd_ex1_src0_data[63:0];



assign sd_ex1_data[63:0]         = sd_ex1_data_64[63:0];
assign sd_ex1_data_bypass[127:0] = {64'b0,sd_ex1_data_64[63:0]};



assign lsu_idu_ex1_sdiq_pop_vld   = sd_ex1_inst_vld
                                    &&  (!sd_ex1_boundary  ||  sd_ex1_secd);
assign lsu_idu_ex1_sdiq_frz_clr   = sd_ex1_inst_vld
                                    &&  sd_ex1_boundary
                                    &&  !sd_ex1_secd;
assign lsu_idu_ex1_sdiq_entry[LSIQ_ENTRY-1:0] = sd_ex1_sdid_oh[LSIQ_ENTRY-1:0];


endmodule
module ct_lsu_sd_ex1(
  cp0_lsu_icg_en,
  cp0_yy_clk_en,
  cpurst_b,
  ctrl_st_clk,
  forever_cpuclk,
  idu_lsu_rf_pipe5_gateclk_sel,
  idu_lsu_rf_pipe5_sdiq_entry,
  idu_lsu_rf_pipe5_sel,
  idu_lsu_rf_pipe5_src0,
  idu_lsu_rf_pipe5_srcv0_fr,
  idu_lsu_rf_pipe5_srcv0_fr_vld,
  idu_lsu_rf_pipe5_srcv0_vld,
  idu_lsu_rf_pipe5_srcv0_vr0,
  idu_lsu_rf_pipe5_srcv0_vr1,
  idu_lsu_rf_pipe5_stdata1_vld,
  idu_lsu_rf_pipe5_unalign,
  lsu_idu_ex1_sdiq_entry,
  lsu_idu_ex1_sdiq_frz_clr,
  lsu_idu_ex1_sdiq_pop_vld,
  pad_yy_icg_scan_en,
  rtu_yy_xx_flush,
  sd_ex1_data,
  sd_ex1_data_bypass,
  sd_ex1_inst_vld,
  sd_rf_ex1_sdid,
  sd_rf_inst_vld_short
);



input            cp0_lsu_icg_en;               
input            cp0_yy_clk_en;                
input            cpurst_b;                     
input            ctrl_st_clk;                  
input            forever_cpuclk;               
input            idu_lsu_rf_pipe5_gateclk_sel; 
input   [11 :0]  idu_lsu_rf_pipe5_sdiq_entry;  
input            idu_lsu_rf_pipe5_sel;         
input   [63 :0]  idu_lsu_rf_pipe5_src0;        
input   [63 :0]  idu_lsu_rf_pipe5_srcv0_fr;    
input            idu_lsu_rf_pipe5_srcv0_fr_vld; 
input            idu_lsu_rf_pipe5_srcv0_vld;   
input   [63 :0]  idu_lsu_rf_pipe5_srcv0_vr0;   
input   [63 :0]  idu_lsu_rf_pipe5_srcv0_vr1;   
input            idu_lsu_rf_pipe5_stdata1_vld; 
input            idu_lsu_rf_pipe5_unalign;     
input            pad_yy_icg_scan_en;           
input            rtu_yy_xx_flush;              
output  [11 :0]  lsu_idu_ex1_sdiq_entry;       
output           lsu_idu_ex1_sdiq_frz_clr;     
output           lsu_idu_ex1_sdiq_pop_vld;     
output  [63 :0]  sd_ex1_data;                  
output  [127:0]  sd_ex1_data_bypass;           
output           sd_ex1_inst_vld;              
output  [3  :0]  sd_rf_ex1_sdid;               
output           sd_rf_inst_vld_short;         


reg              sd_ex1_boundary;              
reg              sd_ex1_inst_vld;              
reg     [11 :0]  sd_ex1_sdid_oh;               
reg              sd_ex1_secd;                  
reg     [63 :0]  sd_ex1_src0_data;             
reg     [63 :0]  sd_ex1_srcv0_fr_data;         
reg              sd_ex1_srcv0_fr_vld;          
reg              sd_ex1_srcv0_vld;             
reg     [63 :0]  sd_ex1_srcv0_vr0_data;        
reg     [63 :0]  sd_ex1_srcv0_vr1_data;        


wire             cp0_lsu_icg_en;               
wire             cp0_yy_clk_en;                
wire             cpurst_b;                     
wire             ctrl_st_clk;                  
wire             forever_cpuclk;               
wire             idu_lsu_rf_pipe5_gateclk_sel; 
wire    [11 :0]  idu_lsu_rf_pipe5_sdiq_entry;  
wire             idu_lsu_rf_pipe5_sel;         
wire    [63 :0]  idu_lsu_rf_pipe5_src0;        
wire    [63 :0]  idu_lsu_rf_pipe5_srcv0_fr;    
wire             idu_lsu_rf_pipe5_srcv0_fr_vld; 
wire             idu_lsu_rf_pipe5_srcv0_vld;   
wire    [63 :0]  idu_lsu_rf_pipe5_srcv0_vr0;   
wire    [63 :0]  idu_lsu_rf_pipe5_srcv0_vr1;   
wire             idu_lsu_rf_pipe5_stdata1_vld; 
wire             idu_lsu_rf_pipe5_unalign;     
wire    [11 :0]  lsu_idu_ex1_sdiq_entry;       
wire             lsu_idu_ex1_sdiq_frz_clr;     
wire             lsu_idu_ex1_sdiq_pop_vld;     
wire             pad_yy_icg_scan_en;           
wire             rtu_yy_xx_flush;              
wire             sd_ex1_clk;                   
wire             sd_ex1_clk_en;                
wire    [63 :0]  sd_ex1_data;                  
wire    [63 :0]  sd_ex1_data_64;               
wire    [127:0]  sd_ex1_data_bypass;           
wire             sd_ex1_data_clk;              
wire             sd_ex1_data_clk_en;           
wire             sd_ex1_vdata_clk;             
wire             sd_ex1_vdata_clk_en;          
wire             sd_rf_ex1_inst_vld;           
wire    [3  :0]  sd_rf_ex1_sdid;               
wire             sd_rf_inst_vld_short;         


parameter LSIQ_ENTRY  = 12;




assign sd_ex1_clk_en = idu_lsu_rf_pipe5_gateclk_sel;

gated_clk_cell  x_lsu_sd_ex1_gated_clk (
  .clk_in             (forever_cpuclk    ),
  .clk_out            (sd_ex1_clk        ),
  .external_en        (1'b0              ),
  .global_en          (cp0_yy_clk_en     ),
  .local_en           (sd_ex1_clk_en     ),
  .module_en          (cp0_lsu_icg_en    ),
  .pad_yy_icg_scan_en (pad_yy_icg_scan_en)
);








assign sd_ex1_data_clk_en = idu_lsu_rf_pipe5_gateclk_sel 
                            && !idu_lsu_rf_pipe5_srcv0_vld;

gated_clk_cell  x_lsu_sd_ex1_data_gated_clk (
  .clk_in             (forever_cpuclk    ),
  .clk_out            (sd_ex1_data_clk   ),
  .external_en        (1'b0              ),
  .global_en          (cp0_yy_clk_en     ),
  .local_en           (sd_ex1_data_clk_en),
  .module_en          (cp0_lsu_icg_en    ),
  .pad_yy_icg_scan_en (pad_yy_icg_scan_en)
);








assign sd_ex1_vdata_clk_en = idu_lsu_rf_pipe5_gateclk_sel
                             && idu_lsu_rf_pipe5_srcv0_vld;

gated_clk_cell  x_lsu_sd_ex1_vdata_gated_clk (
  .clk_in              (forever_cpuclk     ),
  .clk_out             (sd_ex1_vdata_clk   ),
  .external_en         (1'b0               ),
  .global_en           (cp0_yy_clk_en      ),
  .local_en            (sd_ex1_vdata_clk_en),
  .module_en           (cp0_lsu_icg_en     ),
  .pad_yy_icg_scan_en  (pad_yy_icg_scan_en )
);










assign sd_rf_ex1_sdid[3:0]  = {4{idu_lsu_rf_pipe5_sdiq_entry[0]}} & 4'd0
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[1]}} & 4'd1
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[2]}} & 4'd2
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[3]}} & 4'd3
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[4]}} & 4'd4
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[5]}} & 4'd5
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[6]}} & 4'd6
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[7]}} & 4'd7
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[8]}} & 4'd8
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[9]}} & 4'd9
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[10]}} & 4'd10
                              | {4{idu_lsu_rf_pipe5_sdiq_entry[11]}} & 4'd11;









assign sd_rf_inst_vld_short = idu_lsu_rf_pipe5_gateclk_sel;
assign sd_rf_ex1_inst_vld = idu_lsu_rf_pipe5_sel  &&  !rtu_yy_xx_flush;

always @(posedge ctrl_st_clk or negedge cpurst_b)
begin
  if (!cpurst_b)
    sd_ex1_inst_vld  <=  1'b0;
  else
    sd_ex1_inst_vld  <=  sd_rf_ex1_inst_vld;
end




always @(posedge sd_ex1_clk or negedge cpurst_b)
begin
  if (!cpurst_b)
  begin
    sd_ex1_sdid_oh[LSIQ_ENTRY-1:0]  <=  {LSIQ_ENTRY{1'b0}};
    sd_ex1_secd                     <=  1'b0;
    sd_ex1_boundary                 <=  1'b0;
    sd_ex1_srcv0_vld                <=  1'b0;
    sd_ex1_srcv0_fr_vld             <=  1'b0;
  end
  else if (sd_ex1_clk_en)
  begin
    sd_ex1_sdid_oh[LSIQ_ENTRY-1:0]  <=  idu_lsu_rf_pipe5_sdiq_entry[LSIQ_ENTRY-1:0];
    sd_ex1_secd                     <=  idu_lsu_rf_pipe5_stdata1_vld;
    sd_ex1_boundary                 <=  idu_lsu_rf_pipe5_unalign;
    sd_ex1_srcv0_vld                <=  idu_lsu_rf_pipe5_srcv0_vld;
    sd_ex1_srcv0_fr_vld             <=  idu_lsu_rf_pipe5_srcv0_fr_vld;
  end
end

always @(posedge sd_ex1_data_clk or negedge cpurst_b)
begin
  if (!cpurst_b)
  sd_ex1_src0_data[63:0]            <=  64'b0;
  else if (sd_ex1_data_clk_en)
  sd_ex1_src0_data[63:0]            <=  idu_lsu_rf_pipe5_src0[63:0];
end

always @(posedge sd_ex1_vdata_clk or negedge cpurst_b)
begin
  if (!cpurst_b)
  begin
    sd_ex1_srcv0_vr1_data[63:0]     <=  64'b0;
    sd_ex1_srcv0_vr0_data[63:0]     <=  64'b0;
    sd_ex1_srcv0_fr_data[63:0]      <=  64'b0;
  end
  else if (sd_ex1_vdata_clk_en)
  begin
    sd_ex1_srcv0_vr1_data[63:0]     <=  idu_lsu_rf_pipe5_srcv0_vr1[63:0];
    sd_ex1_srcv0_vr0_data[63:0]     <=  idu_lsu_rf_pipe5_srcv0_vr0[63:0];
    sd_ex1_srcv0_fr_data[63:0]      <=  idu_lsu_rf_pipe5_srcv0_fr[63:0];
  end
end



assign sd_ex1_data_64[63:0]  = sd_ex1_srcv0_vld  
                               ? (sd_ex1_srcv0_fr_vld
                                  ? sd_ex1_srcv0_fr_data[63:0]
                                  : sd_ex1_srcv0_vr0_data[63:0])
                               : sd_ex1_src0_data[63:0];



assign sd_ex1_data[63:0]         = sd_ex1_data_64[63:0];
assign sd_ex1_data_bypass[127:0] = {64'b0,sd_ex1_data_64[63:0]};



assign lsu_idu_ex1_sdiq_pop_vld   = sd_ex1_inst_vld
                                    &&  (!sd_ex1_boundary  ||  sd_ex1_secd);
assign lsu_idu_ex1_sdiq_frz_clr   = sd_ex1_inst_vld
                                    &&  sd_ex1_boundary
                                    &&  !sd_ex1_secd;
assign lsu_idu_ex1_sdiq_entry[LSIQ_ENTRY-1:0] = sd_ex1_sdid_oh[LSIQ_ENTRY-1:0];


endmodule