3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-23 07:32:32 +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

@ -233,7 +233,7 @@ struct OptBalanceTreeWorker {
Cell* x = bfs_queue.front();
bfs_queue.pop_front();
for (auto port: {ID::A, ID::B}) {
for (IdString port: {ID::A, ID::B}) {
auto sig = sigmap(x->getPort(port));
Cell* drv = sig_to_driver[sig];
bool drv_ok = drv && is_right_type(drv, cell_type);