2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

artiq/gateware/rtio/dma: replace leave_out with omit in Record.connect

This commit is contained in:
Florent Kermarrec 2017-07-04 10:48:06 +02:00
parent 5b26e5de6c
commit 2910b1be5e

View File

@ -230,7 +230,7 @@ class TimeOffset(Module, AutoCSR):
If(self.source.ack, self.source.stb.eq(0)),
If(~self.source.stb,
self.sink.payload.connect(self.source.payload,
leave_out={"timestamp"}),
omit={"timestamp"}),
self.source.payload.timestamp.eq(self.sink.payload.timestamp
+ self.time_offset.storage),
self.source.eop.eq(self.sink.eop),