mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
equiv_purge bugfix, using SigChunk in Yosys namespace
This commit is contained in:
parent
2a0f577f83
commit
6fe48cf41e
5 changed files with 8 additions and 5 deletions
|
@ -737,7 +737,7 @@ struct ExtractPass : public Pass {
|
|||
RTLIL::Cell *newCell = newMod->addCell(cell->name, cell->type);
|
||||
newCell->parameters = cell->parameters;
|
||||
for (auto &conn : cell->connections()) {
|
||||
std::vector<RTLIL::SigChunk> chunks = sigmap(conn.second);
|
||||
std::vector<SigChunk> chunks = sigmap(conn.second);
|
||||
for (auto &chunk : chunks)
|
||||
if (chunk.wire != NULL)
|
||||
chunk.wire = newMod->wires_.at(chunk.wire->name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue