3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-28 21:06:33 +00:00
This commit is contained in:
Lofty 2026-05-20 14:30:09 +01:00
parent 5f1d2297aa
commit 83ae8aa633
4 changed files with 98 additions and 16 deletions

View file

@ -193,8 +193,10 @@ struct AbcNewPass : public ScriptPass {
run(stringf(" abc9_ops -write_box %s/input.box", tmpdir));
run(stringf(" write_xaiger2 -mapping_prep -map2 %s/input.map2 %s/input.xaig", tmpdir, tmpdir));
run(stringf(" abc9_exe %s -cwd %s -box %s/input.box", exe_options, tmpdir, tmpdir));
run(stringf(" read_xaiger2 -sc_mapping -module_name %s -map2 %s/input.map2 %s/output.aig",
modname.c_str(), tmpdir.c_str(), tmpdir.c_str()));
/*run(stringf(" read_xaiger2 -sc_mapping -module_name %s -map2 %s/input.map2 %s/output.aig",
modname.c_str(), tmpdir.c_str(), tmpdir.c_str()));*/
run(stringf(" read_aiger -xaiger -module_name %s$abc9 %s/output.aig", modname.c_str(), tmpdir.c_str()));
run(stringf("abc9_ops -reintegrate"));
if (!help_mode && mod->has_attribute(ID(abc9_script))) {
if (script_save.empty())
active_design->scratchpad_unset("abc9.script");