mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Merge pull request #5 from alaindargelas/power_resim
auto name change until openSTA signal name parsing is fixed
This commit is contained in:
		
						commit
						7be87935bd
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -641,7 +641,7 @@ RTLIL::IdString new_id(std::string file, int line, std::string func)
 | 
			
		|||
	if (pos != std::string::npos)
 | 
			
		||||
		func = func.substr(pos+1);
 | 
			
		||||
 | 
			
		||||
	return stringf("$auto$%s:%d:%s$%d", file.c_str(), line, func.c_str(), autoidx++);
 | 
			
		||||
	return stringf("$auto$%s@%d@%s$%d", file.c_str(), line, func.c_str(), autoidx++);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
RTLIL::IdString new_id_suffix(std::string file, int line, std::string func, std::string suffix)
 | 
			
		||||
| 
						 | 
				
			
			@ -658,7 +658,7 @@ RTLIL::IdString new_id_suffix(std::string file, int line, std::string func, std:
 | 
			
		|||
	if (pos != std::string::npos)
 | 
			
		||||
		func = func.substr(pos+1);
 | 
			
		||||
 | 
			
		||||
	return stringf("$auto$%s:%d:%s$%s$%d", file.c_str(), line, func.c_str(), suffix.c_str(), autoidx++);
 | 
			
		||||
	return stringf("$auto$%s@%d@%s$%s$%d", file.c_str(), line, func.c_str(), suffix.c_str(), autoidx++);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
RTLIL::Design *yosys_get_design()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue