mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-15 13:28:59 +00:00
read_aiger: set abc9_box_seq attr
This commit is contained in:
parent
dbf351390e
commit
c7fbe13db5
|
@ -478,6 +478,7 @@ void AigerReader::parse_xaiger()
|
||||||
RTLIL::Cell* cell = module->addCell(stringf("$box%u", oldBoxNum), stringf("$__boxid%u", boxUniqueId));
|
RTLIL::Cell* cell = module->addCell(stringf("$box%u", oldBoxNum), stringf("$__boxid%u", boxUniqueId));
|
||||||
cell->setPort("\\i", SigSpec(State::S0, boxInputs));
|
cell->setPort("\\i", SigSpec(State::S0, boxInputs));
|
||||||
cell->setPort("\\o", SigSpec(State::S0, boxOutputs));
|
cell->setPort("\\o", SigSpec(State::S0, boxOutputs));
|
||||||
|
cell->attributes["\\abc9_box_seq"] = oldBoxNum;
|
||||||
boxes.emplace_back(cell);
|
boxes.emplace_back(cell);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue