mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Added support for "keep" attribute to abc pass
This commit is contained in:
		
							parent
							
								
									82c98bbbe6
								
							
						
					
					
						commit
						03ee63ff80
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -447,7 +447,7 @@ static void abc_module(RTLIL::Design *design, RTLIL::Module *current_module, std
 | 
			
		|||
		extract_cell(c);
 | 
			
		||||
 | 
			
		||||
	for (auto &wire_it : module->wires) {
 | 
			
		||||
		if (wire_it.second->port_id > 0)
 | 
			
		||||
		if (wire_it.second->port_id > 0 || wire_it.second->get_bool_attribute("\\keep"))
 | 
			
		||||
			mark_port(RTLIL::SigSpec(wire_it.second));
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue