From 28455c01e42737fe96702998607ed1f84b4a8e8d Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Thu, 4 Jun 2026 00:40:38 -0700 Subject: [PATCH] Support cell_footprint as indicator of stdcell --- passes/silimate/l2j_frontend.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/passes/silimate/l2j_frontend.cc b/passes/silimate/l2j_frontend.cc index 7d88b42bf..3d56667cb 100644 --- a/passes/silimate/l2j_frontend.cc +++ b/passes/silimate/l2j_frontend.cc @@ -295,7 +295,8 @@ struct L2JFrontend : public Frontend { bool is_memory = false, is_stdcell = true; bool dont_touch = value_as_boolean(cell, "dont_touch", false); bool dont_use = value_as_boolean(cell, "dont_use", false); - if (dont_touch || dont_use) { + bool has_cell_footprint = cell.count("cell_footprint") != 0; + if ((dont_touch || dont_use) && !has_cell_footprint) { is_stdcell = false; } for_each_group(cell, [&](const json &g) {