mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-22 22:03:40 +00:00
Refactoring {SigSpec|SigChunk}(RTLIL::Wire *wire, ..) constructor -- step 2/3
This commit is contained in:
parent
260c19ec5a
commit
a8d3a68971
15 changed files with 33 additions and 47 deletions
|
@ -179,9 +179,9 @@ struct IopadmapPass : public Pass {
|
|||
RTLIL::Cell *cell = new RTLIL::Cell;
|
||||
cell->name = NEW_ID;
|
||||
cell->type = RTLIL::escape_id(celltype);
|
||||
cell->connections[RTLIL::escape_id(portname)] = RTLIL::SigSpec(wire, 1, i);
|
||||
cell->connections[RTLIL::escape_id(portname)] = RTLIL::SigSpec::grml(wire, i);
|
||||
if (!portname2.empty())
|
||||
cell->connections[RTLIL::escape_id(portname2)] = RTLIL::SigSpec(new_wire, 1, i);
|
||||
cell->connections[RTLIL::escape_id(portname2)] = RTLIL::SigSpec::grml(new_wire, i);
|
||||
if (!widthparam.empty())
|
||||
cell->parameters[RTLIL::escape_id(widthparam)] = RTLIL::Const(1);
|
||||
if (!nameparam.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue