From 33e36dc4d714427a2f7206d91d5be79a934805c0 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 21 Apr 2016 08:03:31 +0200 Subject: [PATCH] use new Record.connect omit parameter (replace leave_out) --- liteeth/core/mac/preamble.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liteeth/core/mac/preamble.py b/liteeth/core/mac/preamble.py index a346583..a9fd4aa 100644 --- a/liteeth/core/mac/preamble.py +++ b/liteeth/core/mac/preamble.py @@ -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"), )