From 29d590c951188816a948d9d87d500a4f3d6a8de7 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Tue, 18 Mar 2014 19:10:33 +0100 Subject: [PATCH] axi_dmac: response_generator: Do not generate responses during ID sync During an ID sync the request_id might increment, we should not generate a response in this case. Since the ID sync only happens when the core is disabled check that the core is enabled before generating a response. Signed-off-by: Lars-Peter Clausen --- library/axi_dmac/response_generator.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/axi_dmac/response_generator.v b/library/axi_dmac/response_generator.v index c43eb6e74..0e84989e4 100644 --- a/library/axi_dmac/response_generator.v +++ b/library/axi_dmac/response_generator.v @@ -63,7 +63,7 @@ parameter C_ID_WIDTH = 3; assign resp_resp = RESP_OKAY; assign resp_eot = eot; -assign resp_valid = request_id != response_id; +assign resp_valid = request_id != response_id && enabled; // We have to wait for all responses before we can disable the response handler always @(posedge clk) begin