diff --git a/hw/cheshire_soc.sv b/hw/cheshire_soc.sv index 1a482ac0..a5c2d072 100644 --- a/hw/cheshire_soc.sv +++ b/hw/cheshire_soc.sv @@ -678,21 +678,6 @@ module cheshire_soc import cheshire_pkg::*; #( } }; - reg_req_t clic_reg_req; - reg_rsp_t clic_reg_rsp; - - reg_cut #( - .req_t ( reg_req_t ), - .rsp_t ( reg_rsp_t ) - ) clic_reg_cut_i ( - .clk_i, - .rst_ni, - .src_req_i ( reg_out_req[RegOut.clic[i]] ), - .src_rsp_o ( reg_out_rsp[RegOut.clic[i]] ), - .dst_req_o ( clic_reg_req ), - .dst_rsp_i ( clic_reg_rsp ) - ); - clic #( .N_SOURCE ( NumClicIntrs ), .INTCTLBITS ( Cfg.ClicIntCtlBits ), @@ -707,8 +692,8 @@ module cheshire_soc import cheshire_pkg::*; #( ) i_clic ( .clk_i, .rst_ni, - .reg_req_i ( clic_reg_req ), - .reg_rsp_o ( clic_reg_rsp ), + .reg_req_i ( reg_out_req[RegOut.clic[i]] ), + .reg_rsp_o ( reg_out_rsp[RegOut.clic[i]] ), .intr_src_i ( clic_intr ), .irq_valid_o ( clic_irq_valid ), .irq_ready_i ( clic_irq_ready ),