aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/std_names.py
blob: b9bdb95d35efff213aead82342206d538a3123ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
# Auto generated Python source file from Ada sources
# Call 'make' in 'src/vhdl' to regenerate:
#
from enum import IntEnum, unique
from pydecor import export


@export
class Name:
    First_Character = 1
    Last_Character = 256
    First_Keyword = 257
    Mod = 257
    Rem = 258
    Abs = 259
    Not = 260
    Access = 261
    After = 262
    Alias = 263
    All = 264
    Architecture = 265
    Array = 266
    Assert = 267
    Attribute = 268
    Begin = 269
    Block = 270
    Body = 271
    Buffer = 272
    Bus = 273
    Case = 274
    Component = 275
    Configuration = 276
    Constant = 277
    Disconnect = 278
    Downto = 279
    Else = 280
    Elsif = 281
    End = 282
    Entity = 283
    Exit = 284
    File = 285
    For = 286
    Function = 287
    Generate = 288
    Generic = 289
    Guarded = 290
    If = 291
    In = 292
    Inout = 293
    Is = 294
    Label = 295
    Library = 296
    Linkage = 297
    Loop = 298
    Map = 299
    New = 300
    Next = 301
    Null = 302
    Of = 303
    On = 304
    Open = 305
    Others = 306
    Out = 307
    Package = 308
    Port = 309
    Procedure = 310
    Process = 311
    Range = 312
    Record = 313
    Register = 314
    Report = 315
    Return = 316
    Select = 317
    Severity = 318
    Signal = 319
    Subtype = 320
    Then = 321
    To = 322
    Transport = 323
    Type = 324
    Units = 325
    Until = 326
    Use = 327
    Variable = 328
    Wait = 329
    When = 330
    While = 331
    With = 332
    And = 333
    Or = 334
    Xor = 335
    Nand = 336
    Nor = 337
    Last_Vhdl87 = 337
    Xnor = 338
    Group = 339
    Impure = 340
    Inertial = 341
    Literal = 342
    Postponed = 343
    Pure = 344
    Reject = 345
    Shared = 346
    Unaffected = 347
    Sll = 348
    Sla = 349
    Sra = 350
    Srl = 351
    Rol = 352
    Ror = 353
    Last_Vhdl93 = 353
    Protected = 354
    Last_Vhdl00 = 354
    Assume = 355
    Context = 356
    Cover = 357
    Default = 358
    Force = 359
    Parameter = 360
    Property = 361
    Release = 362
    Restrict = 363
    Restrict_Guarantee = 364
    Sequence = 365
    Vmode = 366
    Vprop = 367
    Vunit = 368
    Last_Vhdl08 = 368
    First_Ams_Keyword = 369
    Across = 369
    Break = 370
    Limit = 371
    Nature = 372
    Noise = 373
    Procedural = 374
    Quantity = 375
    Reference = 376
    Spectrum = 377
    Subnature = 378
    Terminal = 379
    Through = 380
    Tolerance = 381
    Last_AMS_Vhdl = 381
    Last_Keyword = 381
    First_Verilog = 382
    Always = 382
    Assign = 383
    Buf = 384
    Bufif0 = 385
    Bufif1 = 386
    Casex = 387
    Casez = 388
    Cmos = 389
    Deassign = 390
    Defparam = 391
    Disable = 392
    Edge = 393
    Endcase = 394
    Endfunction = 395
    Endmodule = 396
    Endprimitive = 397
    Endspecify = 398
    Endtable = 399
    Endtask = 400
    Forever = 401
    Fork = 402
    Highz0 = 403
    Highz1 = 404
    Ifnone = 405
    Initial = 406
    Input = 407
    Join = 408
    Large = 409
    Macromodule = 410
    Medium = 411
    Module = 412
    Negedge = 413
    Nmos = 414
    Notif0 = 415
    Notif1 = 416
    Output = 417
    Pmos = 418
    Posedge = 419
    Primitive = 420
    Pull0 = 421
    Pull1 = 422
    Pulldown = 423
    Pullup = 424
    Realtime = 425
    Reg = 426
    Repeat = 427
    Rcmos = 428
    Rnmos = 429
    Rpmos = 430
    Rtran = 431
    Rtranif0 = 432
    Rtranif1 = 433
    Scalared = 434
    Small = 435
    Specify = 436
    Specparam = 437
    Strong0 = 438
    Strong1 = 439
    Supply0 = 440
    Supply1 = 441
    Tablex = 442
    Task = 443
    Tran = 444
    Tranif0 = 445
    Tranif1 = 446
    Tri = 447
    Tri0 = 448
    Tri1 = 449
    Triand = 450
    Trior = 451
    Trireg = 452
    Vectored = 453
    Wand = 454
    Weak0 = 455
    Weak1 = 456
    Wire = 457
    Wor = 458
    Last_Verilog = 458
    First_V2001 = 459
    Automatic = 459
    Endgenerate = 460
    Genvar = 461
    Localparam = 462
    Unsigned = 463
    Signed = 464
    Last_V2001 = 464
    Uwire = 465
    First_SV3_0 = 466
    Always_Comb = 466
    Always_Ff = 467
    Always_Latch = 468
    Bit = 469
    Byte = 470
    Changed = 471
    Char = 472
    Const = 473
    Continue = 474
    Do = 475
    Endinterface = 476
    Endtransition = 477
    Enum = 478
    Export = 479
    Extern = 480
    Forkjoin = 481
    Iff = 482
    Import = 483
    Int = 484
    Interface = 485
    Logic = 486
    Longint = 487
    Longreal = 488
    Modport = 489
    Packed = 490
    Priority = 491
    Shortint = 492
    Shortreal = 493
    Static = 494
    Struct = 495
    Timeprecision = 496
    Timeunit = 497
    Transition = 498
    Typedef = 499
    Union = 500
    Unique = 501
    Unique0 = 502
    Void = 503
    Last_SV3_0 = 503
    First_SV3_1 = 504
    Chandle = 504
    Class = 505
    Clocking = 506
    Constraint = 507
    Dist = 508
    Endclass = 509
    Endclocking = 510
    Endprogram = 511
    Endproperty = 512
    Endsequence = 513
    Extends = 514
    Final = 515
    First_Match = 516
    Inside = 517
    Intersect = 518
    Join_Any = 519
    Join_None = 520
    Local = 521
    Program = 522
    Rand = 523
    Randc = 524
    Ref = 525
    Solve = 526
    String = 527
    Super = 528
    This = 529
    Throughout = 530
    Var = 531
    Virtual = 532
    Wait_Order = 533
    Last_SV3_1 = 533
    First_SV3_1a = 534
    Covergroup = 534
    Coverpoint = 535
    Endgroup = 536
    Endpackage = 537
    Expect = 538
    Foreach = 539
    Ignore_Bins = 540
    Illegal_Bins = 541
    Matches = 542
    Randcase = 543
    Randsequence = 544
    Tagged = 545
    Wildcard = 546
    Last_SV3_1a = 546
    First_SV2009 = 547
    Implies = 547
    S_Until = 548
    S_Until_With = 549
    Until_With = 550
    Last_SV2009 = 550
    First_Operator = 551
    Op_Equality = 551
    Op_Inequality = 552
    Op_Less = 553
    Op_Less_Equal = 554
    Op_Greater = 555
    Op_Greater_Equal = 556
    Op_Plus = 557
    Op_Minus = 558
    Op_Mul = 559
    Op_Div = 560
    Op_Exp = 561
    Op_Concatenation = 562
    Op_Condition = 563
    Op_Match_Equality = 564
    Op_Match_Inequality = 565
    Op_Match_Less = 566
    Op_Match_Less_Equal = 567
    Op_Match_Greater = 568
    Op_Match_Greater_Equal = 569
    Last_Operator = 569
    First_Attribute = 570
    Base = 570
    Left = 571
    Right = 572
    High = 573
    Low = 574
    Pos = 575
    Val = 576
    Succ = 577
    Pred = 578
    Leftof = 579
    Rightof = 580
    Reverse_Range = 581
    Length = 582
    Delayed = 583
    Stable = 584
    Quiet = 585
    Transaction = 586
    Event = 587
    Active = 588
    Last_Event = 589
    Last_Active = 590
    Last_Value = 591
    Last_Attribute = 591
    First_Vhdl87_Attribute = 592
    Behavior = 592
    Structure = 593
    Last_Vhdl87_Attribute = 593
    First_Vhdl93_Attribute = 594
    Ascending = 594
    Image = 595
    Value = 596
    Driving = 597
    Driving_Value = 598
    Simple_Name = 599
    Instance_Name = 600
    Path_Name = 601
    Last_Vhdl93_Attribute = 601
    First_Vhdl08_Attribute = 602
    Element = 602
    Last_Vhdl08_Attribute = 602
    First_AMS_Attribute = 603
    Contribution = 603
    Dot = 604
    Integ = 605
    Above = 606
    Zoh = 607
    Ltf = 608
    Ztf = 609
    Ramp = 610
    Slew = 611
    Last_AMS_Attribute = 611
    First_Standard = 612
    Std = 612
    Standard = 613
    Boolean = 614
    NFalse = 615
    NTrue = 616
    Character = 617
    Severity_Level = 618
    Note = 619
    Warning = 620
    Error = 621
    Failure = 622
    Universal_Integer = 623
    Universal_Real = 624
    Convertible_Integer = 625
    Convertible_Real = 626
    Integer = 627
    Real = 628
    Time = 629
    Fs = 630
    Ps = 631
    Ns = 632
    Us = 633
    Ms = 634
    Sec = 635
    Min = 636
    Hr = 637
    Max = 638
    Delay_Length = 639
    Now = 640
    Natural = 641
    Positive = 642
    Bit_Vector = 643
    File_Open_Kind = 644
    Read_Mode = 645
    Write_Mode = 646
    Append_Mode = 647
    File_Open_Status = 648
    Open_Ok = 649
    Status_Error = 650
    Name_Error = 651
    Mode_Error = 652
    Foreign = 653
    Boolean_Vector = 654
    To_Bstring = 655
    To_Binary_String = 656
    To_Ostring = 657
    To_Octal_String = 658
    To_Hstring = 659
    To_Hex_String = 660
    Integer_Vector = 661
    Real_Vector = 662
    Time_Vector = 663
    Digits = 664
    Format = 665
    Unit = 666
    Domain_Type = 667
    Quiescent_Domain = 668
    Time_Domain = 669
    Frequency_Domain = 670
    Domain = 671
    Frequency = 672
    Last_Standard = 672
    First_Charname = 673
    Nul = 673
    Soh = 674
    Stx = 675
    Etx = 676
    Eot = 677
    Enq = 678
    Ack = 679
    Bel = 680
    Bs = 681
    Ht = 682
    Lf = 683
    Vt = 684
    Ff = 685
    Cr = 686
    So = 687
    Si = 688
    Dle = 689
    Dc1 = 690
    Dc2 = 691
    Dc3 = 692
    Dc4 = 693
    Nak = 694
    Syn = 695
    Etb = 696
    Can = 697
    Em = 698
    Sub = 699
    Esc = 700
    Fsp = 701
    Gsp = 702
    Rsp = 703
    Usp = 704
    Del = 705
    C128 = 706
    C129 = 707
    C130 = 708
    C131 = 709
    C132 = 710
    C133 = 711
    C134 = 712
    C135 = 713
    C136 = 714
    C137 = 715
    C138 = 716
    C139 = 717
    C140 = 718
    C141 = 719
    C142 = 720
    C143 = 721
    C144 = 722
    C145 = 723
    C146 = 724
    C147 = 725
    C148 = 726
    C149 = 727
    C150 = 728
    C151 = 729
    C152 = 730
    C153 = 731
    C154 = 732
    C155 = 733
    C156 = 734
    C157 = 735
    C158 = 736
    C159 = 737
    Last_Charname = 737
    First_Misc = 738
    Guard = 738
    Deallocate = 739
    File_Open = 740
    File_Close = 741
    Read = 742
    Write = 743
    Flush = 744
    Endfile = 745
    I = 746
    J = 747
    F = 748
    L = 749
    P = 750
    R = 751
    S = 752
    V = 753
    External_Name = 754
    Open_Kind = 755
    First = 756
    Last = 757
    Textio = 758
    Work = 759
    Text = 760
    To_String = 761
    Minimum = 762
    Maximum = 763
    Untruncated_Text_Read = 764
    Textio_Read_Real = 765
    Textio_Write_Real = 766
    Get_Resolution_Limit = 767
    Control_Simulation = 768
    Step = 769
    Index = 770
    Item = 771
    Uu_File_Uu = 772
    Uu_Line_Uu = 773
    Label_Applies_To = 774
    Return_Port_Name = 775
    Map_To_Operator = 776
    Type_Function = 777
    Built_In = 778
    NNone = 779
    Last_Misc = 779
    First_Ieee_Pkg = 780
    Ieee = 780
    Std_Logic_1164 = 781
    VITAL_Timing = 782
    Numeric_Std = 783
    Numeric_Bit = 784
    Numeric_Std_Unsigned = 785
    Std_Logic_Arith = 786
    Std_Logic_Signed = 787
    Std_Logic_Unsigned = 788
    Std_Logic_Textio = 789
    Std_Logic_Misc = 790
    Math_Real = 791
    Last_Ieee_Pkg = 791
    First_Ieee_Name = 792
    Std_Ulogic = 792
    Std_Ulogic_Vector = 793
    Std_Logic = 794
    Std_Logic_Vector = 795
    Rising_Edge = 796
    Falling_Edge = 797
    VITAL_Level0 = 798
    VITAL_Level1 = 799
    Unresolved_Unsigned = 800
    Unresolved_Signed = 801
    To_Integer = 802
    To_Unsigned = 803
    To_Signed = 804
    Resize = 805
    Std_Match = 806
    Shift_Left = 807
    Shift_Right = 808
    Rotate_Left = 809
    Rotate_Right = 810
    To_Bit = 811
    To_Bitvector = 812
    To_Stdulogic = 813
    To_Stdlogicvector = 814
    To_Stdulogicvector = 815
    Is_X = 816
    To_01 = 817
    To_X01 = 818
    To_X01Z = 819
    To_UX01 = 820
    Conv_Signed = 821
    Conv_Unsigned = 822
    Conv_Integer = 823
    Conv_Std_Logic_Vector = 824
    And_Reduce = 825
    Nand_Reduce = 826
    Or_Reduce = 827
    Nor_Reduce = 828
    Xor_Reduce = 829
    Xnor_Reduce = 830
    Ceil = 831
    Floor = 832
    Round = 833
    Log2 = 834
    Sin = 835
    Cos = 836
    Arctan = 837
    Shl = 838
    Shr = 839
    Ext = 840
    Sxt = 841
    Find_Leftmost = 842
    Find_Rightmost = 843
    Last_Ieee_Name = 843
    First_Synthesis = 844
    Allconst = 844
    Allseq = 845
    Anyconst = 846
    Anyseq = 847
    Gclk = 848
    Loc = 849
    Last_Synthesis = 849
    First_Directive = 850
    Define = 850
    Endif = 851
    Ifdef = 852
    Ifndef = 853
    Include = 854
    Timescale = 855
    Undef = 856
    Protect = 857
    Begin_Protected = 858
    End_Protected = 859
    Key_Block = 860
    Data_Block = 861
    Line = 862
    Celldefine = 863
    Endcelldefine = 864
    Default_Nettype = 865
    Resetall = 866
    Last_Directive = 866
    First_Systask = 867
    Bits = 867
    D_Root = 868
    D_Unit = 869
    Last_Systask = 869
    First_SV_Method = 870
    Size = 870
    Insert = 871
    Delete = 872
    Pop_Front = 873
    Pop_Back = 874
    Push_Front = 875
    Push_Back = 876
    Name = 877
    Len = 878
    Substr = 879
    Exists = 880
    Atoi = 881
    Itoa = 882
    Find = 883
    Find_Index = 884
    Find_First = 885
    Find_First_Index = 886
    Find_Last = 887
    Find_Last_Index = 888
    Num = 889
    Randomize = 890
    Pre_Randomize = 891
    Post_Randomize = 892
    Srandom = 893
    Get_Randstate = 894
    Set_Randstate = 895
    Seed = 896
    State = 897
    Last_SV_Method = 897
    First_BSV = 898
    uAction = 898
    uActionValue = 899
    BVI = 900
    uC = 901
    uCF = 902
    uE = 903
    uSB = 904
    uSBR = 905
    Action = 906
    Endaction = 907
    Actionvalue = 908
    Endactionvalue = 909
    Ancestor = 910
    Clocked_By = 911
    Default_Clock = 912
    Default_Reset = 913
    Dependencies = 914
    Deriving = 915
    Determines = 916
    Enable = 917
    Ifc_Inout = 918
    Input_Clock = 919
    Input_Reset = 920
    Instance = 921
    Endinstance = 922
    Let = 923
    Match = 924
    Method = 925
    Endmethod = 926
    Numeric = 927
    Output_Clock = 928
    Output_Reset = 929
    Par = 930
    Endpar = 931
    Path = 932
    Provisos = 933
    Ready = 934
    Reset_By = 935
    Rule = 936
    Endrule = 937
    Rules = 938
    Endrules = 939
    Same_Family = 940
    Schedule = 941
    Seq = 942
    Endseq = 943
    Typeclass = 944
    Endtypeclass = 945
    Valueof = 946
    uValueof = 947
    Last_BSV = 947
    First_Comment = 948
    Psl = 948
    Pragma = 949
    Synthesis = 950
    Synopsys = 951
    Translate_Off = 952
    Translate_On = 953
    Translate = 954
    Synthesis_Off = 955
    Synthesis_On = 956
    Off = 957
    Full_Case = 958
    Parallel_Case = 959
    Last_Comment = 959
    First_PSL = 960
    A = 960
    Af = 961
    Ag = 962
    Ax = 963
    Abort = 964
    Assume_Guarantee = 965
    Async_Abort = 966
    Before = 967
    Clock = 968
    E = 969
    Ef = 970
    Eg = 971
    Ex = 972
    Endpoint = 973
    Eventually = 974
    Fairness = 975
    Fell = 976
    Forall = 977
    G = 978
    Inf = 979
    Inherit = 980
    Never = 981
    Next_A = 982
    Next_E = 983
    Next_Event = 984
    Next_Event_A = 985
    Next_Event_E = 986
    Onehot = 987
    Onehot0 = 988
    Prev = 989
    Rose = 990
    Strong = 991
    Sync_Abort = 992
    W = 993
    Whilenot = 994
    Within = 995
    X = 996
    Last_PSL = 996
    First_Edif = 997
    Celltype = 1007
    View = 1008
    Viewtype = 1009
    Direction = 1010
    Contents = 1011
    Net = 1012
    Viewref = 1013
    Cellref = 1014
    Libraryref = 1015
    Portinstance = 1016
    Joined = 1017
    Portref = 1018
    Instanceref = 1019
    Design = 1020
    Designator = 1021
    Owner = 1022
    Member = 1023
    Number = 1024
    Rename = 1025
    Userdata = 1026
    Last_Edif = 1026