mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	cellaigs: Fix the case of $_NMUX_ cells
Later on there's a if (cell->type == ID($_NMUX_)) but that code was unreachable until now.
This commit is contained in:
		
							parent
							
								
									78d13d1956
								
							
						
					
					
						commit
						8839d7fa5a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -318,7 +318,7 @@ Aig::Aig(Cell *cell)
 | 
			
		|||
		goto optimize;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (cell->type.in(ID($mux), ID($_MUX_)))
 | 
			
		||||
	if (cell->type.in(ID($mux), ID($_MUX_), ID($_NMUX_)))
 | 
			
		||||
	{
 | 
			
		||||
		int S = mk.inport(ID::S);
 | 
			
		||||
		for (int i = 0; i < GetSize(cell->getPort(ID::Y)); i++) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue