Skip to content

Commit

Permalink
[hardware] Fix bug in the DMA's distributed midend
Browse files Browse the repository at this point in the history
When a DMA request finishes in the same cycle as we cut one off we have
to wait a cycle. This will need proper handshaking in the future
  • Loading branch information
SamuelRiedel committed Oct 12, 2023
1 parent e34c3a1 commit f6449c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hardware/deps/idma/src/midends/idma_distributed_midend.sv
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ module idma_distributed_midend #(
// Do not interfere with metadata per default
tie_off_trans_complete_d = '0;
for (int i = 0; i < NoMstPorts; i++) begin
tie_off_trans_complete_d[i] = tie_off_trans_complete_q[i] && meta_i[i].trans_complete;
// Feed metadata through directly
burst_req_o[i] = burst_req_i;
// Feed through the address bits
Expand Down

0 comments on commit f6449c3

Please sign in to comment.