diff options
| author | David Shah <dave@ds0.me> | 2020-03-10 13:51:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-10 13:51:40 +0000 |
| commit | ddcd87b577baa71ad3456fea1cc7bf9d46cfac2e (patch) | |
| tree | 8eaf78dc56613c69a4c80051db1dca2961498778 /passes/techmap | |
| parent | f91705cf8a5734e48217f3850af58508fcfc81e0 (diff) | |
| parent | 5cae9c6e1628db7223a205d2444ef26e682007a5 (diff) | |
| download | yosys-ddcd87b577baa71ad3456fea1cc7bf9d46cfac2e.tar.gz yosys-ddcd87b577baa71ad3456fea1cc7bf9d46cfac2e.tar.bz2 yosys-ddcd87b577baa71ad3456fea1cc7bf9d46cfac2e.zip | |
Merge pull request #1721 from YosysHQ/dave/tribuf-unused
deminout: Don't demote inouts with unused bits
Diffstat (limited to 'passes/techmap')
| -rw-r--r-- | passes/techmap/deminout.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/passes/techmap/deminout.cc b/passes/techmap/deminout.cc index b976b401b..35d43b106 100644 --- a/passes/techmap/deminout.cc +++ b/passes/techmap/deminout.cc @@ -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; } } |
