From a0a0594d1e9d0699a6875a9899752de9dd5d261d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 13 Feb 2015 14:40:49 +0100 Subject: [PATCH] hotfix in "check" command --- passes/cmds/check.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.30.2