From: whitequark Date: Mon, 8 Jul 2019 10:00:16 +0000 (+0000) Subject: examples/basic/ctr_ce: fix outdated syntax. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e1bf24dbf20600c4758fa62a644ebfebdec14a8;p=nmigen.git examples/basic/ctr_ce: fix outdated syntax. --- diff --git a/examples/basic/ctr_ce.py b/examples/basic/ctr_ce.py index f839d67..bd20305 100644 --- a/examples/basic/ctr_ce.py +++ b/examples/basic/ctr_ce.py @@ -12,7 +12,7 @@ class Counter(Elaboratable): m = Module() m.d.sync += self.v.eq(self.v + 1) m.d.comb += self.o.eq(self.v[-1]) - return CEInserter(self.ce)(m.lower(platform)) + return CEInserter(self.ce)(m) ctr = Counter(width=16)