mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Merge pull request #1662 from YosysHQ/dave/opt-reduce-move-check
opt_reduce: Call check() per run rather than per optimised cell
This commit is contained in:
		
						commit
						4d0118d0c1
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -235,7 +235,6 @@ struct OptReduceWorker
 | 
			
		|||
			log("      New connections: %s = %s\n", log_signal(old_sig_conn.first), log_signal(old_sig_conn.second));
 | 
			
		||||
 | 
			
		||||
			module->connect(old_sig_conn);
 | 
			
		||||
			module->check();
 | 
			
		||||
 | 
			
		||||
			did_something = true;
 | 
			
		||||
			total_count++;
 | 
			
		||||
| 
						 | 
				
			
			@ -324,6 +323,8 @@ struct OptReduceWorker
 | 
			
		|||
				opt_mux(cell);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		module->check();
 | 
			
		||||
	}
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue