projects
/
matthijs
/
master-project
/
cλash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generate more unique variable names, generate truely unique entity names
[matthijs/master-project/cλash.git]
/
cλash
/
CLasH
/
VHDL
/
Constants.hs
diff --git
a/cλash/CLasH/VHDL/Constants.hs
b/cλash/CLasH/VHDL/Constants.hs
index 04e727410b0e8ed63061fa6c12078ad3823f9038..9c372ecd711519d91ec05feafedd61133e798448 100644
(file)
--- a/
cλash/CLasH/VHDL/Constants.hs
+++ b/
cλash/CLasH/VHDL/Constants.hs
@@
-229,6
+229,25
@@
hwandId = "hwand"
lengthTId :: String
lengthTId = "lengthT"
lengthTId :: String
lengthTId = "lengthT"
+fstId :: String
+fstId = "fst"
+
+sndId :: String
+sndId = "snd"
+
+-- Equality Operations
+equalityId :: String
+equalityId = "=="
+
+inEqualityId :: String
+inEqualityId = "/="
+
+boolOrId :: String
+boolOrId = "||"
+
+boolAndId :: String
+boolAndId = "&&"
+
-- Numeric Operations
-- | plus operation identifier
-- Numeric Operations
-- | plus operation identifier
@@
-266,6
+285,9
@@
toUnsignedId = "to_unsigned"
resizeId :: String
resizeId = "resize"
resizeId :: String
resizeId = "resize"
+smallIntegerId :: String
+smallIntegerId = "smallInteger"
+
sizedIntId :: String
sizedIntId = "SizedInt"
sizedIntId :: String
sizedIntId = "SizedInt"