mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-29 07:27:58 +00:00
Improvements and bugfixes for generate blocks with local signals
This commit is contained in:
parent
6a382f2aba
commit
7a99349de4
2 changed files with 2 additions and 4 deletions
|
@ -896,10 +896,8 @@ void AstNode::expand_genblock(std::string index_var, std::string prefix, std::ma
|
|||
return;
|
||||
}
|
||||
|
||||
if ((type == AST_IDENTIFIER || type == AST_FCALL || type == AST_TCALL) && name_map.count(str) > 0) {
|
||||
if ((type == AST_IDENTIFIER || type == AST_FCALL || type == AST_TCALL) && name_map.count(str) > 0)
|
||||
str = name_map[str];
|
||||
return;
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> backup_name_map;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue