Skip to content

Commit

Permalink
Fixing regbus (a)synchronous parameters and rearranging connections.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvan Tortorella committed Aug 3, 2024
1 parent a22b261 commit abb1d3e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hw/carfield.sv
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ for (genvar i=0; i<NumSyncRegSlv; i++ ) begin : gen_chs_ext_reg_cut
);
end

// Passing the `ext_reg_req_cut[CarfieldRegBusSlvIdx.pcrs]` value to the
// Passsing the `ext_reg_req_cut[CarfieldRegBusSlvIdx.pcrs]` value to the
// reg_req_i/rsp_o buses results in Questa's `Fatal: Unexpected signal: 11.`
// at compile time. Direct casting 'int(CarfieldRegBusSlvIdx.pcrs) also does
// not work resulting in the ext_reg_rsp_cut bus being all X. The localparam
Expand Down Expand Up @@ -1098,12 +1098,14 @@ if (CarfieldIslandsCfg.l2_port0.enable) begin: gen_l2
.slvport_w_data_i ( axi_slv_ext_w_data [NumL2Ports-1:0] ),
.slvport_w_wptr_i ( axi_slv_ext_w_wptr [NumL2Ports-1:0] ),
.slvport_w_rptr_o ( axi_slv_ext_w_rptr [NumL2Ports-1:0] ),
// verilog_lint: waive-start line-length
.l2_ecc_reg_async_mst_req_i ( ext_reg_async_slv_req_out [EccAsyncIdx] ),
.l2_ecc_reg_async_mst_ack_o ( ext_reg_async_slv_ack_in [EccAsyncIdx] ),
.l2_ecc_reg_async_mst_data_i ( ext_reg_async_slv_data_out[EccAsyncIdx] ),
.l2_ecc_reg_async_mst_req_o ( ext_reg_async_slv_req_in [EccAsyncIdx] ),
.l2_ecc_reg_async_mst_ack_i ( ext_reg_async_slv_ack_out [EccAsyncIdx] ),
.l2_ecc_reg_async_mst_data_o ( ext_reg_async_slv_data_in [EccAsyncIdx] ),
// verilog_lint: waive-stop line-length
.ecc_error_o ( l2_ecc_err )
);
end else begin: gen_no_l2
Expand Down Expand Up @@ -1656,10 +1658,14 @@ if (CarfieldIslandsCfg.spatz.enable) begin : gen_spatz_cluster
assign spatzcl_mbox_intr = hostd_spatzcl_mbox_intr_ored | safed_spatzcl_mbox_intr;
// verilog_lint: waive-stop line-length
end else begin : gen_no_spatz_cluster
assign spatzcl_mbox_intr = '0;
assign spatzcl_timer_intr = '0;
assign car_regs_hw2reg.spatz_cluster_isolate_status.d = 1'b0;
assign car_regs_hw2reg.spatz_cluster_isolate_status.de = 1'b0;
assign car_regs_hw2reg.spatz_cluster_busy.d = '0;
assign car_regs_hw2reg.spatz_cluster_busy.de = 1'b0;
assign safed_spatzcl_mbox_intr = '0;
assign hostd_spatzcl_mbox_intr = '0;
assign spatzcl_hostd_mbox_intr = '0;
assign spatzcl_safed_mbox_intr = '0;
assign spatz_rst_n = '0;
Expand Down

0 comments on commit abb1d3e

Please sign in to comment.