mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	read_aiger: also rename "$0"
This commit is contained in:
		
							parent
							
								
									ee95fa959a
								
							
						
					
					
						commit
						f63f76c372
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -255,7 +255,7 @@ end_of_header:
 | 
			
		|||
	else
 | 
			
		||||
		log_abort();
 | 
			
		||||
 | 
			
		||||
	RTLIL::Wire* n0 = module->wire("$0");
 | 
			
		||||
	RTLIL::Wire* n0 = module->wire(stringf("$aiger%d$0", aiger_autoidx));
 | 
			
		||||
	if (n0)
 | 
			
		||||
		module->connect(n0, State::S0);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -383,7 +383,7 @@ void AigerReader::parse_xaiger()
 | 
			
		|||
	else
 | 
			
		||||
		log_abort();
 | 
			
		||||
 | 
			
		||||
	RTLIL::Wire* n0 = module->wire("$0");
 | 
			
		||||
	RTLIL::Wire* n0 = module->wire(stringf("$aiger%d$0", aiger_autoidx));
 | 
			
		||||
	if (n0)
 | 
			
		||||
		module->connect(n0, State::S0);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue