Skip to content

Commit 73033b6

Browse files
LuziLuciaLucia Luzi
authored andcommitted
Fix DMCPY instruction for multi-channel iDMA
1 parent 28a39a0 commit 73033b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/frontend/inst64/idma_inst64_top.sv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,12 +423,12 @@ module idma_inst64_top #(
423423
// 5. acknowledge acc request (qready)
424424
if (acc_res_ready) begin
425425
idma_fe_req_valid [idma_fe_sel_chan] = 1'b1;
426-
if (idma_fe_req_ready) begin
426+
if (idma_fe_req_ready[idma_fe_sel_chan]) begin
427427
acc_res.id = acc_req_i.id;
428-
acc_res.data = next_id;
428+
acc_res.data = next_id[idma_fe_sel_chan];
429429
acc_res.error = 1'b0;
430430
acc_res_valid = 1'b1;
431-
acc_req_ready_o = idma_fe_req_ready;
431+
acc_req_ready_o = idma_fe_req_ready[idma_fe_sel_chan];
432432
end
433433
end
434434
end

0 commit comments

Comments
 (0)