examples/basic/ctr_ce: fix outdated syntax.

This commit is contained in:
whitequark 2019-07-08 10:00:16 +00:00
parent 447bfa6ad5
commit c14d074fcc

View file

@ -12,7 +12,7 @@ class Counter(Elaboratable):
m = Module() m = Module()
m.d.sync += self.v.eq(self.v + 1) m.d.sync += self.v.eq(self.v + 1)
m.d.comb += self.o.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) ctr = Counter(width=16)