diff options
Diffstat (limited to 'python/libghdl')
-rw-r--r-- | python/libghdl/thin/errorout.py | 41 | ||||
-rw-r--r-- | python/libghdl/thin/std_names.py | 406 | ||||
-rw-r--r-- | python/libghdl/thin/vhdl/nodes.py | 142 |
3 files changed, 302 insertions, 287 deletions
diff --git a/python/libghdl/thin/errorout.py b/python/libghdl/thin/errorout.py index 809cc919e..36f482c7b 100644 --- a/python/libghdl/thin/errorout.py +++ b/python/libghdl/thin/errorout.py @@ -12,23 +12,24 @@ class Msgid: Warnid_Binding = 4 Warnid_Port = 5 Warnid_Reserved_Word = 6 - Warnid_Nested_Comment = 7 - Warnid_Directive = 8 - Warnid_Parenthesis = 9 - Warnid_Vital_Generic = 10 - Warnid_Delayed_Checks = 11 - Warnid_Body = 12 - Warnid_Specs = 13 - Warnid_Universal = 14 - Warnid_Port_Bounds = 15 - Warnid_Runtime_Error = 16 - Warnid_Delta_Cycle = 17 - Warnid_Shared = 18 - Warnid_Hide = 19 - Warnid_Unused = 20 - Warnid_Others = 21 - Warnid_Pure = 22 - Warnid_Static = 23 - Msgid_Warning = 24 - Msgid_Error = 25 - Msgid_Fatal = 26 + Warnid_Pragma = 7 + Warnid_Nested_Comment = 8 + Warnid_Directive = 9 + Warnid_Parenthesis = 10 + Warnid_Vital_Generic = 11 + Warnid_Delayed_Checks = 12 + Warnid_Body = 13 + Warnid_Specs = 14 + Warnid_Universal = 15 + Warnid_Port_Bounds = 16 + Warnid_Runtime_Error = 17 + Warnid_Delta_Cycle = 18 + Warnid_Shared = 19 + Warnid_Hide = 20 + Warnid_Unused = 21 + Warnid_Others = 22 + Warnid_Pure = 23 + Warnid_Static = 24 + Msgid_Warning = 25 + Msgid_Error = 26 + Msgid_Fatal = 27 diff --git a/python/libghdl/thin/std_names.py b/python/libghdl/thin/std_names.py index 9098c9db4..a4ad8bece 100644 --- a/python/libghdl/thin/std_names.py +++ b/python/libghdl/thin/std_names.py @@ -550,204 +550,208 @@ class Name: Item = 766 Uu_File_Uu = 767 Uu_Line_Uu = 768 - NNone = 769 - Last_Misc = 769 - First_Ieee = 770 - Ieee = 770 - Std_Logic_1164 = 771 - Std_Ulogic = 772 - Std_Ulogic_Vector = 773 - Std_Logic = 774 - Std_Logic_Vector = 775 - Rising_Edge = 776 - Falling_Edge = 777 - VITAL_Timing = 778 - VITAL_Level0 = 779 - VITAL_Level1 = 780 - Numeric_Std = 781 - Numeric_Bit = 782 - Unresolved_Unsigned = 783 - Unresolved_Signed = 784 - Std_Logic_Arith = 785 - Std_Logic_Signed = 786 - Std_Logic_Textio = 787 - Std_Logic_Unsigned = 788 - To_Integer = 789 - To_Unsigned = 790 - To_Signed = 791 - Math_Real = 792 - Ceil = 793 - Log2 = 794 - Last_Ieee = 794 - First_Directive = 795 - Define = 795 - Endif = 796 - Ifdef = 797 - Ifndef = 798 - Include = 799 - Timescale = 800 - Undef = 801 - Protect = 802 - Begin_Protected = 803 - End_Protected = 804 - Key_Block = 805 - Data_Block = 806 - Line = 807 - Celldefine = 808 - Endcelldefine = 809 - Default_Nettype = 810 - Resetall = 811 - Last_Directive = 811 - First_Systask = 812 - Bits = 812 - D_Root = 813 - D_Unit = 814 - Last_Systask = 814 - First_SV_Method = 815 - Size = 815 - Insert = 816 - Delete = 817 - Pop_Front = 818 - Pop_Back = 819 - Push_Front = 820 - Push_Back = 821 - Name = 822 - Len = 823 - Substr = 824 - Exists = 825 - Atoi = 826 - Itoa = 827 - Find = 828 - Find_Index = 829 - Find_First = 830 - Find_First_Index = 831 - Find_Last = 832 - Find_Last_Index = 833 - Num = 834 - Randomize = 835 - Pre_Randomize = 836 - Post_Randomize = 837 - Srandom = 838 - Get_Randstate = 839 - Set_Randstate = 840 - Seed = 841 - State = 842 - Last_SV_Method = 842 - First_BSV = 843 - uAction = 843 - uActionValue = 844 - BVI = 845 - uC = 846 - uCF = 847 - uE = 848 - uSB = 849 - uSBR = 850 - Action = 851 - Endaction = 852 - Actionvalue = 853 - Endactionvalue = 854 - Ancestor = 855 - Clocked_By = 856 - Default_Clock = 857 - Default_Reset = 858 - Dependencies = 859 - Deriving = 860 - Determines = 861 - Enable = 862 - Ifc_Inout = 863 - Input_Clock = 864 - Input_Reset = 865 - Instance = 866 - Endinstance = 867 - Let = 868 - Match = 869 - Method = 870 - Endmethod = 871 - Numeric = 872 - Output_Clock = 873 - Output_Reset = 874 - Par = 875 - Endpar = 876 - Path = 877 - Provisos = 878 - Ready = 879 - Reset_By = 880 - Rule = 881 - Endrule = 882 - Rules = 883 - Endrules = 884 - Same_Family = 885 - Schedule = 886 - Seq = 887 - Endseq = 888 - Typeclass = 889 - Endtypeclass = 890 - Valueof = 891 - uValueof = 892 - Last_BSV = 892 - First_Comment = 893 - Psl = 893 - Pragma = 894 - Last_Comment = 894 - First_PSL = 895 - A = 895 - Af = 896 - Ag = 897 - Ax = 898 - Abort = 899 - Assume_Guarantee = 900 - Before = 901 - Clock = 902 - E = 903 - Ef = 904 - Eg = 905 - Ex = 906 - Endpoint = 907 - Eventually = 908 - Fairness = 909 - Fell = 910 - Forall = 911 - G = 912 - Inf = 913 - Inherit = 914 - Never = 915 - Next_A = 916 - Next_E = 917 - Next_Event = 918 - Next_Event_A = 919 - Next_Event_E = 920 - Prev = 921 - Restrict = 922 - Restrict_Guarantee = 923 - Rose = 924 - Strong = 925 - Vmode = 926 - Vprop = 927 - Vunit = 928 - W = 929 - Whilenot = 930 - Within = 931 - X = 932 - Last_PSL = 932 - First_Edif = 933 - Celltype = 943 - View = 944 - Viewtype = 945 - Direction = 946 - Contents = 947 - Net = 948 - Viewref = 949 - Cellref = 950 - Libraryref = 951 - Portinstance = 952 - Joined = 953 - Portref = 954 - Instanceref = 955 - Design = 956 - Designator = 957 - Owner = 958 - Member = 959 - Number = 960 - Rename = 961 - Userdata = 962 - Last_Edif = 962 + Synthesis = 769 + Translate_Off = 770 + Translate_On = 771 + NNone = 772 + Last_Misc = 772 + First_Ieee = 773 + Ieee = 773 + Std_Logic_1164 = 774 + Std_Ulogic = 775 + Std_Ulogic_Vector = 776 + Std_Logic = 777 + Std_Logic_Vector = 778 + Rising_Edge = 779 + Falling_Edge = 780 + VITAL_Timing = 781 + VITAL_Level0 = 782 + VITAL_Level1 = 783 + Numeric_Std = 784 + Numeric_Bit = 785 + Unresolved_Unsigned = 786 + Unresolved_Signed = 787 + Std_Logic_Arith = 788 + Std_Logic_Signed = 789 + Std_Logic_Textio = 790 + Std_Logic_Unsigned = 791 + To_Integer = 792 + To_Unsigned = 793 + To_Signed = 794 + Resize = 795 + Math_Real = 796 + Ceil = 797 + Log2 = 798 + Last_Ieee = 798 + First_Directive = 799 + Define = 799 + Endif = 800 + Ifdef = 801 + Ifndef = 802 + Include = 803 + Timescale = 804 + Undef = 805 + Protect = 806 + Begin_Protected = 807 + End_Protected = 808 + Key_Block = 809 + Data_Block = 810 + Line = 811 + Celldefine = 812 + Endcelldefine = 813 + Default_Nettype = 814 + Resetall = 815 + Last_Directive = 815 + First_Systask = 816 + Bits = 816 + D_Root = 817 + D_Unit = 818 + Last_Systask = 818 + First_SV_Method = 819 + Size = 819 + Insert = 820 + Delete = 821 + Pop_Front = 822 + Pop_Back = 823 + Push_Front = 824 + Push_Back = 825 + Name = 826 + Len = 827 + Substr = 828 + Exists = 829 + Atoi = 830 + Itoa = 831 + Find = 832 + Find_Index = 833 + Find_First = 834 + Find_First_Index = 835 + Find_Last = 836 + Find_Last_Index = 837 + Num = 838 + Randomize = 839 + Pre_Randomize = 840 + Post_Randomize = 841 + Srandom = 842 + Get_Randstate = 843 + Set_Randstate = 844 + Seed = 845 + State = 846 + Last_SV_Method = 846 + First_BSV = 847 + uAction = 847 + uActionValue = 848 + BVI = 849 + uC = 850 + uCF = 851 + uE = 852 + uSB = 853 + uSBR = 854 + Action = 855 + Endaction = 856 + Actionvalue = 857 + Endactionvalue = 858 + Ancestor = 859 + Clocked_By = 860 + Default_Clock = 861 + Default_Reset = 862 + Dependencies = 863 + Deriving = 864 + Determines = 865 + Enable = 866 + Ifc_Inout = 867 + Input_Clock = 868 + Input_Reset = 869 + Instance = 870 + Endinstance = 871 + Let = 872 + Match = 873 + Method = 874 + Endmethod = 875 + Numeric = 876 + Output_Clock = 877 + Output_Reset = 878 + Par = 879 + Endpar = 880 + Path = 881 + Provisos = 882 + Ready = 883 + Reset_By = 884 + Rule = 885 + Endrule = 886 + Rules = 887 + Endrules = 888 + Same_Family = 889 + Schedule = 890 + Seq = 891 + Endseq = 892 + Typeclass = 893 + Endtypeclass = 894 + Valueof = 895 + uValueof = 896 + Last_BSV = 896 + First_Comment = 897 + Psl = 897 + Pragma = 898 + Last_Comment = 898 + First_PSL = 899 + A = 899 + Af = 900 + Ag = 901 + Ax = 902 + Abort = 903 + Assume_Guarantee = 904 + Before = 905 + Clock = 906 + E = 907 + Ef = 908 + Eg = 909 + Ex = 910 + Endpoint = 911 + Eventually = 912 + Fairness = 913 + Fell = 914 + Forall = 915 + G = 916 + Inf = 917 + Inherit = 918 + Never = 919 + Next_A = 920 + Next_E = 921 + Next_Event = 922 + Next_Event_A = 923 + Next_Event_E = 924 + Prev = 925 + Restrict = 926 + Restrict_Guarantee = 927 + Rose = 928 + Strong = 929 + Vmode = 930 + Vprop = 931 + Vunit = 932 + W = 933 + Whilenot = 934 + Within = 935 + X = 936 + Last_PSL = 936 + First_Edif = 937 + Celltype = 947 + View = 948 + Viewtype = 949 + Direction = 950 + Contents = 951 + Net = 952 + Viewref = 953 + Cellref = 954 + Libraryref = 955 + Portinstance = 956 + Joined = 957 + Portref = 958 + Instanceref = 959 + Design = 960 + Designator = 961 + Owner = 962 + Member = 963 + Number = 964 + Rename = 965 + Userdata = 966 + Last_Edif = 966 diff --git a/python/libghdl/thin/vhdl/nodes.py b/python/libghdl/thin/vhdl/nodes.py index 5f93cebef..26b1a6f86 100644 --- a/python/libghdl/thin/vhdl/nodes.py +++ b/python/libghdl/thin/vhdl/nodes.py @@ -1053,72 +1053,82 @@ class Iir_Predefined: Ieee_Numeric_Std_Touns_Nat_Uns_Uns = 189 Ieee_Numeric_Std_Tosgn_Int_Nat_Sgn = 190 Ieee_Numeric_Std_Tosgn_Int_Sgn_Sgn = 191 - Ieee_Numeric_Std_Add_Uns_Uns = 192 - Ieee_Numeric_Std_Add_Uns_Nat = 193 - Ieee_Numeric_Std_Add_Nat_Uns = 194 - Ieee_Numeric_Std_Add_Sgn_Sgn = 195 - Ieee_Numeric_Std_Add_Sgn_Int = 196 - Ieee_Numeric_Std_Add_Int_Sgn = 197 - Ieee_Numeric_Std_Sub_Uns_Uns = 198 - Ieee_Numeric_Std_Sub_Uns_Nat = 199 - Ieee_Numeric_Std_Sub_Nat_Uns = 200 - Ieee_Numeric_Std_Sub_Sgn_Sgn = 201 - Ieee_Numeric_Std_Sub_Sgn_Int = 202 - Ieee_Numeric_Std_Sub_Int_Sgn = 203 - Ieee_Numeric_Std_Gt_Uns_Uns = 204 - Ieee_Numeric_Std_Gt_Uns_Nat = 205 - Ieee_Numeric_Std_Gt_Nat_Uns = 206 - Ieee_Numeric_Std_Gt_Sgn_Sgn = 207 - Ieee_Numeric_Std_Gt_Sgn_Int = 208 - Ieee_Numeric_Std_Gt_Int_Sgn = 209 - Ieee_Numeric_Std_Lt_Uns_Uns = 210 - Ieee_Numeric_Std_Lt_Uns_Nat = 211 - Ieee_Numeric_Std_Lt_Nat_Uns = 212 - Ieee_Numeric_Std_Lt_Sgn_Sgn = 213 - Ieee_Numeric_Std_Lt_Sgn_Int = 214 - Ieee_Numeric_Std_Lt_Int_Sgn = 215 - Ieee_Numeric_Std_Le_Uns_Uns = 216 - Ieee_Numeric_Std_Le_Uns_Nat = 217 - Ieee_Numeric_Std_Le_Nat_Uns = 218 - Ieee_Numeric_Std_Le_Sgn_Sgn = 219 - Ieee_Numeric_Std_Le_Sgn_Int = 220 - Ieee_Numeric_Std_Le_Int_Sgn = 221 - Ieee_Numeric_Std_Ge_Uns_Uns = 222 - Ieee_Numeric_Std_Ge_Uns_Nat = 223 - Ieee_Numeric_Std_Ge_Nat_Uns = 224 - Ieee_Numeric_Std_Ge_Sgn_Sgn = 225 - Ieee_Numeric_Std_Ge_Sgn_Int = 226 - Ieee_Numeric_Std_Ge_Int_Sgn = 227 - Ieee_Numeric_Std_Eq_Uns_Uns = 228 - Ieee_Numeric_Std_Eq_Uns_Nat = 229 - Ieee_Numeric_Std_Eq_Nat_Uns = 230 - Ieee_Numeric_Std_Eq_Sgn_Sgn = 231 - Ieee_Numeric_Std_Eq_Sgn_Int = 232 - Ieee_Numeric_Std_Eq_Int_Sgn = 233 - Ieee_Numeric_Std_Ne_Uns_Uns = 234 - Ieee_Numeric_Std_Ne_Uns_Nat = 235 - Ieee_Numeric_Std_Ne_Nat_Uns = 236 - Ieee_Numeric_Std_Ne_Sgn_Sgn = 237 - Ieee_Numeric_Std_Ne_Sgn_Int = 238 - Ieee_Numeric_Std_Ne_Int_Sgn = 239 - Ieee_Numeric_Std_Neg_Uns = 240 - Ieee_Numeric_Std_Neg_Sgn = 241 - Ieee_Math_Real_Ceil = 242 - Ieee_Math_Real_Log2 = 243 - Ieee_Std_Logic_Unsigned_Add_Slv_Slv = 244 - Ieee_Std_Logic_Unsigned_Add_Slv_Int = 245 - Ieee_Std_Logic_Unsigned_Add_Int_Slv = 246 - Ieee_Std_Logic_Unsigned_Add_Slv_Sl = 247 - Ieee_Std_Logic_Unsigned_Add_Sl_Slv = 248 - Ieee_Std_Logic_Unsigned_Lt_Slv_Slv = 249 - Ieee_Std_Logic_Unsigned_Lt_Slv_Int = 250 - Ieee_Std_Logic_Unsigned_Lt_Int_Slv = 251 - Ieee_Std_Logic_Unsigned_Le_Slv_Slv = 252 - Ieee_Std_Logic_Unsigned_Le_Slv_Int = 253 - Ieee_Std_Logic_Unsigned_Le_Int_Slv = 254 - Ieee_Std_Logic_Unsigned_Eq_Slv_Slv = 255 - Ieee_Std_Logic_Unsigned_Eq_Slv_Int = 256 - Ieee_Std_Logic_Unsigned_Eq_Int_Slv = 257 + Ieee_Numeric_Std_Resize_Uns_Nat = 192 + Ieee_Numeric_Std_Resize_Sgn_Nat = 193 + Ieee_Numeric_Std_Resize_Uns_Uns = 194 + Ieee_Numeric_Std_Resize_Sgn_Sgn = 195 + Ieee_Numeric_Std_Add_Uns_Uns = 196 + Ieee_Numeric_Std_Add_Uns_Nat = 197 + Ieee_Numeric_Std_Add_Nat_Uns = 198 + Ieee_Numeric_Std_Add_Sgn_Sgn = 199 + Ieee_Numeric_Std_Add_Sgn_Int = 200 + Ieee_Numeric_Std_Add_Int_Sgn = 201 + Ieee_Numeric_Std_Sub_Uns_Uns = 202 + Ieee_Numeric_Std_Sub_Uns_Nat = 203 + Ieee_Numeric_Std_Sub_Nat_Uns = 204 + Ieee_Numeric_Std_Sub_Sgn_Sgn = 205 + Ieee_Numeric_Std_Sub_Sgn_Int = 206 + Ieee_Numeric_Std_Sub_Int_Sgn = 207 + Ieee_Numeric_Std_Gt_Uns_Uns = 208 + Ieee_Numeric_Std_Gt_Uns_Nat = 209 + Ieee_Numeric_Std_Gt_Nat_Uns = 210 + Ieee_Numeric_Std_Gt_Sgn_Sgn = 211 + Ieee_Numeric_Std_Gt_Sgn_Int = 212 + Ieee_Numeric_Std_Gt_Int_Sgn = 213 + Ieee_Numeric_Std_Lt_Uns_Uns = 214 + Ieee_Numeric_Std_Lt_Uns_Nat = 215 + Ieee_Numeric_Std_Lt_Nat_Uns = 216 + Ieee_Numeric_Std_Lt_Sgn_Sgn = 217 + Ieee_Numeric_Std_Lt_Sgn_Int = 218 + Ieee_Numeric_Std_Lt_Int_Sgn = 219 + Ieee_Numeric_Std_Le_Uns_Uns = 220 + Ieee_Numeric_Std_Le_Uns_Nat = 221 + Ieee_Numeric_Std_Le_Nat_Uns = 222 + Ieee_Numeric_Std_Le_Sgn_Sgn = 223 + Ieee_Numeric_Std_Le_Sgn_Int = 224 + Ieee_Numeric_Std_Le_Int_Sgn = 225 + Ieee_Numeric_Std_Ge_Uns_Uns = 226 + Ieee_Numeric_Std_Ge_Uns_Nat = 227 + Ieee_Numeric_Std_Ge_Nat_Uns = 228 + Ieee_Numeric_Std_Ge_Sgn_Sgn = 229 + Ieee_Numeric_Std_Ge_Sgn_Int = 230 + Ieee_Numeric_Std_Ge_Int_Sgn = 231 + Ieee_Numeric_Std_Eq_Uns_Uns = 232 + Ieee_Numeric_Std_Eq_Uns_Nat = 233 + Ieee_Numeric_Std_Eq_Nat_Uns = 234 + Ieee_Numeric_Std_Eq_Sgn_Sgn = 235 + Ieee_Numeric_Std_Eq_Sgn_Int = 236 + Ieee_Numeric_Std_Eq_Int_Sgn = 237 + Ieee_Numeric_Std_Ne_Uns_Uns = 238 + Ieee_Numeric_Std_Ne_Uns_Nat = 239 + Ieee_Numeric_Std_Ne_Nat_Uns = 240 + Ieee_Numeric_Std_Ne_Sgn_Sgn = 241 + Ieee_Numeric_Std_Ne_Sgn_Int = 242 + Ieee_Numeric_Std_Ne_Int_Sgn = 243 + Ieee_Numeric_Std_Neg_Uns = 244 + Ieee_Numeric_Std_Neg_Sgn = 245 + Ieee_Math_Real_Ceil = 246 + Ieee_Math_Real_Log2 = 247 + Ieee_Std_Logic_Unsigned_Add_Slv_Slv = 248 + Ieee_Std_Logic_Unsigned_Add_Slv_Int = 249 + Ieee_Std_Logic_Unsigned_Add_Int_Slv = 250 + Ieee_Std_Logic_Unsigned_Add_Slv_Sl = 251 + Ieee_Std_Logic_Unsigned_Add_Sl_Slv = 252 + Ieee_Std_Logic_Unsigned_Lt_Slv_Slv = 253 + Ieee_Std_Logic_Unsigned_Lt_Slv_Int = 254 + Ieee_Std_Logic_Unsigned_Lt_Int_Slv = 255 + Ieee_Std_Logic_Unsigned_Le_Slv_Slv = 256 + Ieee_Std_Logic_Unsigned_Le_Slv_Int = 257 + Ieee_Std_Logic_Unsigned_Le_Int_Slv = 258 + Ieee_Std_Logic_Unsigned_Gt_Slv_Slv = 259 + Ieee_Std_Logic_Unsigned_Gt_Slv_Int = 260 + Ieee_Std_Logic_Unsigned_Gt_Int_Slv = 261 + Ieee_Std_Logic_Unsigned_Ge_Slv_Slv = 262 + Ieee_Std_Logic_Unsigned_Ge_Slv_Int = 263 + Ieee_Std_Logic_Unsigned_Ge_Int_Slv = 264 + Ieee_Std_Logic_Unsigned_Eq_Slv_Slv = 265 + Ieee_Std_Logic_Unsigned_Eq_Slv_Int = 266 + Ieee_Std_Logic_Unsigned_Eq_Int_Slv = 267 Get_Kind = libghdl.vhdl__nodes__get_kind Get_Location = libghdl.vhdl__nodes__get_location |