mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Bugfixes in handling of "keep" attribute on wires
This commit is contained in:
		
							parent
							
								
									5dd3e93e8f
								
							
						
					
					
						commit
						1d83854d84
					
				
					 2 changed files with 8 additions and 2 deletions
				
			
		|  | @ -136,7 +136,7 @@ struct OptMuxtreeWorker | |||
| 			} | ||||
| 		} | ||||
| 		for (auto wire : module->wires()) { | ||||
| 			if (wire->port_output) | ||||
| 			if (wire->port_output || wire->get_bool_attribute("\\keep")) | ||||
| 				for (int idx : sig2bits(RTLIL::SigSpec(wire))) | ||||
| 					bit2info[idx].seen_non_mux = true; | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue