mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	verific: ignore anonymous enums
This commit is contained in:
		
							parent
							
								
									97bfe65d3a
								
							
						
					
					
						commit
						5017ff4a97
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -172,7 +172,10 @@ void VerificImporter::import_attributes(dict<RTLIL::IdString, RTLIL::Const> &att
 | 
			
		|||
			return;
 | 
			
		||||
		if (nl->IsFromVhdl() && strcmp(type_range->GetTypeName(), "STD_LOGIC") == 0)
 | 
			
		||||
			return;
 | 
			
		||||
		attributes.emplace(ID::wiretype, RTLIL::escape_id(type_range->GetTypeName()));
 | 
			
		||||
		auto type_name = type_range->GetTypeName();
 | 
			
		||||
		if (!type_name)
 | 
			
		||||
			return;
 | 
			
		||||
		attributes.emplace(ID::wiretype, RTLIL::escape_id(type_name));
 | 
			
		||||
 | 
			
		||||
		MapIter mi;
 | 
			
		||||
		const char *k, *v;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue