avl_dacfifo: Fix write enable generation

Data is written into the CDC FIFO if both dma_ready and dma_valid are
asserted. This two signals is enough to validate the data coming from
the DMA.
main
Istvan Csomortani 2017-11-01 12:10:43 +00:00
parent 6895915076
commit 610a237730
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ module avl_dacfifo_wr #(
// write address generation // write address generation
assign dma_mem_wea_s = dma_ready & dma_valid & dma_xfer_req_lp; assign dma_mem_wea_s = dma_ready & dma_valid;
always @(posedge dma_clk) begin always @(posedge dma_clk) begin
if ((dma_fifo_reset_s == 1'b1) || (dma_avl_xfer_req_out == 1'b1)) begin if ((dma_fifo_reset_s == 1'b1) || (dma_avl_xfer_req_out == 1'b1)) begin