use new Record.connect omit parameter (replace leave_out)

This commit is contained in:
Florent Kermarrec 2016-04-21 08:03:31 +02:00
parent 8590310783
commit 33e36dc4d7
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class LiteEthMACPreambleInserter(Module):
self.source.last_be.eq(self.sink.last_be)
]
fsm.act("COPY",
self.sink.connect(self.source, leave_out=set(["data", "last_be"])),
self.sink.connect(self.source, omit=set(["data", "last_be"])),
If(self.sink.valid & self.sink.last & self.source.ready,
NextState("IDLE"),
@ -129,7 +129,7 @@ class LiteEthMACPreambleChecker(Module):
self.source.last_be.eq(self.sink.last_be)
]
fsm.act("COPY",
self.sink.connect(self.source, leave_out=set(["data", "last_be"])),
self.sink.connect(self.source, omit=set(["data", "last_be"])),
If(self.source.valid & self.source.last & self.source.ready,
NextState("IDLE"),
)