mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	nullptr check
This commit is contained in:
		
							parent
							
								
									2f770b7400
								
							
						
					
					
						commit
						d2fed0a7f1
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -124,6 +124,7 @@ void handle_loops(RTLIL::Design *design) | ||||||
| 				RTLIL::SigSpec sig; | 				RTLIL::SigSpec sig; | ||||||
| 				for (auto b : it->second) { | 				for (auto b : it->second) { | ||||||
| 					Wire *w = b.wire; | 					Wire *w = b.wire; | ||||||
|  | 					if (!w) continue; | ||||||
| 					if (w->port_output) { | 					if (w->port_output) { | ||||||
| 						log_assert(w->get_bool_attribute("\\abc_scc_break")); | 						log_assert(w->get_bool_attribute("\\abc_scc_break")); | ||||||
| 						w = module->wire(stringf("%s.abci", w->name.c_str())); | 						w = module->wire(stringf("%s.abci", w->name.c_str())); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue