liteusb/frontend/dma: remove +4 to length for CRC (we'll do it in core)
This commit is contained in:
parent
4d902b578c
commit
1fd189512f
|
@ -78,7 +78,7 @@ class LiteUSBDMAReader(Module, AutoCSR):
|
||||||
source.stb.eq(unpack.source.stb),
|
source.stb.eq(unpack.source.stb),
|
||||||
source.sop.eq(cnt == 0),
|
source.sop.eq(cnt == 0),
|
||||||
source.eop.eq(cnt == (self.dma.length*pack_factor-1)),
|
source.eop.eq(cnt == (self.dma.length*pack_factor-1)),
|
||||||
source.length.eq(self.dma.length*pack_factor+4),
|
source.length.eq(self.dma.length*pack_factor),
|
||||||
source.data.eq(unpack.source.data),
|
source.data.eq(unpack.source.data),
|
||||||
source.dst.eq(tag),
|
source.dst.eq(tag),
|
||||||
unpack.source.ack.eq(source.ack)
|
unpack.source.ack.eq(source.ack)
|
||||||
|
|
Loading…
Reference in New Issue