mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 06:13:41 +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
|
@ -49,7 +49,7 @@ void apply_prefix(std::string prefix, std::string &id)
|
|||
|
||||
void apply_prefix(std::string prefix, RTLIL::SigSpec &sig, RTLIL::Module *module)
|
||||
{
|
||||
std::vector<RTLIL::SigChunk> chunks = sig;
|
||||
vector<SigChunk> chunks = sig;
|
||||
for (auto &chunk : chunks)
|
||||
if (chunk.wire != NULL) {
|
||||
std::string wire_name = chunk.wire->name.str();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue