mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	VHDL is case insensitive, make sure netlist name is proper
This commit is contained in:
		
							parent
							
								
									81df8557d9
								
							
						
					
					
						commit
						c94aa719d9
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -58,6 +58,7 @@ USING_YOSYS_NAMESPACE
 | 
			
		|||
 | 
			
		||||
#ifdef VERIFIC_VHDL_SUPPORT
 | 
			
		||||
#include "vhdl_file.h"
 | 
			
		||||
#include "VhdlIdDef.h"
 | 
			
		||||
#include "VhdlUnits.h"
 | 
			
		||||
#include "NameSpace.h"
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			@ -2817,6 +2818,10 @@ std::set<std::string> import_tops(const char* work, std::map<std::string,Netlist
 | 
			
		|||
				if (show_message)
 | 
			
		||||
					log("Adding VHDL unit '%s' to elaboration queue.\n", name);
 | 
			
		||||
				vhdl_units.InsertLast(vhdl_unit);
 | 
			
		||||
				if (strcmp(name, vhdl_unit->Id()->OrigName()) != 0) {
 | 
			
		||||
					top_mod_names.erase(name);
 | 
			
		||||
					top_mod_names.insert(vhdl_unit->Id()->OrigName());
 | 
			
		||||
				}
 | 
			
		||||
				continue;
 | 
			
		||||
			}
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue