sdram: fix remaining data_valid in dma_lasmi

This commit is contained in:
Florent Kermarrec 2015-03-02 09:05:18 +01:00
parent 88e7fa21e4
commit 9ad05b21ca
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ class Writer(Module):
] ]
self.comb += [ self.comb += [
fifo.re.eq(lasmim.dat_w_ack), If(lasmim.dat_w_ack,
If(data_valid, fifo.re.eq(1),
lasmim.dat_we.eq(2**(lasmim.dw//8)-1), lasmim.dat_we.eq(2**(lasmim.dw//8)-1),
lasmim.dat_w.eq(fifo.dout) lasmim.dat_w.eq(fifo.dout)
), ),