From 9ad05b21ca5ec31cf10d2f576de42e17692fc418 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 2 Mar 2015 09:05:18 +0100 Subject: [PATCH] sdram: fix remaining data_valid in dma_lasmi --- misoclib/mem/sdram/frontend/dma_lasmi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misoclib/mem/sdram/frontend/dma_lasmi.py b/misoclib/mem/sdram/frontend/dma_lasmi.py index de31bda7..c027b2c1 100644 --- a/misoclib/mem/sdram/frontend/dma_lasmi.py +++ b/misoclib/mem/sdram/frontend/dma_lasmi.py @@ -80,8 +80,8 @@ class Writer(Module): ] self.comb += [ - fifo.re.eq(lasmim.dat_w_ack), - If(data_valid, + If(lasmim.dat_w_ack, + fifo.re.eq(1), lasmim.dat_we.eq(2**(lasmim.dw//8)-1), lasmim.dat_w.eq(fifo.dout) ), -- 2.30.2