8000 axi_dmac: fix non-blocking assignment in combinatorial block · analogdevicesinc/hdl@4c0f9a6 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 4c0f9a6

Browse files
aholtzma-amronagyl
authored andcommitted
axi_dmac: fix non-blocking assignment in combinatorial block
Non-blocking assignments in combinatorial blocks can cause simulation problems. In this particular case iverilog coughed up a hairball.
1 parent bfd4c77 commit 4c0f9a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/axi_dmac/axi_dmac_burst_memory.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ assign src_data_request_id = src_dest_id;
207207

208208
always @(*) begin
209209
if (src_last_beat == 1'b1) begin
210-
src_id_next <= inc_id(src_id);
210+
src_id_next = inc_id(src_id);
211211
end else begin
212-
src_id_next <= src_id;
212+
src_id_next = src_id;
213213
end
214214
end
215215

0 commit comments

Comments
 (0)
0