mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	Changed more code to the new RTLIL::Wire constructors
This commit is contained in:
		
							parent
							
								
									946ddff9ce
								
							
						
					
					
						commit
						d68c993ed2
					
				
					 8 changed files with 52 additions and 81 deletions
				
			
		|  | @ -729,13 +729,10 @@ struct ExtractPass : public Pass { | |||
| 
 | ||||
| 				int portCounter = 1; | ||||
| 				for (auto wire : wires) { | ||||
| 					RTLIL::Wire *newWire = new RTLIL::Wire; | ||||
| 					newWire->name = wire->name; | ||||
| 					newWire->width = wire->width; | ||||
| 					RTLIL::Wire *newWire = newMod->addWire(wire->name, wire->width); | ||||
| 					newWire->port_id = portCounter++; | ||||
| 					newWire->port_input = true; | ||||
| 					newWire->port_output = true; | ||||
| 					newMod->add(newWire); | ||||
| 				} | ||||
| 
 | ||||
| 				for (auto cell : cells) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue