mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-28 10:19:26 +00:00 
			
		
		
		
	Bugfix in delete command
This commit is contained in:
		
							parent
							
								
									039bb456cc
								
							
						
					
					
						commit
						b3b5fac191
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -29,8 +29,10 @@ struct DeleteWireWorker | |||
| 	void operator()(RTLIL::SigSpec &sig) { | ||||
| 		sig.optimize(); | ||||
| 		for (auto &c : sig.chunks) | ||||
| 			if (c.wire != NULL && delete_wires_p->count(c.wire->name)) | ||||
| 			if (c.wire != NULL && delete_wires_p->count(c.wire->name)) { | ||||
| 				c.wire = module->new_wire(c.width, NEW_ID); | ||||
| 				c.offset = 0; | ||||
| 			} | ||||
| 	} | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue