mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Fix coredump when wire is nullptr
This commit is contained in:
		
							parent
							
								
									71b6dff345
								
							
						
					
					
						commit
						a54f450eb9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -2516,7 +2516,7 @@ struct AnnotateActivity : public OutputWriter { | |||
| 			}, | ||||
| 			[this, use_signal, dataMap, max_time, real_timescale, clk_period, debug] | ||||
| 			  (const char *name, int size, Wire *w, int id, bool is_reg) { | ||||
| 				if (!use_signal.at(id)) | ||||
| 				if (!use_signal.at(id) || (w == nullptr)) | ||||
| 					return; | ||||
| 				std::string full_name = form_vcd_name(name, size, w); | ||||
| 				SignalActivityDataMap::const_iterator itr = dataMap.find(id); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue