sdram: fix remaining data_valid in dma_lasmi
This commit is contained in:
parent
88e7fa21e4
commit
9ad05b21ca
|
@ -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)
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue