Skip to content

Commit

Permalink
chimney: Fix double driven signals
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Nov 1, 2023
1 parent b4a54f6 commit 78ed65a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/floo_axi_chimney.sv
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ module floo_axi_chimney
.rst_ni,
.data_i ( axi_in_req_i.aw ),
.valid_i ( axi_in_req_i.aw_valid ),
.ready_o ( axi_in_rsp_o.aw_ready ),
.ready_o ( axi_rsp_out.aw_ready ),
.data_o ( axi_aw_queue ),
.valid_o ( axi_aw_queue_valid_out ),
.ready_i ( axi_aw_queue_ready_in )
Expand All @@ -168,7 +168,7 @@ module floo_axi_chimney
.rst_ni,
.data_i ( axi_in_req_i.ar ),
.valid_i ( axi_in_req_i.ar_valid ),
.ready_o ( axi_in_rsp_o.ar_ready ),
.ready_o ( axi_rsp_out.ar_ready ),
.data_o ( axi_ar_queue ),
.valid_o ( axi_ar_queue_valid_out ),
.ready_i ( axi_ar_queue_ready_in )
Expand Down
16 changes: 8 additions & 8 deletions src/floo_narrow_wide_chimney.sv
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ module floo_narrow_wide_chimney
.rst_ni,
.data_i ( axi_narrow_in_req_i.aw ),
.valid_i ( axi_narrow_in_req_i.aw_valid ),
.ready_o ( axi_narrow_in_rsp_o.aw_ready ),
.ready_o ( axi_narrow_rsp_out.aw_ready ),
.data_o ( axi_narrow_aw_queue ),
.valid_o ( axi_narrow_aw_queue_valid_out ),
.ready_i ( axi_narrow_aw_queue_ready_in )
Expand All @@ -225,7 +225,7 @@ module floo_narrow_wide_chimney
.rst_ni,
.data_i ( axi_narrow_in_req_i.ar ),
.valid_i ( axi_narrow_in_req_i.ar_valid ),
.ready_o ( axi_narrow_in_rsp_o.ar_ready ),
.ready_o ( axi_narrow_rsp_out.ar_ready ),
.data_o ( axi_narrow_ar_queue ),
.valid_o ( axi_narrow_ar_queue_valid_out ),
.ready_i ( axi_narrow_ar_queue_ready_in )
Expand All @@ -234,10 +234,10 @@ module floo_narrow_wide_chimney
end else begin : gen_ax_no_cuts
assign axi_narrow_aw_queue = axi_narrow_in_req_i.aw;
assign axi_narrow_aw_queue_valid_out = axi_narrow_in_req_i.aw_valid;
assign axi_narrow_in_rsp_o.aw_ready = axi_narrow_aw_queue_ready_in;
assign axi_narrow_rsp_out.aw_ready = axi_narrow_aw_queue_ready_in;
assign axi_narrow_ar_queue = axi_narrow_in_req_i.ar;
assign axi_narrow_ar_queue_valid_out = axi_narrow_in_req_i.ar_valid;
assign axi_narrow_in_rsp_o.ar_ready = axi_narrow_ar_queue_ready_in;
assign axi_narrow_rsp_out.ar_ready = axi_narrow_ar_queue_ready_in;
end

end else begin : gen_narrow_err_slv_port
Expand Down Expand Up @@ -273,7 +273,7 @@ module floo_narrow_wide_chimney
.rst_ni,
.data_i ( axi_wide_in_req_i.aw ),
.valid_i ( axi_wide_in_req_i.aw_valid ),
.ready_o ( axi_wide_in_rsp_o.aw_ready ),
.ready_o ( axi_wide_rsp_out.aw_ready ),
.data_o ( axi_wide_aw_queue ),
.valid_o ( axi_wide_aw_queue_valid_out ),
.ready_i ( axi_wide_aw_queue_ready_in )
Expand All @@ -286,18 +286,18 @@ module floo_narrow_wide_chimney
.rst_ni,
.data_i ( axi_wide_in_req_i.ar ),
.valid_i ( axi_wide_in_req_i.ar_valid ),
.ready_o ( axi_wide_in_rsp_o.ar_ready ),
.ready_o ( axi_wide_rsp_out.ar_ready ),
.data_o ( axi_wide_ar_queue ),
.valid_o ( axi_wide_ar_queue_valid_out ),
.ready_i ( axi_wide_ar_queue_ready_in )
);
end else begin : gen_ax_no_cuts
assign axi_wide_aw_queue = axi_wide_in_req_i.aw;
assign axi_wide_aw_queue_valid_out = axi_wide_in_req_i.aw_valid;
assign axi_wide_in_rsp_o.aw_ready = axi_wide_aw_queue_ready_in;
assign axi_wide_rsp_out.aw_ready = axi_wide_aw_queue_ready_in;
assign axi_wide_ar_queue = axi_wide_in_req_i.ar;
assign axi_wide_ar_queue_valid_out = axi_wide_in_req_i.ar_valid;
assign axi_wide_in_rsp_o.ar_ready = axi_wide_ar_queue_ready_in;
assign axi_wide_rsp_out.ar_ready = axi_wide_ar_queue_ready_in;
end
end else begin : gen_wide_err_slv_port
axi_err_slv #(
Expand Down

0 comments on commit 78ed65a

Please sign in to comment.