mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Fixed "scc" for cells that have feedback singals _and_ are part of a larger loop
This commit is contained in:
		
							parent
							
								
									33742f4e8f
								
							
						
					
					
						commit
						611f121cb9
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -181,10 +181,10 @@ struct SccWorker
 | 
			
		|||
				cell2scc[cell] = sccList.size();
 | 
			
		||||
				scc.insert(cell);
 | 
			
		||||
				sccList.push_back(scc);
 | 
			
		||||
				workQueue.erase(cell);
 | 
			
		||||
				log("\n");
 | 
			
		||||
			} else
 | 
			
		||||
				run(cell, 0, maxDepth);
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			run(cell, 0, maxDepth);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		log("Found %d SCCs in module %s.\n", int(sccList.size()), RTLIL::id2cstr(module->name));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue