mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	scc command to ignore blackboxes
This commit is contained in:
		
							parent
							
								
									7fe268fcdb
								
							
						
					
					
						commit
						32695e5032
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -301,10 +301,10 @@ struct SccPass : public Pass {
 | 
			
		|||
		RTLIL::Selection newSelection(false);
 | 
			
		||||
		int scc_counter = 0;
 | 
			
		||||
 | 
			
		||||
		for (auto &mod_it : design->modules_)
 | 
			
		||||
			if (design->selected(mod_it.second))
 | 
			
		||||
		for (auto mod : design->modules())
 | 
			
		||||
			if (!mod->get_blackbox_attribute() && design->selected(mod))
 | 
			
		||||
			{
 | 
			
		||||
				SccWorker worker(design, mod_it.second, nofeedbackMode, allCellTypes, maxDepth);
 | 
			
		||||
				SccWorker worker(design, mod, nofeedbackMode, allCellTypes, maxDepth);
 | 
			
		||||
 | 
			
		||||
				if (!setAttr.empty())
 | 
			
		||||
				{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue