From: whitequark Date: Mon, 8 Jul 2019 10:00:16 +0000 (+0000) Subject: examples/basic/ctr_ce: fix outdated syntax. X-Git-Tag: locally_working~93 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c14d074fcc70ed3bc328fbfb930416b41f055a2c;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)