aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-08-30 03:54:04 +0200
committerTristan Gingold <tgingold@free.fr>2019-08-30 03:54:04 +0200
commitef80528ce62cfe8d17723f8142118057da8ad369 (patch)
tree0716e1b5b25081a4229f087ac9500c1d49438435 /python
parent18ae5082cbae9ebc652455419b60a9d420281688 (diff)
downloadghdl-ef80528ce62cfe8d17723f8142118057da8ad369.tar.gz
ghdl-ef80528ce62cfe8d17723f8142118057da8ad369.tar.bz2
ghdl-ef80528ce62cfe8d17723f8142118057da8ad369.zip
vhdl: recognize ieee.numeric_std std_match.
Diffstat (limited to 'python')
-rw-r--r--python/libghdl/thin/std_names.py343
-rw-r--r--python/libghdl/thin/vhdl/nodes.py55
2 files changed, 202 insertions, 196 deletions
diff --git a/python/libghdl/thin/std_names.py b/python/libghdl/thin/std_names.py
index 68f8aad32..e84884895 100644
--- a/python/libghdl/thin/std_names.py
+++ b/python/libghdl/thin/std_names.py
@@ -589,174 +589,175 @@ class Name:
To_Unsigned = 803
To_Signed = 804
Resize = 805
- Math_Real = 806
- Ceil = 807
- Log2 = 808
- Last_Ieee = 808
- First_Directive = 809
- Define = 809
- Endif = 810
- Ifdef = 811
- Ifndef = 812
- Include = 813
- Timescale = 814
- Undef = 815
- Protect = 816
- Begin_Protected = 817
- End_Protected = 818
- Key_Block = 819
- Data_Block = 820
- Line = 821
- Celldefine = 822
- Endcelldefine = 823
- Default_Nettype = 824
- Resetall = 825
- Last_Directive = 825
- First_Systask = 826
- Bits = 826
- D_Root = 827
- D_Unit = 828
- Last_Systask = 828
- First_SV_Method = 829
- Size = 829
- Insert = 830
- Delete = 831
- Pop_Front = 832
- Pop_Back = 833
- Push_Front = 834
- Push_Back = 835
- Name = 836
- Len = 837
- Substr = 838
- Exists = 839
- Atoi = 840
- Itoa = 841
- Find = 842
- Find_Index = 843
- Find_First = 844
- Find_First_Index = 845
- Find_Last = 846
- Find_Last_Index = 847
- Num = 848
- Randomize = 849
- Pre_Randomize = 850
- Post_Randomize = 851
- Srandom = 852
- Get_Randstate = 853
- Set_Randstate = 854
- Seed = 855
- State = 856
- Last_SV_Method = 856
- First_BSV = 857
- uAction = 857
- uActionValue = 858
- BVI = 859
- uC = 860
- uCF = 861
- uE = 862
- uSB = 863
- uSBR = 864
- Action = 865
- Endaction = 866
- Actionvalue = 867
- Endactionvalue = 868
- Ancestor = 869
- Clocked_By = 870
- Default_Clock = 871
- Default_Reset = 872
- Dependencies = 873
- Deriving = 874
- Determines = 875
- Enable = 876
- Ifc_Inout = 877
- Input_Clock = 878
- Input_Reset = 879
- Instance = 880
- Endinstance = 881
- Let = 882
- Match = 883
- Method = 884
- Endmethod = 885
- Numeric = 886
- Output_Clock = 887
- Output_Reset = 888
- Par = 889
- Endpar = 890
- Path = 891
- Provisos = 892
- Ready = 893
- Reset_By = 894
- Rule = 895
- Endrule = 896
- Rules = 897
- Endrules = 898
- Same_Family = 899
- Schedule = 900
- Seq = 901
- Endseq = 902
- Typeclass = 903
- Endtypeclass = 904
- Valueof = 905
- uValueof = 906
- Last_BSV = 906
- First_Comment = 907
- Psl = 907
- Pragma = 908
- Last_Comment = 908
- First_PSL = 909
- A = 909
- Af = 910
- Ag = 911
- Ax = 912
- Abort = 913
- Assume_Guarantee = 914
- Before = 915
- Clock = 916
- E = 917
- Ef = 918
- Eg = 919
- Ex = 920
- Endpoint = 921
- Eventually = 922
- Fairness = 923
- Fell = 924
- Forall = 925
- G = 926
- Inf = 927
- Inherit = 928
- Never = 929
- Next_A = 930
- Next_E = 931
- Next_Event = 932
- Next_Event_A = 933
- Next_Event_E = 934
- Prev = 935
- Rose = 936
- Strong = 937
- W = 938
- Whilenot = 939
- Within = 940
- X = 941
- Last_PSL = 941
- First_Edif = 942
- Celltype = 952
- View = 953
- Viewtype = 954
- Direction = 955
- Contents = 956
- Net = 957
- Viewref = 958
- Cellref = 959
- Libraryref = 960
- Portinstance = 961
- Joined = 962
- Portref = 963
- Instanceref = 964
- Design = 965
- Designator = 966
- Owner = 967
- Member = 968
- Number = 969
- Rename = 970
- Userdata = 971
- Last_Edif = 971
+ Std_Match = 806
+ Math_Real = 807
+ Ceil = 808
+ Log2 = 809
+ Last_Ieee = 809
+ First_Directive = 810
+ Define = 810
+ Endif = 811
+ Ifdef = 812
+ Ifndef = 813
+ Include = 814
+ Timescale = 815
+ Undef = 816
+ Protect = 817
+ Begin_Protected = 818
+ End_Protected = 819
+ Key_Block = 820
+ Data_Block = 821
+ Line = 822
+ Celldefine = 823
+ Endcelldefine = 824
+ Default_Nettype = 825
+ Resetall = 826
+ Last_Directive = 826
+ First_Systask = 827
+ Bits = 827
+ D_Root = 828
+ D_Unit = 829
+ Last_Systask = 829
+ First_SV_Method = 830
+ Size = 830
+ Insert = 831
+ Delete = 832
+ Pop_Front = 833
+ Pop_Back = 834
+ Push_Front = 835
+ Push_Back = 836
+ Name = 837
+ Len = 838
+ Substr = 839
+ Exists = 840
+ Atoi = 841
+ Itoa = 842
+ Find = 843
+ Find_Index = 844
+ Find_First = 845
+ Find_First_Index = 846
+ Find_Last = 847
+ Find_Last_Index = 848
+ Num = 849
+ Randomize = 850
+ Pre_Randomize = 851
+ Post_Randomize = 852
+ Srandom = 853
+ Get_Randstate = 854
+ Set_Randstate = 855
+ Seed = 856
+ State = 857
+ Last_SV_Method = 857
+ First_BSV = 858
+ uAction = 858
+ uActionValue = 859
+ BVI = 860
+ uC = 861
+ uCF = 862
+ uE = 863
+ uSB = 864
+ uSBR = 865
+ Action = 866
+ Endaction = 867
+ Actionvalue = 868
+ Endactionvalue = 869
+ Ancestor = 870
+ Clocked_By = 871
+ Default_Clock = 872
+ Default_Reset = 873
+ Dependencies = 874
+ Deriving = 875
+ Determines = 876
+ Enable = 877
+ Ifc_Inout = 878
+ Input_Clock = 879
+ Input_Reset = 880
+ Instance = 881
+ Endinstance = 882
+ Let = 883
+ Match = 884
+ Method = 885
+ Endmethod = 886
+ Numeric = 887
+ Output_Clock = 888
+ Output_Reset = 889
+ Par = 890
+ Endpar = 891
+ Path = 892
+ Provisos = 893
+ Ready = 894
+ Reset_By = 895
+ Rule = 896
+ Endrule = 897
+ Rules = 898
+ Endrules = 899
+ Same_Family = 900
+ Schedule = 901
+ Seq = 902
+ Endseq = 903
+ Typeclass = 904
+ Endtypeclass = 905
+ Valueof = 906
+ uValueof = 907
+ Last_BSV = 907
+ First_Comment = 908
+ Psl = 908
+ Pragma = 909
+ Last_Comment = 909
+ First_PSL = 910
+ A = 910
+ Af = 911
+ Ag = 912
+ Ax = 913
+ Abort = 914
+ Assume_Guarantee = 915
+ Before = 916
+ Clock = 917
+ E = 918
+ Ef = 919
+ Eg = 920
+ Ex = 921
+ Endpoint = 922
+ Eventually = 923
+ Fairness = 924
+ Fell = 925
+ Forall = 926
+ G = 927
+ Inf = 928
+ Inherit = 929
+ Never = 930
+ Next_A = 931
+ Next_E = 932
+ Next_Event = 933
+ Next_Event_A = 934
+ Next_Event_E = 935
+ Prev = 936
+ Rose = 937
+ Strong = 938
+ W = 939
+ Whilenot = 940
+ Within = 941
+ X = 942
+ Last_PSL = 942
+ First_Edif = 943
+ Celltype = 953
+ View = 954
+ Viewtype = 955
+ Direction = 956
+ Contents = 957
+ Net = 958
+ Viewref = 959
+ Cellref = 960
+ Libraryref = 961
+ Portinstance = 962
+ Joined = 963
+ Portref = 964
+ Instanceref = 965
+ Design = 966
+ Designator = 967
+ Owner = 968
+ Member = 969
+ Number = 970
+ Rename = 971
+ Userdata = 972
+ Last_Edif = 972
diff --git a/python/libghdl/thin/vhdl/nodes.py b/python/libghdl/thin/vhdl/nodes.py
index cfe654030..8b99eefc4 100644
--- a/python/libghdl/thin/vhdl/nodes.py
+++ b/python/libghdl/thin/vhdl/nodes.py
@@ -1135,31 +1135,36 @@ class Iir_Predefined:
Ieee_Numeric_Std_Xnor_Sgn_Sgn = 260
Ieee_Numeric_Std_Neg_Uns = 261
Ieee_Numeric_Std_Neg_Sgn = 262
- Ieee_Math_Real_Ceil = 263
- Ieee_Math_Real_Log2 = 264
- Ieee_Std_Logic_Unsigned_Add_Slv_Slv = 265
- Ieee_Std_Logic_Unsigned_Add_Slv_Int = 266
- Ieee_Std_Logic_Unsigned_Add_Int_Slv = 267
- Ieee_Std_Logic_Unsigned_Add_Slv_Sl = 268
- Ieee_Std_Logic_Unsigned_Add_Sl_Slv = 269
- Ieee_Std_Logic_Unsigned_Lt_Slv_Slv = 270
- Ieee_Std_Logic_Unsigned_Lt_Slv_Int = 271
- Ieee_Std_Logic_Unsigned_Lt_Int_Slv = 272
- Ieee_Std_Logic_Unsigned_Le_Slv_Slv = 273
- Ieee_Std_Logic_Unsigned_Le_Slv_Int = 274
- Ieee_Std_Logic_Unsigned_Le_Int_Slv = 275
- Ieee_Std_Logic_Unsigned_Gt_Slv_Slv = 276
- Ieee_Std_Logic_Unsigned_Gt_Slv_Int = 277
- Ieee_Std_Logic_Unsigned_Gt_Int_Slv = 278
- Ieee_Std_Logic_Unsigned_Ge_Slv_Slv = 279
- Ieee_Std_Logic_Unsigned_Ge_Slv_Int = 280
- Ieee_Std_Logic_Unsigned_Ge_Int_Slv = 281
- Ieee_Std_Logic_Unsigned_Eq_Slv_Slv = 282
- Ieee_Std_Logic_Unsigned_Eq_Slv_Int = 283
- Ieee_Std_Logic_Unsigned_Eq_Int_Slv = 284
- Ieee_Std_Logic_Unsigned_Ne_Slv_Slv = 285
- Ieee_Std_Logic_Unsigned_Ne_Slv_Int = 286
- Ieee_Std_Logic_Unsigned_Ne_Int_Slv = 287
+ Ieee_Numeric_Std_Match_Log = 263
+ Ieee_Numeric_Std_Match_Uns = 264
+ Ieee_Numeric_Std_Match_Sgn = 265
+ Ieee_Numeric_Std_Match_Slv = 266
+ Ieee_Numeric_Std_Match_Suv = 267
+ Ieee_Math_Real_Ceil = 268
+ Ieee_Math_Real_Log2 = 269
+ Ieee_Std_Logic_Unsigned_Add_Slv_Slv = 270
+ Ieee_Std_Logic_Unsigned_Add_Slv_Int = 271
+ Ieee_Std_Logic_Unsigned_Add_Int_Slv = 272
+ Ieee_Std_Logic_Unsigned_Add_Slv_Sl = 273
+ Ieee_Std_Logic_Unsigned_Add_Sl_Slv = 274
+ Ieee_Std_Logic_Unsigned_Lt_Slv_Slv = 275
+ Ieee_Std_Logic_Unsigned_Lt_Slv_Int = 276
+ Ieee_Std_Logic_Unsigned_Lt_Int_Slv = 277
+ Ieee_Std_Logic_Unsigned_Le_Slv_Slv = 278
+ Ieee_Std_Logic_Unsigned_Le_Slv_Int = 279
+ Ieee_Std_Logic_Unsigned_Le_Int_Slv = 280
+ Ieee_Std_Logic_Unsigned_Gt_Slv_Slv = 281
+ Ieee_Std_Logic_Unsigned_Gt_Slv_Int = 282
+ Ieee_Std_Logic_Unsigned_Gt_Int_Slv = 283
+ Ieee_Std_Logic_Unsigned_Ge_Slv_Slv = 284
+ Ieee_Std_Logic_Unsigned_Ge_Slv_Int = 285
+ Ieee_Std_Logic_Unsigned_Ge_Int_Slv = 286
+ Ieee_Std_Logic_Unsigned_Eq_Slv_Slv = 287
+ Ieee_Std_Logic_Unsigned_Eq_Slv_Int = 288
+ Ieee_Std_Logic_Unsigned_Eq_Int_Slv = 289
+ Ieee_Std_Logic_Unsigned_Ne_Slv_Slv = 290
+ Ieee_Std_Logic_Unsigned_Ne_Slv_Int = 291
+ Ieee_Std_Logic_Unsigned_Ne_Int_Slv = 292
Get_Kind = libghdl.vhdl__nodes__get_kind
Get_Location = libghdl.vhdl__nodes__get_location