diff options
-rw-r--r-- | pyGHDL/libghdl/std_names.py | 744 | ||||
-rw-r--r-- | src/std_names.adb | 6 | ||||
-rw-r--r-- | src/std_names.ads | 11 |
3 files changed, 387 insertions, 374 deletions
diff --git a/pyGHDL/libghdl/std_names.py b/pyGHDL/libghdl/std_names.py index e6339520f..5d9416623 100644 --- a/pyGHDL/libghdl/std_names.py +++ b/pyGHDL/libghdl/std_names.py @@ -458,373 +458,377 @@ class Name: Frequency_Domain = 671 Domain = 672 Frequency = 673 - Last_Standard = 673 - First_Charname = 674 - Nul = 674 - Soh = 675 - Stx = 676 - Etx = 677 - Eot = 678 - Enq = 679 - Ack = 680 - Bel = 681 - Bs = 682 - Ht = 683 - Lf = 684 - Vt = 685 - Ff = 686 - Cr = 687 - So = 688 - Si = 689 - Dle = 690 - Dc1 = 691 - Dc2 = 692 - Dc3 = 693 - Dc4 = 694 - Nak = 695 - Syn = 696 - Etb = 697 - Can = 698 - Em = 699 - Sub = 700 - Esc = 701 - Fsp = 702 - Gsp = 703 - Rsp = 704 - Usp = 705 - Del = 706 - C128 = 707 - C129 = 708 - C130 = 709 - C131 = 710 - C132 = 711 - C133 = 712 - C134 = 713 - C135 = 714 - C136 = 715 - C137 = 716 - C138 = 717 - C139 = 718 - C140 = 719 - C141 = 720 - C142 = 721 - C143 = 722 - C144 = 723 - C145 = 724 - C146 = 725 - C147 = 726 - C148 = 727 - C149 = 728 - C150 = 729 - C151 = 730 - C152 = 731 - C153 = 732 - C154 = 733 - C155 = 734 - C156 = 735 - C157 = 736 - C158 = 737 - C159 = 738 - Last_Charname = 738 - First_Misc = 739 - Guard = 739 - Deallocate = 740 - File_Open = 741 - File_Close = 742 - Read = 743 - Write = 744 - Flush = 745 - Endfile = 746 - I = 747 - J = 748 - F = 749 - L = 750 - P = 751 - R = 752 - S = 753 - V = 754 - External_Name = 755 - Open_Kind = 756 - First = 757 - Last = 758 - Textio = 759 - Work = 760 - Text = 761 - To_String = 762 - Minimum = 763 - Maximum = 764 - Untruncated_Text_Read = 765 - Textio_Read_Real = 766 - Textio_Write_Real = 767 - Get_Resolution_Limit = 768 - Control_Simulation = 769 - Step = 770 - Index = 771 - Item = 772 - Uu_File_Uu = 773 - Uu_Line_Uu = 774 - Label_Applies_To = 775 - Return_Port_Name = 776 - Map_To_Operator = 777 - Type_Function = 778 - Built_In = 779 - NNone = 780 - Last_Misc = 780 - First_Ieee_Pkg = 781 - Ieee = 781 - Std_Logic_1164 = 782 - VITAL_Timing = 783 - Numeric_Std = 784 - Numeric_Bit = 785 - Numeric_Std_Unsigned = 786 - Std_Logic_Arith = 787 - Std_Logic_Signed = 788 - Std_Logic_Unsigned = 789 - Std_Logic_Textio = 790 - Std_Logic_Misc = 791 - Math_Real = 792 - Last_Ieee_Pkg = 792 - First_Ieee_Name = 793 - Std_Ulogic = 793 - Std_Ulogic_Vector = 794 - Std_Logic = 795 - Std_Logic_Vector = 796 - Rising_Edge = 797 - Falling_Edge = 798 - VITAL_Level0 = 799 - VITAL_Level1 = 800 - Unresolved_Unsigned = 801 - Unresolved_Signed = 802 - To_Integer = 803 - To_Unsigned = 804 - To_Signed = 805 - Resize = 806 - Std_Match = 807 - Shift_Left = 808 - Shift_Right = 809 - Rotate_Left = 810 - Rotate_Right = 811 - To_Bit = 812 - To_Bitvector = 813 - To_Stdulogic = 814 - To_Stdlogicvector = 815 - To_Stdulogicvector = 816 - Is_X = 817 - To_01 = 818 - To_X01 = 819 - To_X01Z = 820 - To_UX01 = 821 - Conv_Signed = 822 - Conv_Unsigned = 823 - Conv_Integer = 824 - Conv_Std_Logic_Vector = 825 - And_Reduce = 826 - Nand_Reduce = 827 - Or_Reduce = 828 - Nor_Reduce = 829 - Xor_Reduce = 830 - Xnor_Reduce = 831 - Ceil = 832 - Floor = 833 - Round = 834 - Log2 = 835 - Sin = 836 - Cos = 837 - Arctan = 838 - Shl = 839 - Shr = 840 - Ext = 841 - Sxt = 842 - Find_Leftmost = 843 - Find_Rightmost = 844 - Last_Ieee_Name = 844 - First_Synthesis = 845 - Allconst = 845 - Allseq = 846 - Anyconst = 847 - Anyseq = 848 - Gclk = 849 - Loc = 850 - Keep = 851 - Syn_Black_Box = 852 - Last_Synthesis = 852 - First_Directive = 853 - Define = 853 - Endif = 854 - Ifdef = 855 - Ifndef = 856 - Include = 857 - Timescale = 858 - Undef = 859 - Protect = 860 - Begin_Protected = 861 - End_Protected = 862 - Key_Block = 863 - Data_Block = 864 - Line = 865 - Celldefine = 866 - Endcelldefine = 867 - Default_Nettype = 868 - Resetall = 869 - Last_Directive = 869 - First_Systask = 870 - Bits = 870 - D_Root = 871 - D_Unit = 872 - Last_Systask = 872 - First_SV_Method = 873 - Size = 873 - Insert = 874 - Delete = 875 - Pop_Front = 876 - Pop_Back = 877 - Push_Front = 878 - Push_Back = 879 - Name = 880 - Len = 881 - Substr = 882 - Exists = 883 - Atoi = 884 - Itoa = 885 - Find = 886 - Find_Index = 887 - Find_First = 888 - Find_First_Index = 889 - Find_Last = 890 - Find_Last_Index = 891 - Num = 892 - Randomize = 893 - Pre_Randomize = 894 - Post_Randomize = 895 - Srandom = 896 - Get_Randstate = 897 - Set_Randstate = 898 - Seed = 899 - State = 900 - Last_SV_Method = 900 - First_BSV = 901 - uAction = 901 - uActionValue = 902 - BVI = 903 - uC = 904 - uCF = 905 - uE = 906 - uSB = 907 - uSBR = 908 - Action = 909 - Endaction = 910 - Actionvalue = 911 - Endactionvalue = 912 - Ancestor = 913 - Clocked_By = 914 - Default_Clock = 915 - Default_Reset = 916 - Dependencies = 917 - Deriving = 918 - Determines = 919 - Enable = 920 - Ifc_Inout = 921 - Input_Clock = 922 - Input_Reset = 923 - Instance = 924 - Endinstance = 925 - Let = 926 - Match = 927 - Method = 928 - Endmethod = 929 - Numeric = 930 - Output_Clock = 931 - Output_Reset = 932 - Par = 933 - Endpar = 934 - Path = 935 - Provisos = 936 - Ready = 937 - Reset_By = 938 - Rule = 939 - Endrule = 940 - Rules = 941 - Endrules = 942 - Same_Family = 943 - Schedule = 944 - Seq = 945 - Endseq = 946 - Typeclass = 947 - Endtypeclass = 948 - Valueof = 949 - uValueof = 950 - Last_BSV = 950 - First_Comment = 951 - Psl = 951 - Pragma = 952 - Synthesis = 953 - Synopsys = 954 - Translate_Off = 955 - Translate_On = 956 - Translate = 957 - Synthesis_Off = 958 - Synthesis_On = 959 - Off = 960 - Full_Case = 961 - Parallel_Case = 962 - Last_Comment = 962 - First_PSL = 963 - A = 963 - Af = 964 - Ag = 965 - Ax = 966 - Abort = 967 - Assume_Guarantee = 968 - Async_Abort = 969 - Before = 970 - Clock = 971 - E = 972 - Ef = 973 - Eg = 974 - Ex = 975 - Endpoint = 976 - Eventually = 977 - Fairness = 978 - Fell = 979 - Forall = 980 - G = 981 - Inf = 982 - Never = 983 - Next_A = 984 - Next_E = 985 - Next_Event = 986 - Next_Event_A = 987 - Next_Event_E = 988 - Onehot = 989 - Onehot0 = 990 - Prev = 991 - Rose = 992 - Strong = 993 - Sync_Abort = 994 - W = 995 - Whilenot = 996 - Within = 997 - X = 998 - Last_PSL = 998 - First_Edif = 999 - Celltype = 1009 - View = 1010 - Viewtype = 1011 - Direction = 1012 - Contents = 1013 - Net = 1014 - Viewref = 1015 - Cellref = 1016 - Libraryref = 1017 - Portinstance = 1018 - Joined = 1019 - Portref = 1020 - Instanceref = 1021 - Design = 1022 - Designator = 1023 - Owner = 1024 - Member = 1025 - Number = 1026 - Rename = 1027 - Userdata = 1028 - Last_Edif = 1028 + First_Env = 674 + Env = 674 + Stop = 675 + Finish = 676 + Resolution_Limit = 677 + First_Charname = 678 + Nul = 678 + Soh = 679 + Stx = 680 + Etx = 681 + Eot = 682 + Enq = 683 + Ack = 684 + Bel = 685 + Bs = 686 + Ht = 687 + Lf = 688 + Vt = 689 + Ff = 690 + Cr = 691 + So = 692 + Si = 693 + Dle = 694 + Dc1 = 695 + Dc2 = 696 + Dc3 = 697 + Dc4 = 698 + Nak = 699 + Syn = 700 + Etb = 701 + Can = 702 + Em = 703 + Sub = 704 + Esc = 705 + Fsp = 706 + Gsp = 707 + Rsp = 708 + Usp = 709 + Del = 710 + C128 = 711 + C129 = 712 + C130 = 713 + C131 = 714 + C132 = 715 + C133 = 716 + C134 = 717 + C135 = 718 + C136 = 719 + C137 = 720 + C138 = 721 + C139 = 722 + C140 = 723 + C141 = 724 + C142 = 725 + C143 = 726 + C144 = 727 + C145 = 728 + C146 = 729 + C147 = 730 + C148 = 731 + C149 = 732 + C150 = 733 + C151 = 734 + C152 = 735 + C153 = 736 + C154 = 737 + C155 = 738 + C156 = 739 + C157 = 740 + C158 = 741 + C159 = 742 + Last_Charname = 742 + First_Misc = 743 + Guard = 743 + Deallocate = 744 + File_Open = 745 + File_Close = 746 + Read = 747 + Write = 748 + Flush = 749 + Endfile = 750 + I = 751 + J = 752 + F = 753 + L = 754 + P = 755 + R = 756 + S = 757 + V = 758 + External_Name = 759 + Open_Kind = 760 + First = 761 + Last = 762 + Textio = 763 + Work = 764 + Text = 765 + To_String = 766 + Minimum = 767 + Maximum = 768 + Untruncated_Text_Read = 769 + Textio_Read_Real = 770 + Textio_Write_Real = 771 + Get_Resolution_Limit = 772 + Control_Simulation = 773 + Step = 774 + Index = 775 + Item = 776 + Uu_File_Uu = 777 + Uu_Line_Uu = 778 + Label_Applies_To = 779 + Return_Port_Name = 780 + Map_To_Operator = 781 + Type_Function = 782 + Built_In = 783 + NNone = 784 + Last_Misc = 784 + First_Ieee_Pkg = 785 + Ieee = 785 + Std_Logic_1164 = 786 + VITAL_Timing = 787 + Numeric_Std = 788 + Numeric_Bit = 789 + Numeric_Std_Unsigned = 790 + Std_Logic_Arith = 791 + Std_Logic_Signed = 792 + Std_Logic_Unsigned = 793 + Std_Logic_Textio = 794 + Std_Logic_Misc = 795 + Math_Real = 796 + Last_Ieee_Pkg = 796 + First_Ieee_Name = 797 + Std_Ulogic = 797 + Std_Ulogic_Vector = 798 + Std_Logic = 799 + Std_Logic_Vector = 800 + Rising_Edge = 801 + Falling_Edge = 802 + VITAL_Level0 = 803 + VITAL_Level1 = 804 + Unresolved_Unsigned = 805 + Unresolved_Signed = 806 + To_Integer = 807 + To_Unsigned = 808 + To_Signed = 809 + Resize = 810 + Std_Match = 811 + Shift_Left = 812 + Shift_Right = 813 + Rotate_Left = 814 + Rotate_Right = 815 + To_Bit = 816 + To_Bitvector = 817 + To_Stdulogic = 818 + To_Stdlogicvector = 819 + To_Stdulogicvector = 820 + Is_X = 821 + To_01 = 822 + To_X01 = 823 + To_X01Z = 824 + To_UX01 = 825 + Conv_Signed = 826 + Conv_Unsigned = 827 + Conv_Integer = 828 + Conv_Std_Logic_Vector = 829 + And_Reduce = 830 + Nand_Reduce = 831 + Or_Reduce = 832 + Nor_Reduce = 833 + Xor_Reduce = 834 + Xnor_Reduce = 835 + Ceil = 836 + Floor = 837 + Round = 838 + Log2 = 839 + Sin = 840 + Cos = 841 + Arctan = 842 + Shl = 843 + Shr = 844 + Ext = 845 + Sxt = 846 + Find_Leftmost = 847 + Find_Rightmost = 848 + Last_Ieee_Name = 848 + First_Synthesis = 849 + Allconst = 849 + Allseq = 850 + Anyconst = 851 + Anyseq = 852 + Gclk = 853 + Loc = 854 + Keep = 855 + Syn_Black_Box = 856 + Last_Synthesis = 856 + First_Directive = 857 + Define = 857 + Endif = 858 + Ifdef = 859 + Ifndef = 860 + Include = 861 + Timescale = 862 + Undef = 863 + Protect = 864 + Begin_Protected = 865 + End_Protected = 866 + Key_Block = 867 + Data_Block = 868 + Line = 869 + Celldefine = 870 + Endcelldefine = 871 + Default_Nettype = 872 + Resetall = 873 + Last_Directive = 873 + First_Systask = 874 + Bits = 874 + D_Root = 875 + D_Unit = 876 + Last_Systask = 876 + First_SV_Method = 877 + Size = 877 + Insert = 878 + Delete = 879 + Pop_Front = 880 + Pop_Back = 881 + Push_Front = 882 + Push_Back = 883 + Name = 884 + Len = 885 + Substr = 886 + Exists = 887 + Atoi = 888 + Itoa = 889 + Find = 890 + Find_Index = 891 + Find_First = 892 + Find_First_Index = 893 + Find_Last = 894 + Find_Last_Index = 895 + Num = 896 + Randomize = 897 + Pre_Randomize = 898 + Post_Randomize = 899 + Srandom = 900 + Get_Randstate = 901 + Set_Randstate = 902 + Seed = 903 + State = 904 + Last_SV_Method = 904 + First_BSV = 905 + uAction = 905 + uActionValue = 906 + BVI = 907 + uC = 908 + uCF = 909 + uE = 910 + uSB = 911 + uSBR = 912 + Action = 913 + Endaction = 914 + Actionvalue = 915 + Endactionvalue = 916 + Ancestor = 917 + Clocked_By = 918 + Default_Clock = 919 + Default_Reset = 920 + Dependencies = 921 + Deriving = 922 + Determines = 923 + Enable = 924 + Ifc_Inout = 925 + Input_Clock = 926 + Input_Reset = 927 + Instance = 928 + Endinstance = 929 + Let = 930 + Match = 931 + Method = 932 + Endmethod = 933 + Numeric = 934 + Output_Clock = 935 + Output_Reset = 936 + Par = 937 + Endpar = 938 + Path = 939 + Provisos = 940 + Ready = 941 + Reset_By = 942 + Rule = 943 + Endrule = 944 + Rules = 945 + Endrules = 946 + Same_Family = 947 + Schedule = 948 + Seq = 949 + Endseq = 950 + Typeclass = 951 + Endtypeclass = 952 + Valueof = 953 + uValueof = 954 + Last_BSV = 954 + First_Comment = 955 + Psl = 955 + Pragma = 956 + Synthesis = 957 + Synopsys = 958 + Translate_Off = 959 + Translate_On = 960 + Translate = 961 + Synthesis_Off = 962 + Synthesis_On = 963 + Off = 964 + Full_Case = 965 + Parallel_Case = 966 + Last_Comment = 966 + First_PSL = 967 + A = 967 + Af = 968 + Ag = 969 + Ax = 970 + Abort = 971 + Assume_Guarantee = 972 + Async_Abort = 973 + Before = 974 + Clock = 975 + E = 976 + Ef = 977 + Eg = 978 + Ex = 979 + Endpoint = 980 + Eventually = 981 + Fairness = 982 + Fell = 983 + Forall = 984 + G = 985 + Inf = 986 + Never = 987 + Next_A = 988 + Next_E = 989 + Next_Event = 990 + Next_Event_A = 991 + Next_Event_E = 992 + Onehot = 993 + Onehot0 = 994 + Prev = 995 + Rose = 996 + Strong = 997 + Sync_Abort = 998 + W = 999 + Whilenot = 1000 + Within = 1001 + X = 1002 + Last_PSL = 1002 + First_Edif = 1003 + Celltype = 1013 + View = 1014 + Viewtype = 1015 + Direction = 1016 + Contents = 1017 + Net = 1018 + Viewref = 1019 + Cellref = 1020 + Libraryref = 1021 + Portinstance = 1022 + Joined = 1023 + Portref = 1024 + Instanceref = 1025 + Design = 1026 + Designator = 1027 + Owner = 1028 + Member = 1029 + Number = 1030 + Rename = 1031 + Userdata = 1032 + Last_Edif = 1032 diff --git a/src/std_names.adb b/src/std_names.adb index cf3ffeef5..3e7a769d5 100644 --- a/src/std_names.adb +++ b/src/std_names.adb @@ -501,7 +501,11 @@ package body Std_Names is Def ("frequency_domain", Name_Frequency_Domain); Def ("domain", Name_Domain); Def ("frequency", Name_Frequency); - Def ("real_vector", Name_Real_Vector); + + Def ("env", Name_Env); + Def ("stop", Name_Stop); + Def ("finish", Name_Finish); + Def ("resolution_limit", Name_Resolution_Limit); Def ("nul", Name_Nul); Def ("soh", Name_Soh); diff --git a/src/std_names.ads b/src/std_names.ads index f1165488b..1a69d46bc 100644 --- a/src/std_names.ads +++ b/src/std_names.ads @@ -577,9 +577,14 @@ package Std_Names is Name_Domain : constant Name_Id := Name_First_Standard + 059; Name_Frequency : constant Name_Id := Name_First_Standard + 060; - Name_Last_Standard : constant Name_Id := Name_Frequency; - - Name_First_Charname : constant Name_Id := Name_Last_Standard + 1; + -- For Std.Env + Name_First_Env : constant Name_Id := Name_Frequency + 1; + Name_Env : constant Name_Id := Name_First_Env + 0; + Name_Stop : constant Name_Id := Name_First_Env + 1; + Name_Finish : constant Name_Id := Name_First_Env + 2; + Name_Resolution_Limit : constant Name_Id := Name_First_Env + 3; + + Name_First_Charname : constant Name_Id := Name_Resolution_Limit + 1; Name_Nul : constant Name_Id := Name_First_Charname + 00; Name_Soh : constant Name_Id := Name_First_Charname + 01; Name_Stx : constant Name_Id := Name_First_Charname + 02; |