mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Reinstate #4768
Revert the reversion so that we can fix the bugs that the PR missed.
This commit is contained in:
		
							parent
							
								
									bf386feba7
								
							
						
					
					
						commit
						cd3b914132
					
				
					 38 changed files with 700 additions and 263 deletions
				
			
		| 
						 | 
				
			
			@ -734,7 +734,7 @@ struct CleanPass : public Pass {
 | 
			
		|||
		count_rm_cells = 0;
 | 
			
		||||
		count_rm_wires = 0;
 | 
			
		||||
 | 
			
		||||
		for (auto module : design->selected_whole_modules()) {
 | 
			
		||||
		for (auto module : design->selected_unboxed_whole_modules()) {
 | 
			
		||||
			if (module->has_processes())
 | 
			
		||||
				continue;
 | 
			
		||||
			rmunused_module(module, purge_mode, ys_debug(), true);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue