forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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),