mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Add handling of verific OPER_REDUCE_NOR
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									2aeb4d4e12
								
							
						
					
					
						commit
						b6fbeb0969
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -478,6 +478,12 @@ bool VerificImporter::import_netlist_instance_cells(Instance *inst, RTLIL::IdStr
 | 
			
		|||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (inst->Type() == OPER_REDUCE_NOR) {
 | 
			
		||||
		SigSpec t = module->ReduceOr(NEW_ID, IN, SIGNED);
 | 
			
		||||
		module->addNot(inst_name, t, net_map_at(inst->GetOutput()));
 | 
			
		||||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (inst->Type() == OPER_LESSTHAN) {
 | 
			
		||||
		Net *net_cin = inst->GetCin();
 | 
			
		||||
		if (net_cin->IsGnd())
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue