diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-02-21 13:28:46 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-02-21 13:28:46 +0100 |
commit | 2fe1c830eb8aea783c75529b42cab04208cea690 (patch) | |
tree | 7227273907be8af70bafd6d605b653f8c96e13ba /passes/pmgen | |
parent | 84999a7e680648dff674ce55f634a675852b7dc3 (diff) | |
download | yosys-2fe1c830eb8aea783c75529b42cab04208cea690.tar.gz yosys-2fe1c830eb8aea783c75529b42cab04208cea690.tar.bz2 yosys-2fe1c830eb8aea783c75529b42cab04208cea690.zip |
Bugfix in ice40_dsp
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'passes/pmgen')
-rw-r--r-- | passes/pmgen/ice40_dsp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/pmgen/ice40_dsp.cc b/passes/pmgen/ice40_dsp.cc index 3e342453d..3a054a463 100644 --- a/passes/pmgen/ice40_dsp.cc +++ b/passes/pmgen/ice40_dsp.cc @@ -91,8 +91,8 @@ void create_ice40_dsp(ice40_dsp_pm &pm) cell->setPort("\\C", CD.extract(0, 16)); cell->setPort("\\D", CD.extract(16, 16)); - cell->setParam("\\A_REG", pm.st.ffA ? State::S0 : State::S1); - cell->setParam("\\B_REG", pm.st.ffB ? State::S0 : State::S1); + cell->setParam("\\A_REG", pm.st.ffA ? State::S1 : State::S0); + cell->setParam("\\B_REG", pm.st.ffB ? State::S1 : State::S0); cell->setPort("\\AHOLD", State::S0); cell->setPort("\\BHOLD", State::S0); |