mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-03 09:50:24 +00:00
ice40_opt bugfix
This commit is contained in:
parent
310fde197e
commit
9d067fecea
2 changed files with 4 additions and 6 deletions
|
@ -57,11 +57,9 @@ static void run_ice40_opts(Module *module)
|
|||
|
||||
if (count_zeros >= 2)
|
||||
replacement_output = State::S0;
|
||||
|
||||
if (count_ones >= 2)
|
||||
else if (count_ones >= 2)
|
||||
replacement_output = State::S1;
|
||||
|
||||
if (GetSize(non_const_inputs) == 1)
|
||||
else if (GetSize(non_const_inputs) == 1)
|
||||
replacement_output = non_const_inputs;
|
||||
|
||||
if (GetSize(replacement_output)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue