mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	functional.cc: Explicit unsorted-pool-as-LIFO
This commit is contained in:
		
							parent
							
								
									847558547b
								
							
						
					
					
						commit
						6e3922e1c7
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -518,6 +518,7 @@ public:
 | 
			
		|||
			if (cell->type.in(ID($assert), ID($assume), ID($live), ID($fair), ID($cover), ID($check)))
 | 
			
		||||
				queue.emplace_back(cell);
 | 
			
		||||
		}
 | 
			
		||||
		// we are relying here on unsorted pools iterating last-in-first-out
 | 
			
		||||
		for (auto riter = module->ports.rbegin(); riter != module->ports.rend(); ++riter) {
 | 
			
		||||
			auto *wire = module->wire(*riter);
 | 
			
		||||
			if (wire && wire->port_input) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue