avl_dacfifo: dma_last_beats is transfered to avalon clock domain, without conditioning

The dma_last_beats is used by the Avalon Memory Mapped interface
controller, to define the last burst length.
Its value get stable after the last valid data of the DMA interface, and staying
stable until the positive edge of the DMA's xfer_req.

No need to condition the transfer of this register to avalon clock
domain.
main
Istvan Csomortani 2017-12-12 16:57:09 +00:00
parent 3b4aaec926
commit aaff5a8d6a
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ module avl_dacfifo_wr #(
end else begin
avl_dma_last_beats_m1 <= dma_last_beats;
avl_dma_last_beats_m2 <= avl_dma_last_beats_m1;
avl_dma_last_beats <= (avl_write_int_s) ? avl_dma_last_beats_m2 : avl_dma_last_beats;
avl_dma_last_beats <= avl_dma_last_beats_m2;
end
end