3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-23 23:52:32 +00:00

rtlil: evacuate src_id_ from AttrObject to per-Design meta vector

This commit is contained in:
Emil J. Tywoniak 2026-06-05 14:15:51 +02:00
parent e70eed3296
commit f1edb571f2
22 changed files with 668 additions and 390 deletions

View file

@ -29,7 +29,7 @@ YOSYS_NAMESPACE_BEGIN
static void transfer_src (Cell* to, const Cell* from) {
if (from->src_id() != Twine::Null && to->module && to->module->design)
to->set_src_id(&to->module->design->src_twines, from->src_id());
to->set_src_id(from->src_id());
}
void simplemap_not(RTLIL::Module *module, RTLIL::Cell *cell)