mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Merge pull request #2142 from whitequark/splitnets-hdlname
splitnets: propagate (*hdlname*) and disambiguate via start_offset
This commit is contained in:
		
						commit
						5439faebf9
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -59,10 +59,14 @@ struct SplitnetsWorker
 | 
			
		|||
		new_wire->port_id = wire->port_id ? wire->port_id + offset : 0;
 | 
			
		||||
		new_wire->port_input = wire->port_input;
 | 
			
		||||
		new_wire->port_output = wire->port_output;
 | 
			
		||||
		new_wire->start_offset = wire->start_offset + offset;
 | 
			
		||||
 | 
			
		||||
		if (wire->attributes.count(ID::src))
 | 
			
		||||
			new_wire->attributes[ID::src] = wire->attributes.at(ID::src);
 | 
			
		||||
 | 
			
		||||
		if (wire->attributes.count(ID::hdlname))
 | 
			
		||||
			new_wire->attributes[ID::hdlname] = wire->attributes.at(ID::hdlname);
 | 
			
		||||
 | 
			
		||||
		if (wire->attributes.count(ID::keep))
 | 
			
		||||
			new_wire->attributes[ID::keep] = wire->attributes.at(ID::keep);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue