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.ack, self.source.stb.eq(0)),
If(~self.source.stb, If(~self.source.stb,
self.sink.payload.connect(self.source.payload, self.sink.payload.connect(self.source.payload,
leave_out={"timestamp"}), omit={"timestamp"}),
self.source.payload.timestamp.eq(self.sink.payload.timestamp self.source.payload.timestamp.eq(self.sink.payload.timestamp
+ self.time_offset.storage), + self.time_offset.storage),
self.source.eop.eq(self.sink.eop), self.source.eop.eq(self.sink.eop),