From 0dcfe5cd4bc3b211dcbde95e5a964ed07286f9d8 Mon Sep 17 00:00:00 2001 From: Chia-Hsiang Chang Date: Tue, 12 May 2026 00:21:25 -0700 Subject: [PATCH] chore: add comments and log --- passes/sat/sim.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/passes/sat/sim.cc b/passes/sat/sim.cc index ffa141d65..a5941f2b3 100644 --- a/passes/sat/sim.cc +++ b/passes/sat/sim.cc @@ -1602,6 +1602,10 @@ struct SimWorker : SimShared // Multi-root mode: instance_modules was resolved in execute() alongside instance_specs if (!instance_modules.empty()) { + // In multi-root mode, each instance has its own clock pin and we drive every port_input + // from FST, so we can't honor user-supplied clock names here. + if (!clock.empty() || !clockn.empty()) + log_warning("-clock/-clockn are ignored with -instance; clocks are driven directly from the FST sample stream.\n"); for (size_t i = 0; i < instance_modules.size(); i++) { const std::string &iscope = instance_specs[i].second; Module *m = instance_modules[i];