aboutsummaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-24 13:11:43 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-24 13:11:43 -0800
commitc7fbe13db5144cf87c56d3f7a620a295029606b3 (patch)
treee9fda3628a0d94fc641721ab811b210753067295 /frontends
parentdbf351390e68a9d7c453e893de8fa9d09eb24f62 (diff)
downloadyosys-c7fbe13db5144cf87c56d3f7a620a295029606b3.tar.gz
yosys-c7fbe13db5144cf87c56d3f7a620a295029606b3.tar.bz2
yosys-c7fbe13db5144cf87c56d3f7a620a295029606b3.zip
read_aiger: set abc9_box_seq attr
Diffstat (limited to 'frontends')
-rw-r--r--frontends/aiger/aigerparse.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/aiger/aigerparse.cc b/frontends/aiger/aigerparse.cc
index b9c648afd..418fd722c 100644
--- a/frontends/aiger/aigerparse.cc
+++ b/frontends/aiger/aigerparse.cc
@@ -478,6 +478,7 @@ void AigerReader::parse_xaiger()
RTLIL::Cell* cell = module->addCell(stringf("$box%u", oldBoxNum), stringf("$__boxid%u", boxUniqueId));
cell->setPort("\\i", SigSpec(State::S0, boxInputs));
cell->setPort("\\o", SigSpec(State::S0, boxOutputs));
+ cell->attributes["\\abc9_box_seq"] = oldBoxNum;
boxes.emplace_back(cell);
}
}