read_aiger: set abc9_box_seq attr

This commit is contained in:
Eddie Hung 2020-01-24 13:11:43 -08:00
parent dbf351390e
commit c7fbe13db5
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
}