vendor.lattice_ice40: fix typo.
This commit is contained in:
parent
efb2d773c3
commit
d3ed390b9d
2
nmigen/vendor/lattice_ice40.py
vendored
2
nmigen/vendor/lattice_ice40.py
vendored
|
@ -133,7 +133,7 @@ class LatticeICE40Platform(TemplatedPlatform):
|
||||||
if invert is None:
|
if invert is None:
|
||||||
return y
|
return y
|
||||||
else:
|
else:
|
||||||
a = Signal.like(y, name="{}_x{}".format(a.name, 1 if invert else 0))
|
a = Signal.like(y, name="{}_x{}".format(y.name, 1 if invert else 0))
|
||||||
for bit in range(len(y)):
|
for bit in range(len(y)):
|
||||||
m.submodules += Instance("SB_LUT4",
|
m.submodules += Instance("SB_LUT4",
|
||||||
p_LUT_INIT=0b01 if invert else 0b10,
|
p_LUT_INIT=0b01 if invert else 0b10,
|
||||||
|
|
Loading…
Reference in a new issue