mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Fixed mapping of Verific WIDE_DFFRS operator
This commit is contained in:
		
							parent
							
								
									470c2455e4
								
							
						
					
					
						commit
						a3b9692a68
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -466,9 +466,9 @@ static bool import_netlist_instance_cells(RTLIL::Module *module, std::map<Net*, | |||
| 	if (inst->Type() == OPER_WIDE_DFFRS) { | ||||
| 		RTLIL::SigSpec sig_set = operatorInport(inst, "set", net_map); | ||||
| 		RTLIL::SigSpec sig_reset = operatorInport(inst, "reset", net_map); | ||||
| 		if (sig_set.is_fully_const() && !sig_set.as_bool() && sig_set.is_fully_const() && !sig_set.as_bool()) { | ||||
| 		if (sig_set.is_fully_const() && !sig_set.as_bool() && sig_reset.is_fully_const() && !sig_reset.as_bool()) | ||||
| 			module->addDff(RTLIL::escape_id(inst->Name()), net_map.at(inst->GetClock()), IN, OUT); | ||||
| 		} else | ||||
| 		else | ||||
| 			module->addDffsr(RTLIL::escape_id(inst->Name()), net_map.at(inst->GetClock()), sig_set, sig_reset, IN, OUT); | ||||
| 		return true; | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue