From 1770a7a11b87e4463eafee31101706ebb25402a8 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Thu, 14 Aug 2025 17:38:24 +0200 Subject: [PATCH] bufnorm: don't require normalizing $connect's A port --- kernel/rtlil.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index 6d3c39565..6a0f20002 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -4137,6 +4137,10 @@ void RTLIL::Module::bufNormalize() continue; } + if (cell->type == ID($connect) && portname == ID::A) { + continue; + } + Wire *wire = addWire(NEW_ID, GetSize(sig)); sigmap.add(sig, wire); cell->setPort(portname, wire);