3 import qualified ForSyDe.Backend.VHDL.AST as AST
9 -- | reset and clock signal identifiers in String form
10 resetStr, clockStr :: String
14 -- | reset and clock signal identifiers in basic AST.VHDLId form
15 resetId, clockId :: AST.VHDLId
16 resetId = AST.unsafeVHDLBasicId resetStr
17 clockId = AST.unsafeVHDLBasicId clockStr
20 -- | \"types\" identifier
22 typesId = AST.unsafeVHDLBasicId "types"
26 workId = AST.unsafeVHDLBasicId "work"
30 stdId = AST.unsafeVHDLBasicId "std"
33 -- | textio identifier
34 textioId :: AST.VHDLId
35 textioId = AST.unsafeVHDLBasicId "textio"
37 -- | range attribute identifier
39 rangeId = AST.unsafeVHDLBasicId "range"
42 -- | high attribute identifier
44 highId = AST.unsafeVHDLBasicId "high"
46 -- | range attribute identifier
48 imageId = AST.unsafeVHDLBasicId "image"
50 -- | event attribute identifie
52 eventId = AST.unsafeVHDLBasicId "event"
55 -- | default function identifier
56 defaultId :: AST.VHDLId
57 defaultId = AST.unsafeVHDLBasicId "default"
59 -- FSVec function identifiers
61 -- | ex (operator ! in original Haskell source) function identifier
63 exId = AST.unsafeVHDLBasicId "ex"
65 -- | sel (function select in original Haskell source) function identifier
67 selId = AST.unsafeVHDLBasicId "sel"
70 -- | ltplus (function (<+) in original Haskell source) function identifier
71 ltplusId :: AST.VHDLId
72 ltplusId = AST.unsafeVHDLBasicId "ltplus"
75 -- | plusplus (function (++) in original Haskell source) function identifier
76 plusplusId :: AST.VHDLId
77 plusplusId = AST.unsafeVHDLBasicId "plusplus"
80 -- | empty function identifier
82 emptyId = AST.unsafeVHDLBasicId "empty"
84 -- | plusgt (function (+>) in original Haskell source) function identifier
85 plusgtId :: AST.VHDLId
86 plusgtId = AST.unsafeVHDLBasicId "plusgt"
88 -- | singleton function identifier
89 singletonId :: AST.VHDLId
90 singletonId = AST.unsafeVHDLBasicId "singleton"
92 -- | length function identifier
93 lengthId :: AST.VHDLId
94 lengthId = AST.unsafeVHDLBasicId "length"
97 -- | isnull (function null in original Haskell source) function identifier
98 isnullId :: AST.VHDLId
99 isnullId = AST.unsafeVHDLBasicId "isnull"
102 -- | replace function identifier
103 replaceId :: AST.VHDLId
104 replaceId = AST.unsafeVHDLBasicId "replace"
107 -- | head function identifier
109 headId = AST.unsafeVHDLBasicId "head"
112 -- | last function identifier
114 lastId = AST.unsafeVHDLBasicId "last"
117 -- | init function identifier
119 initId = AST.unsafeVHDLBasicId "init"
122 -- | tail function identifier
124 tailId = AST.unsafeVHDLBasicId "tail"
127 -- | take function identifier
129 takeId = AST.unsafeVHDLBasicId "take"
132 -- | drop function identifier
134 dropId = AST.unsafeVHDLBasicId "drop"
136 -- | shiftl function identifier
137 shiftlId :: AST.VHDLId
138 shiftlId = AST.unsafeVHDLBasicId "shiftl"
140 -- | shiftr function identifier
141 shiftrId :: AST.VHDLId
142 shiftrId = AST.unsafeVHDLBasicId "shiftr"
144 -- | rotl function identifier
146 rotlId = AST.unsafeVHDLBasicId "rotl"
148 -- | reverse function identifier
150 rotrId = AST.unsafeVHDLBasicId "rotr"
152 -- | reverse function identifier
153 reverseId :: AST.VHDLId
154 reverseId = AST.unsafeVHDLBasicId "reverse"
156 -- | copy function identifier
158 copyId = AST.unsafeVHDLBasicId "copy"
164 -- | Stardard logic type mark
165 std_logicTM :: AST.TypeMark
166 std_logicTM = AST.unsafeVHDLBasicId "std_logic"
168 -- | boolean type mark
169 booleanTM :: AST.TypeMark
170 booleanTM = AST.unsafeVHDLBasicId "boolean"
172 -- | fsvec_index AST. TypeMark
173 tfvec_indexTM :: AST.TypeMark
174 tfvec_indexTM = AST.unsafeVHDLBasicId "tfvec_index"
176 -- | natural AST. TypeMark
177 naturalTM :: AST.TypeMark
178 naturalTM = AST.unsafeVHDLBasicId "natural"
180 -- | integer TypeMark
181 integerTM :: AST.TypeMark
182 integerTM = AST.unsafeVHDLBasicId "integer"