forked from M-Labs/artiq
artiq/gateware/rtio/dma: replace leave_out with omit in Record.connect
This commit is contained in:
parent
5b26e5de6c
commit
2910b1be5e
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user