From dd3f2e370cb0c64ad02282d4db6d99410a9c3e57 Mon Sep 17 00:00:00 2001 From: AdvaySingh1 Date: Wed, 11 Feb 2026 12:31:13 -0800 Subject: [PATCH] Fixed naming for bfs_find_potential_enable_inputs --- passes/silimate/sat_clockgate.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/passes/silimate/sat_clockgate.cc b/passes/silimate/sat_clockgate.cc index 296a54be8..7d2f1b70a 100644 --- a/passes/silimate/sat_clockgate.cc +++ b/passes/silimate/sat_clockgate.cc @@ -71,8 +71,8 @@ struct SatClockgateWorker return inputs; } - // BFS to collect input cone up to a certain depth - pool get_input_cone(SigSpec sig, int max_depth) + // BFS to find potential enable signals up to a certain depth + pool bfs_find_potential_enable_inputs(SigSpec sig, int max_depth) { pool visited; pool frontier; @@ -228,7 +228,7 @@ struct SatClockgateWorker log("Processing FF: %s\n", log_id(cell)); // Start with direct inputs of D - pool input_set = get_input_cone(ff.sig_d, 1); + pool input_set = bfs_find_potential_enable_inputs(ff.sig_d, 1); // Remove Q from input set (it's the feedback, not a control signal) for (auto bit : sigmap(ff.sig_q))