From e9b7db0a4a6e3aa582b7f0de43575c10cc840498 Mon Sep 17 00:00:00 2001 From: Alain Dargelas Date: Mon, 25 Nov 2024 15:22:16 -0800 Subject: [PATCH] Selective boolopt --- passes/techmap/techmap.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 978f7e31b..476a3db9b 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -164,7 +164,7 @@ struct TechmapWorker module->rename(cell, stringf("$techmap%d", autoidx++) + cell->name.str()); break; } - + // SILIMATE: Improve the naming for (auto tpl_cell : tpl->cells()) for (auto attr : cell->attributes) { tpl_cell->attributes[attr.first] = attr.second; @@ -393,6 +393,7 @@ struct TechmapWorker c->attributes[attr.first] = attr.second; c->attributes.erase(ID::reprocess_after); } + // SILIMATE: Improve the naming for (auto attr : tpl_cell->attributes) { c->attributes[attr.first] = attr.second; } @@ -535,6 +536,7 @@ struct TechmapWorker { extmapper_module = extmapper_design->addModule(m_name); RTLIL::Cell *extmapper_cell = extmapper_module->addCell(cell->type, cell); + // SILIMATE: Improve the naming for (auto attr : cell->attributes) { extmapper_cell->attributes[attr.first] = attr.second; }