mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	opt_expr: remove redundant
This commit is contained in:
		
							parent
							
								
									213a895589
								
							
						
					
					
						commit
						8d1fa0e3b9
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -682,9 +682,6 @@ void replace_const_cells(RTLIL::Design *design, RTLIL::Module *module, bool cons
 | 
			
		|||
				RTLIL::SigSpec sig_y = cell->getPort(ID::Y);
 | 
			
		||||
				RTLIL::SigSpec sig_co = cell->getPort(ID(CO));
 | 
			
		||||
 | 
			
		||||
				if (sig_ci.wire || sig_bi.wire)
 | 
			
		||||
					goto next_cell;
 | 
			
		||||
 | 
			
		||||
				bool sub = (sig_ci == State::S1 && sig_bi == State::S1);
 | 
			
		||||
 | 
			
		||||
				// If not a subtraction, yet there is a carry or B is inverted
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue