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
Add some gt,lt,gteq and lteq boolean operators
[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 9c372ecd711519d91ec05feafedd61133e798448..03688eb01a132eed54233a00088719dff82f2d13 100644
(file)
--- a/
cλash/CLasH/VHDL/Constants.hs
+++ b/
cλash/CLasH/VHDL/Constants.hs
@@
-242,6
+242,18
@@
equalityId = "=="
inEqualityId :: String
inEqualityId = "/="
inEqualityId :: String
inEqualityId = "/="
+gtId :: String
+gtId = ">"
+
+ltId :: String
+ltId = "<"
+
+gteqId :: String
+gteqId = ">="
+
+lteqId :: String
+lteqId = "<="
+
boolOrId :: String
boolOrId = "||"
boolOrId :: String
boolOrId = "||"
@@
-294,6
+306,9
@@
sizedIntId = "SizedInt"
tfvecId :: String
tfvecId = "TFVec"
tfvecId :: String
tfvecId = "TFVec"
+blockRAMId :: String
+blockRAMId = "blockRAM"
+
-- | output file identifier (from std.textio)
showIdString :: String
showIdString = "show"
-- | output file identifier (from std.textio)
showIdString :: String
showIdString = "show"