From 9d6f3de4488476ac711ca96c87e80b2acb75be50 Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Thu, 30 Aug 2018 20:36:00 +0100 Subject: [PATCH] axi_dmac: assert xfer_request only when ready If the req_valid asserts faster than the ID gets synchronized over we assert the xfer request without being ready to accept data. This can lead to overflow assertion when using a FIFO like interface. --- library/axi_dmac/data_mover.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/axi_dmac/data_mover.v b/library/axi_dmac/data_mover.v index 077d9f6b8..4b8a23a85 100644 --- a/library/axi_dmac/data_mover.v +++ b/library/axi_dmac/data_mover.v @@ -105,7 +105,7 @@ wire last_load; wire last; wire early_tlast; -assign xfer_req = active; +assign xfer_req = active & pending_burst; assign response_id = id;