diff options
Diffstat (limited to 'common/router1.cc')
-rw-r--r-- | common/router1.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common/router1.cc b/common/router1.cc index 8d19797b..cbc0df90 100644 --- a/common/router1.cc +++ b/common/router1.cc @@ -871,7 +871,12 @@ bool Context::checkRoutedDesign() const } auto src_wire = ctx->getNetinfoSourceWire(net_info); - log_assert(src_wire != WireId()); + if (src_wire == WireId()) { + log_assert(net_info->driver.cell == nullptr); + if (ctx->debug) + log(" undriven and unrouted\n"); + continue; + } if (net_info->wires.count(src_wire) == 0) { if (ctx->debug) |