mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 11:12:29 +00:00 
			
		
		
		
	cxxrtl: don't reset elided wires with \init attribute.
This commit is contained in:
		
							parent
							
								
									ed4642e18e
								
							
						
					
					
						commit
						fc049e84a9
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -1838,6 +1838,8 @@ struct CxxrtlWorker { | |||
| 		int mem_init_idx = 0; | ||||
| 		inc_indent(); | ||||
| 			for (auto wire : module->wires()) { | ||||
| 				const auto &wire_type = wire_types[wire]; | ||||
| 				if (!wire_type.is_named() || wire_type.is_local()) continue; | ||||
| 				if (!wire_init.count(wire)) continue; | ||||
| 
 | ||||
| 				f << indent << mangle(wire) << " = "; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue