From fa99afcf94c999d4d163bae293ad855fa950a416 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Fri, 4 May 2018 14:17:11 +0200 Subject: [PATCH] axi_dmac: dest_axi_mm: Simplify dependency management There is an implicit dependency between the outgoing data stream and the incoming response stream. The AXI specification requires that the corresponding response is not sent before the last beat of data has been received. We can take advantage of this and remove the currently explicit dependency between the data and response paths. This slightly simplifies the design. Signed-off-by: Lars-Peter Clausen --- library/axi_dmac/dest_axi_mm.v | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/axi_dmac/dest_axi_mm.v b/library/axi_dmac/dest_axi_mm.v index 08de9e6d65..f32cf65683 100644 --- a/library/axi_dmac/dest_axi_mm.v +++ b/library/axi_dmac/dest_axi_mm.v @@ -100,7 +100,6 @@ wire data_req_valid; wire data_req_ready; wire address_enabled; -wire data_enabled; splitter #( .NUM_M(2) @@ -161,8 +160,9 @@ dmac_data_mover # ( .clk(m_axi_aclk), .resetn(m_axi_aresetn), - .enable(address_enabled), - .enabled(data_enabled), + /* Unused. AXI protocol guarantees ordering */ + .enable(1'b1), + .enabled(), .xfer_req(), @@ -194,11 +194,11 @@ dmac_response_handler #( .bready(m_axi_bready), .bresp(m_axi_bresp), - .enable(data_enabled), + .enable(address_enabled), .enabled(enabled), .id(response_id), - .request_id(data_id), + .request_id(address_id), .eot(response_eot),