axi_dmac: address_generator: Fix disable race condition
If the address generator is disabled the very same cycle as it tries to put a new address on the bus, it will keep sending this address forever and the core will lock up Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>main
parent
6da9c65a08
commit
8326022adc
|
@ -115,7 +115,7 @@ always @(posedge clk) begin
|
|||
addr_valid <= 1'b0;
|
||||
if (eot)
|
||||
req_ready <= 1'b1;
|
||||
end else if (id != wait_id) begin
|
||||
end else if (id != wait_id && enable) begin
|
||||
addr_valid <= 1'b1;
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue