diff options
| author | Clifford Wolf <clifford@clifford.at> | 2013-03-26 11:13:58 +0100 | 
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2013-03-26 11:31:34 +0100 | 
| commit | 7a99349de4d9375845c05e3ac17d1eed366aab2e (patch) | |
| tree | c94341b7fe1dc6266943f6733643127d041c2259 /frontends/ast | |
| parent | 6a382f2abab4d6c24d329204ed1ea18e44f3f3b8 (diff) | |
| download | yosys-7a99349de4d9375845c05e3ac17d1eed366aab2e.tar.gz yosys-7a99349de4d9375845c05e3ac17d1eed366aab2e.tar.bz2 yosys-7a99349de4d9375845c05e3ac17d1eed366aab2e.zip  | |
Improvements and bugfixes for generate blocks with local signals
Diffstat (limited to 'frontends/ast')
| -rw-r--r-- | frontends/ast/simplify.cc | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index 981897db5..a03cd0bed 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -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;  | 
