diff options
author | David Shah <dave@ds0.me> | 2019-07-17 07:55:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-17 07:55:26 +0100 |
commit | 82153059a1ba0fa64086a82fd5ae68f01b983e55 (patch) | |
tree | af49b37c03d027500aef49419fb8420decb539b4 /techlibs/ice40/ice40_unlut.cc | |
parent | f8e470c1d1178680034a28a9f28b161acf667701 (diff) | |
parent | f28e38de9994151ea4e22608441dbc9e116d7b8c (diff) | |
download | yosys-82153059a1ba0fa64086a82fd5ae68f01b983e55.tar.gz yosys-82153059a1ba0fa64086a82fd5ae68f01b983e55.tar.bz2 yosys-82153059a1ba0fa64086a82fd5ae68f01b983e55.zip |
Merge pull request #1204 from smunaut/fix_1187
ice40: Adapt the relut process passes to the new $lut/SB_LUT4 port map
Diffstat (limited to 'techlibs/ice40/ice40_unlut.cc')
-rw-r--r-- | techlibs/ice40/ice40_unlut.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/techlibs/ice40/ice40_unlut.cc b/techlibs/ice40/ice40_unlut.cc index d16e6e6a3..f3f70ac1f 100644 --- a/techlibs/ice40/ice40_unlut.cc +++ b/techlibs/ice40/ice40_unlut.cc @@ -56,10 +56,10 @@ static void run_ice40_unlut(Module *module) cell->unsetParam("\\LUT_INIT"); cell->setPort("\\A", SigSpec({ - get_bit_or_zero(cell->getPort("\\I3")), - get_bit_or_zero(cell->getPort("\\I2")), + get_bit_or_zero(cell->getPort("\\I0")), get_bit_or_zero(cell->getPort("\\I1")), - get_bit_or_zero(cell->getPort("\\I0")) + get_bit_or_zero(cell->getPort("\\I2")), + get_bit_or_zero(cell->getPort("\\I3")) })); cell->setPort("\\Y", cell->getPort("\\O")[0]); cell->unsetPort("\\I0"); |