ice40: Adapt the relut process passes to the new $lut <=> SB_LUT4 port map
authorSylvain Munaut <tnt@246tNt.com>
Tue, 16 Jul 2019 21:57:15 +0000 (23:57 +0200)
committerSylvain Munaut <tnt@246tNt.com>
Tue, 16 Jul 2019 21:57:15 +0000 (23:57 +0200)
commitf28e38de9994151ea4e22608441dbc9e116d7b8c
treea83315c169a7802f93e5021ef3cb51595ac64aa3
parent5939b5d636f80d4f9345f5b8d0247332d533b68c
ice40: Adapt the relut process passes to the new $lut <=> SB_LUT4 port map

The new mapping introduced in 437fec0d88b4a2ad172edf0d1a861a38845f3b1d
needed matching adaptation when converting and optimizing LUTs during
the relut process

Fixes #1187

(Diagnosis of the issue by @daveshah1 on IRC)

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
techlibs/ice40/ice40_unlut.cc
techlibs/ice40/synth_ice40.cc