3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-25 19:36:21 +00:00

rtlil: allow friends to use Wire constructors with a factory token pattern

This commit is contained in:
Emil J. Tywoniak 2025-12-23 16:58:16 +01:00
parent 3e6b740430
commit 6f0be1b4e9
2 changed files with 11 additions and 15 deletions

View file

@ -9,13 +9,7 @@ Cell* Patch::addCell(IdString name, IdString type) {
cell.type = type;
return &cell;
}
// RTLIL::Cell *RTLIL::Module::addCell(RTLIL::IdString name, RTLIL::IdString type)
// {
// RTLIL::Cell *cell = new RTLIL::Cell;
// cell->name = std::move(name);
// cell->type = type;
// add(cell);
// return cell;
// }
YOSYS_NAMESPACE_END