Extract ice40_unlut pass from ice40_opt.
authorwhitequark <whitequark@whitequark.org>
Tue, 4 Dec 2018 19:43:33 +0000 (19:43 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 5 Dec 2018 16:30:24 +0000 (16:30 +0000)
commit1719aa88acf9f6d52caa81384bc50237605157e3
treec7ae354013e44fe2500c7525a67c4ad9c5a39160
parent615b30bd29b13011f3faaeb660e9738262b37f3a
Extract ice40_unlut pass from ice40_opt.

Currently, `ice40_opt -unlut` would map SB_LUT4 to $lut and convert
them back to logic immediately. This is not desirable if the goal
is to operate on $lut cells. If this is desirable, the same result
as `ice40_opt -unlut` can be achieved by running simplemap and opt
after ice40_unlut.
techlibs/ice40/Makefile.inc
techlibs/ice40/ice40_opt.cc
techlibs/ice40/ice40_unlut.cc [new file with mode: 0644]