Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/nmigen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: da1f58b7aef9
Choose a base ref
...
head repository: m-labs/nmigen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cb02a452e9c8
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jul 7, 2019

  1. vendor.lattice_ecp5: don't leave LUT inputs disconnected.

    This causes YosysHQ/nextpnr#301.
    
    Fixes #136.
    whitequark committed Jul 7, 2019
    Copy the full SHA
    cb02a45 View commit details
Showing with 6 additions and 0 deletions.
  1. +6 −0 nmigen/vendor/lattice_ecp5.py
6 changes: 6 additions & 0 deletions nmigen/vendor/lattice_ecp5.py
Original file line number Diff line number Diff line change
@@ -192,6 +192,9 @@ def get_ixor(z, invert):
m.submodules += Instance("LUT4",
p_INIT=0x5555 if invert else 0xaaaa,
i_A=a[bit],
i_B=Const(0),
i_C=Const(0),
i_D=Const(0),
o_Z=z[bit]
)
return a
@@ -205,6 +208,9 @@ def get_oxor(a, invert):
m.submodules += Instance("LUT4",
p_INIT=0x5555 if invert else 0xaaaa,
i_A=a[bit],
i_B=Const(0),
i_C=Const(0),
i_D=Const(0),
o_Z=z[bit]
)
return z