From: Clifford Wolf Date: Fri, 13 Feb 2015 13:40:49 +0000 (+0100) Subject: hotfix in "check" command X-Git-Tag: yosys-0.6~444 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0a0594d1e9d0699a6875a9899752de9dd5d261d;p=yosys.git hotfix in "check" command --- diff --git a/passes/cmds/check.cc b/passes/cmds/check.cc index 39a732fff..6840572eb 100644 --- a/passes/cmds/check.cc +++ b/passes/cmds/check.cc @@ -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)