3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

deminout: Don't demote inouts with unused bits

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2020-02-25 14:14:45 +00:00
parent 6edca05793
commit 5cae9c6e16
2 changed files with 15 additions and 2 deletions

View file

@ -121,8 +121,7 @@ struct DeminoutPass : public Pass {
goto tribuf_bit;
} else {
tribuf_bit:
if (bits_used.count(bit))
new_input = true;
new_input = true;
}
}