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
Lars-Peter Clausen 2015-02-19 14:31:08 +01:00
parent 582ea06918
commit 731e1c0996
1 changed files with 1 additions and 1 deletions

View File

@ -1007,7 +1007,7 @@ dmac_request_generator #(
.req_ready(req_gen_ready),
.req_burst_count(req_length[C_DMA_LENGTH_WIDTH-1:BYTES_PER_BURST_WIDTH]),
.enable(enable),
.enable(do_enable),
.pause(pause),
.eot(request_eot)