aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/abc9_ops.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-03 14:37:58 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-03 14:37:58 -0800
commit559f3379e852f304a0255afcc37714b9d0da59d9 (patch)
tree9299a64341d273b995f49ee62d0c8453368142ac /passes/techmap/abc9_ops.cc
parentbb70915fb8adcd7ede7719174dea3bc9c04e613e (diff)
downloadyosys-559f3379e852f304a0255afcc37714b9d0da59d9.tar.gz
yosys-559f3379e852f304a0255afcc37714b9d0da59d9.tar.bz2
yosys-559f3379e852f304a0255afcc37714b9d0da59d9.zip
Preserve topo ordering from -prep_holes to write_xaiger
Diffstat (limited to 'passes/techmap/abc9_ops.cc')
-rw-r--r--passes/techmap/abc9_ops.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/passes/techmap/abc9_ops.cc b/passes/techmap/abc9_ops.cc
index c671553e2..bcf622dba 100644
--- a/passes/techmap/abc9_ops.cc
+++ b/passes/techmap/abc9_ops.cc
@@ -322,6 +322,7 @@ void prep_holes(RTLIL::Module *module)
}
}
+ cell->attributes["\\abc9_box_order"] = box_list.size();
box_list.emplace_back(cell);
}
log_assert(!box_list.empty());