From 86358bf825053c6fa9a2af15f11f72a3fda90f30 Mon Sep 17 00:00:00 2001 From: Chia-Hsiang Chang Date: Tue, 12 May 2026 10:01:42 -0700 Subject: [PATCH] fix: don't log error when getting non-top cells in -bb mode --- passes/sat/sim.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/passes/sat/sim.cc b/passes/sat/sim.cc index 8ab3efa0920..7e60264f527 100644 --- a/passes/sat/sim.cc +++ b/passes/sat/sim.cc @@ -649,10 +649,11 @@ struct SimInstance if (cell->type == ID($print)) return; - // If the cell is a blackbox child of an instance root module, skip it + // In -bb mode every hierarchical cell is a cut boundary. Its outputs were already sourced from the FST. + // Don't log error for these cells. if (shared->blackbox_children) { Module *mod = module->design->module(cell->type); - if (mod && shared->instance_root_modules.count(mod->name)) + if (mod) return; }