examples/basic/ctr_ce: fix outdated syntax.
authorwhitequark <cz@m-labs.hk>
Mon, 8 Jul 2019 10:00:16 +0000 (10:00 +0000)
committerwhitequark <cz@m-labs.hk>
Mon, 8 Jul 2019 10:12:26 +0000 (10:12 +0000)
examples/basic/ctr_ce.py

index f839d67c28ee0d7f517c69425537e0bdd3ae8059..bd2030510b17d08371972567f994244fd53b2a95 100644 (file)
@@ -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)