liteusb/frontend/dma: remove +4 to length for CRC (we'll do it in core)

This commit is contained in:
Florent Kermarrec 2015-05-07 20:03:55 +02:00
parent 4d902b578c
commit 1fd189512f
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class LiteUSBDMAReader(Module, AutoCSR):
source.stb.eq(unpack.source.stb),
source.sop.eq(cnt == 0),
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.dst.eq(tag),
unpack.source.ack.eq(source.ack)