mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-27 01:39:23 +00:00
reconsidering unset
This commit is contained in:
parent
76102f0bc5
commit
d2107a9ee4
4 changed files with 17 additions and 15 deletions
|
|
@ -2458,6 +2458,7 @@ RTLIL::Cell *RTLIL::Module::addCell(RTLIL::IdString name, RTLIL::IdString type)
|
|||
|
||||
RTLIL::Cell *RTLIL::Module::addCell(RTLIL::IdString name, const RTLIL::Cell *other)
|
||||
{
|
||||
log_assert(other);
|
||||
RTLIL::Cell *cell = addCell(name, other->type);
|
||||
cell->connections_ = other->connections_;
|
||||
cell->parameters = other->parameters;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue