mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Added log_warning() API
This commit is contained in:
		
							parent
							
								
									cb9e10b462
								
							
						
					
					
						commit
						fe829bdbdc
					
				
					 15 changed files with 57 additions and 34 deletions
				
			
		| 
						 | 
				
			
			@ -730,7 +730,7 @@ static void import_netlist(RTLIL::Design *design, Netlist *nl, std::set<Netlist*
 | 
			
		|||
			if (import_netlist_instance_cells(module, net_map, inst))
 | 
			
		||||
				continue;
 | 
			
		||||
			if (inst->IsOperator())
 | 
			
		||||
				log("Warning: Unsupported Verific operator: %s (fallback to gate level implementation provided by verific)\n", inst->View()->Owner()->Name());
 | 
			
		||||
				log_warning("Unsupported Verific operator: %s (fallback to gate level implementation provided by verific)\n", inst->View()->Owner()->Name());
 | 
			
		||||
		} else {
 | 
			
		||||
			if (import_netlist_instance_gates(module, net_map, inst))
 | 
			
		||||
				continue;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue