From 14e6c2ee3a62ffc7983b4225d3478a42d2617d7c Mon Sep 17 00:00:00 2001 From: "Emil J. Tywoniak" Date: Tue, 21 Jul 2026 19:20:42 +0200 Subject: [PATCH] signorm: an unconnected output port does not claim a driver --- kernel/rtlil_bufnorm.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/rtlil_bufnorm.cc b/kernel/rtlil_bufnorm.cc index ae02a35ba..73aed8eae 100644 --- a/kernel/rtlil_bufnorm.cc +++ b/kernel/rtlil_bufnorm.cc @@ -118,6 +118,8 @@ struct RTLIL::SigNormIndex xlog("\t%s = %s\n", module->design->twines.str(port).c_str(), log_signal(sig)); if (cell->port_dir(port) == RTLIL::PD_INPUT) continue; + if (GetSize(sig) == 0) + continue; xlog("%s is not an input in design %p\n", module->design->twines.str(port).c_str(), module->design); if (sig.is_wire()) { Wire * wire = sig.as_wire();