mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Add Verific support for OPER_REDUCE_NAND
Signed-off-by: Claire Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									1679682fa3
								
							
						
					
					
						commit
						23c44afaed
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -539,6 +539,14 @@ bool VerificImporter::import_netlist_instance_cells(Instance *inst, RTLIL::IdStr
 | 
			
		|||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (inst->Type() == OPER_REDUCE_NAND) {
 | 
			
		||||
		Wire *tmp = module->addWire(NEW_ID);
 | 
			
		||||
		cell = module->addReduceAnd(inst_name, IN, tmp, SIGNED);
 | 
			
		||||
		module->addNot(NEW_ID, tmp, net_map_at(inst->GetOutput()));
 | 
			
		||||
		import_attributes(cell->attributes, inst);
 | 
			
		||||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (inst->Type() == OPER_REDUCE_OR) {
 | 
			
		||||
		cell = module->addReduceOr(inst_name, IN, net_map_at(inst->GetOutput()), SIGNED);
 | 
			
		||||
		import_attributes(cell->attributes, inst);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue