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:
parent
3e6b740430
commit
6f0be1b4e9
2 changed files with 11 additions and 15 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue