aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2021-09-09 10:06:20 -0700
committerGitHub <noreply@github.com>2021-09-09 10:06:20 -0700
commit65316ec9262e1cc10fdc7215f2d3ead579d1e258 (patch)
tree3e91e19b89af3700b3844bb6c5d3ac4d7dcb90f0 /passes
parentf03e2c30aa3ad92bffb7ecd7179fe859d1b993b0 (diff)
downloadyosys-65316ec9262e1cc10fdc7215f2d3ead579d1e258.tar.gz
yosys-65316ec9262e1cc10fdc7215f2d3ead579d1e258.tar.bz2
yosys-65316ec9262e1cc10fdc7215f2d3ead579d1e258.zip
abc9: holes module to instantiate cells with NEW_ID (#2992)
* Add testcase * holes module to instantiate cells with NEW_ID
Diffstat (limited to 'passes')
-rw-r--r--passes/techmap/abc9_ops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/abc9_ops.cc b/passes/techmap/abc9_ops.cc
index c3eaa70d1..a2f1dd955 100644
--- a/passes/techmap/abc9_ops.cc
+++ b/passes/techmap/abc9_ops.cc
@@ -812,7 +812,7 @@ void prep_xaiger(RTLIL::Module *module, bool dff)
auto &holes_cell = r.first->second;
if (r.second) {
if (box_module->get_bool_attribute(ID::whitebox)) {
- holes_cell = holes_module->addCell(cell->name, cell->type);
+ holes_cell = holes_module->addCell(NEW_ID, cell->type);
if (box_module->has_processes())
Pass::call_on_module(design, box_module, "proc");