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
Fix zipWith template to work with partially applied functions, add support for boolea...
[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 d9ed855bf2f63b65ed8c8684147841c3df453ee1..3b796a2e7e60f1e66f4b604f98c0880eabddbf6c 100644
(file)
--- a/
cλash/CLasH/VHDL/Constants.hs
+++ b/
cλash/CLasH/VHDL/Constants.hs
@@
-1,5
+1,6
@@
module CLasH.VHDL.Constants where
module CLasH.VHDL.Constants where
-
+
+-- VHDL Imports
import qualified Language.VHDL.AST as AST
--------------
import qualified Language.VHDL.AST as AST
--------------
@@
-125,6
+126,9
@@
initId = "init"
tailId :: String
tailId = "tail"
tailId :: String
tailId = "tail"
+-- | minimum ftp function identifier
+minimumId :: String
+minimumId = "minimum"
-- | take function identifier
takeId :: String
-- | take function identifier
takeId :: String
@@
-226,6
+230,43
@@
hwandId = "hwand"
lengthTId :: String
lengthTId = "lengthT"
lengthTId :: String
lengthTId = "lengthT"
+fstId :: String
+fstId = "fst"
+
+sndId :: String
+sndId = "snd"
+
+splitId :: String
+splitId = "split"
+
+-- Equality Operations
+equalityId :: String
+equalityId = "=="
+
+inEqualityId :: String
+inEqualityId = "/="
+
+gtId :: String
+gtId = ">"
+
+ltId :: String
+ltId = "<"
+
+gteqId :: String
+gteqId = ">="
+
+lteqId :: String
+lteqId = "<="
+
+boolOrId :: String
+boolOrId = "||"
+
+boolAndId :: String
+boolAndId = "&&"
+
+boolNot :: String
+boolNot = "not"
+
-- Numeric Operations
-- | plus operation identifier
-- Numeric Operations
-- | plus operation identifier
@@
-263,12
+304,24
@@
toUnsignedId = "to_unsigned"
resizeId :: String
resizeId = "resize"
resizeId :: String
resizeId = "resize"
+resizeWordId :: String
+resizeWordId = "resizeWord"
+
+resizeIntId :: String
+resizeIntId = "resizeInt"
+
+smallIntegerId :: String
+smallIntegerId = "smallInteger"
+
sizedIntId :: String
sizedIntId = "SizedInt"
tfvecId :: String
tfvecId = "TFVec"
sizedIntId :: String
sizedIntId = "SizedInt"
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"