mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	cxxrtl: Prevent wires with input or output ports from being aliased
This commit is contained in:
		
							parent
							
								
									56c843959f
								
							
						
					
					
						commit
						c7580eb18e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -3263,6 +3263,7 @@ struct CxxrtlWorker { | |||
| 						debug_wire_type = wire_type; // wire is a member
 | ||||
| 
 | ||||
| 					if (!debug_alias) continue; | ||||
| 					if (wire->port_input || wire->port_output) continue; // preserve input/output metadata in flags
 | ||||
| 					const RTLIL::Wire *it = wire; | ||||
| 					while (flow.is_inlinable(it)) { | ||||
| 						log_assert(flow.wire_comb_defs[it].size() == 1); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue