axi_dmac: Use internal enable signal for the request generator
All components should use the internal 'do_enable' signal instead of the external 'enable' signal. The former correctly incorporates the shutdown sequence and does not get asserted again until the shutdown has been completed. Using the external signal can cause problems when it is disabled and enabled again in close proximity. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>main
parent
582ea06918
commit
731e1c0996
|
@ -1007,7 +1007,7 @@ dmac_request_generator #(
|
||||||
.req_ready(req_gen_ready),
|
.req_ready(req_gen_ready),
|
||||||
.req_burst_count(req_length[C_DMA_LENGTH_WIDTH-1:BYTES_PER_BURST_WIDTH]),
|
.req_burst_count(req_length[C_DMA_LENGTH_WIDTH-1:BYTES_PER_BURST_WIDTH]),
|
||||||
|
|
||||||
.enable(enable),
|
.enable(do_enable),
|
||||||
.pause(pause),
|
.pause(pause),
|
||||||
|
|
||||||
.eot(request_eot)
|
.eot(request_eot)
|
||||||
|
|
Loading…
Reference in New Issue