mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	opt_clean: really make 'clean' identical to 'opt_clean' by rminit too
This commit is contained in:
		
							parent
							
								
									27b7ffc754
								
							
						
					
					
						commit
						68b31f5e99
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -611,8 +611,7 @@ struct CleanPass : public Pass {
 | 
			
		|||
			}
 | 
			
		||||
			break;
 | 
			
		||||
		}
 | 
			
		||||
		if (argidx < args.size())
 | 
			
		||||
			extra_args(args, argidx, design);
 | 
			
		||||
		extra_args(args, argidx, design);
 | 
			
		||||
 | 
			
		||||
		keep_cache.reset(design);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -627,7 +626,7 @@ struct CleanPass : public Pass {
 | 
			
		|||
		for (auto module : design->selected_whole_modules()) {
 | 
			
		||||
			if (module->has_processes())
 | 
			
		||||
				continue;
 | 
			
		||||
			rmunused_module(module, purge_mode, ys_debug(), false);
 | 
			
		||||
			rmunused_module(module, purge_mode, ys_debug(), true);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		log_suppressed();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue