public static void RegisterType(VHDL.declaration.Subtype vhdlType, System.Type runtimeType)
        {
            if (subTypeDictionary == null)
            {
                subTypeDictionary = new Dictionary <VHDL.declaration.Subtype, System.Type>();
            }

            if (subTypeDictionary.ContainsKey(vhdlType) == false)
            {
                subTypeDictionary.Add(vhdlType, runtimeType);
            }
            else
            {
                subTypeDictionary[vhdlType] = runtimeType;
            }
        }
 public static System.Type GetBuiltInSubType(VHDL.declaration.Subtype type)
 {
     return(subTypeDictionary[type]);
 }
 public static bool ContainsBuiltInSubType(VHDL.declaration.Subtype type)
 {
     return(subTypeDictionary.ContainsKey(type));
 }