3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-21 06:35:49 +00:00

Minor cleanup

This commit is contained in:
Akash Levy 2025-09-23 01:07:41 -07:00
parent ab006776d0
commit cd37b064f9
4 changed files with 8 additions and 8 deletions

View file

@ -299,7 +299,7 @@ struct ExtractReducePass : public Pass
Cell* x = bfs_item.first;
SigBit excl = bfs_item.second;
for (auto port: {ID::B, ID::A}) {
for (IdString port: {ID::B, ID::A}) {
auto bit = sigmap(x->getPort(port)[0]);
bool sink_single = sig_to_sink[bit].size() == 1 && !port_sigs.count(bit);