aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/ghdlsynth_gates.h
blob: b101ce69159299a785e48a6135b0c50745d6ee79 (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
enum Module_Id {
   Id_None = 0,
   Id_Free = 1,
   Id_Design = 2,
   Id_User_None  = 128,
   Id_User_First = Id_User_None + 1,
   Id_And  = 3,
   Id_Or   = 4,
   Id_Xor  = 5,
   Id_Nand = 6,
   Id_Nor  = 7,
   Id_Xnor = 8,
   Id_Add = 9,
   Id_Sub = 10,
   Id_Mul = 11,
   Id_Buf = 13,
   Id_Not = 14,
   Id_Neg = 15,
   Id_Eq  = 16,
   Id_Ne  = 17,
   Id_Ule = 18,
   Id_Sle = 19,
   Id_Ult = 18,
   Id_Slt = 19,
   Id_Uge = 18,
   Id_Sge = 19,
   Id_Ugt = 18,
   Id_Sgt = 19,
   Id_Red_And = 20,
   Id_Red_Or  = 21,
   Id_Concat2 = 22,
   Id_Concat3 = 23,
   Id_Concat4 = 24,
   Id_Split2 = 25,
   Id_Split3 = 26,
   Id_Mux2 = 27,
   Id_Mux4 = 28,
   Id_Signal  = 29,
   Id_Isignal = 30,
   Id_Output  = 31,
   Id_Dff   = 32,
   Id_Adff  = 33,
   Id_Idff  = 34,
   Id_Iadff = 35,
   Id_Utrunc = 40,
   Id_Strunc = 41,
   Id_Uextend = 42,
   Id_Sextend = 43,
   Id_Extract = 44,
   Id_Posedge = 50,
   Id_Negedge = 51,
   Id_Const_UB32 = 56,
   Id_Const_SB32 = 57,
   Id_Const_UB64 = 58,
   Id_Const_SB64 = 59,
   Id_Const_UB128 = 60,
   Id_Const_SB128 = 61,
   Id_Const_UL32 = 62,
   Id_Const_SL32 = 63,
};