mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Use alphanumerical order instead of idstring idx in opt_clean compare_signals()
This commit is contained in:
		
							parent
							
								
									74657f88a1
								
							
						
					
					
						commit
						d6592d5b99
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -177,7 +177,7 @@ bool compare_signals(RTLIL::SigBit &s1, RTLIL::SigBit &s2, SigPool ®s, SigPoo
 | 
			
		|||
	if (attrs1 != attrs2)
 | 
			
		||||
		return attrs2 > attrs1;
 | 
			
		||||
 | 
			
		||||
	return w2->name < w1->name;
 | 
			
		||||
	return strcmp(w2->name.c_str(), w1->name.c_str()) < 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool check_public_name(RTLIL::IdString id)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue