mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 11:12:29 +00:00 
			
		
		
		
	Add better Yosys/Verific name aliasing and reenable dffe opt
This commit is contained in:
		
							parent
							
								
									2337d97977
								
							
						
					
					
						commit
						fce46d2a53
					
				
					 4 changed files with 6 additions and 2 deletions
				
			
		|  | @ -207,7 +207,9 @@ bool is_blackbox(Netlist *nl) | |||
| 
 | ||||
| RTLIL::IdString VerificImporter::new_verific_id(Verific::DesignObj *obj) | ||||
| { | ||||
| 	std::string s = stringf("$%s$%d", obj->Name(), autoidx++); | ||||
| 	std::string s = stringf("$%s", obj->Name()); | ||||
| 	if (seen_ids.count(s)) s += stringf("$%d", autoidx++); | ||||
| 	seen_ids.insert(s); | ||||
| 	return s; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue