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.main
parent
bfd4c77284
commit
4c0f9a65f1
|
@ -207,9 +207,9 @@ assign src_data_request_id = src_dest_id;
|
||||||
|
|
||||||
always @(*) begin
|
always @(*) begin
|
||||||
if (src_last_beat == 1'b1) begin
|
if (src_last_beat == 1'b1) begin
|
||||||
src_id_next <= inc_id(src_id);
|
src_id_next = inc_id(src_id);
|
||||||
end else begin
|
end else begin
|
||||||
src_id_next <= src_id;
|
src_id_next = src_id;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue