hotfix in "check" command
This commit is contained in:
parent
04cb947d6a
commit
a0a0594d1e
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ struct CheckPass : public Pass {
|
|||
wire_drivers[sig[i]].push_back(stringf("module input %s[%d]", log_id(wire), i));
|
||||
}
|
||||
if (wire->port_output)
|
||||
for (auto bit : sigmap(wire)) used_wires.insert(bit);
|
||||
for (auto bit : sigmap(wire))
|
||||
if (bit.wire) used_wires.insert(bit);
|
||||
}
|
||||
|
||||
for (auto it : wire_drivers)
|
||||
|
|
Loading…
Add table
Reference in a new issue