mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 04:43:40 +00:00
Added copy-constructor-like module->addCell(name, other) method
This commit is contained in:
parent
2bec47a404
commit
4755e14e7b
4 changed files with 17 additions and 20 deletions
|
@ -302,6 +302,7 @@ struct RTLIL::Module
|
|||
|
||||
RTLIL::Wire *addWire(RTLIL::IdString name, int width = 1);
|
||||
RTLIL::Cell *addCell(RTLIL::IdString name, RTLIL::IdString type);
|
||||
RTLIL::Cell *addCell(RTLIL::IdString name, const RTLIL::Cell *other);
|
||||
|
||||
// The add* methods create a cell and return the created cell. All signals must exist in advance.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue