From 52375bb8657b041eb5076bf377457349dfa0f887 Mon Sep 17 00:00:00 2001 From: "msc24h31 Lucia Luzi (luzil)" Date: Tue, 10 Dec 2024 23:21:24 +0100 Subject: [PATCH] testing a fix for the request id that is returned when starting a DMA transfer --- src/frontend/inst64/idma_inst64_top.sv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/inst64/idma_inst64_top.sv b/src/frontend/inst64/idma_inst64_top.sv index 9d27869..cd702d0 100644 --- a/src/frontend/inst64/idma_inst64_top.sv +++ b/src/frontend/inst64/idma_inst64_top.sv @@ -423,12 +423,12 @@ module idma_inst64_top #( // 5. acknowledge acc request (qready) if (acc_res_ready) begin idma_fe_req_valid [idma_fe_sel_chan] = 1'b1; - if (idma_fe_req_ready) begin + if (idma_fe_req_ready[idma_fe_sel_chan]) begin acc_res.id = acc_req_i.id; - acc_res.data = next_id; + acc_res.data = next_id[idma_fe_sel_chan]; acc_res.error = 1'b0; acc_res_valid = 1'b1; - acc_req_ready_o = idma_fe_req_ready; + acc_req_ready_o = idma_fe_req_ready[idma_fe_sel_chan]; end end end