mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Further clean up passes/sat/freduce.cc.
				
					
				
			Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
This commit is contained in:
		
							parent
							
								
									9a0cdc3835
								
							
						
					
					
						commit
						9f265dfd3f
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
					@ -828,8 +828,7 @@ struct FreducePass : public Pass {
 | 
				
			||||||
		extra_args(args, argidx, design);
 | 
							extra_args(args, argidx, design);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		int bitcount = 0;
 | 
							int bitcount = 0;
 | 
				
			||||||
		for (auto module : design->modules()) {
 | 
							for (auto module : design->selected_modules()) {
 | 
				
			||||||
			if (design->selected(module))
 | 
					 | 
				
			||||||
			bitcount += FreduceWorker(design, module).run();
 | 
								bitcount += FreduceWorker(design, module).run();
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue