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 03688eb01a132eed54233a00088719dff82f2d13..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
--------------
@@
-235,6
+236,9
@@
fstId = "fst"
sndId :: String
sndId = "snd"
sndId :: String
sndId = "snd"
+splitId :: String
+splitId = "split"
+
-- Equality Operations
equalityId :: String
equalityId = "=="
-- Equality Operations
equalityId :: String
equalityId = "=="
@@
-260,6
+264,9
@@
boolOrId = "||"
boolAndId :: String
boolAndId = "&&"
boolAndId :: String
boolAndId = "&&"
+boolNot :: String
+boolNot = "not"
+
-- Numeric Operations
-- | plus operation identifier
-- Numeric Operations
-- | plus operation identifier
@@
-297,6
+304,12
@@
toUnsignedId = "to_unsigned"
resizeId :: String
resizeId = "resize"
resizeId :: String
resizeId = "resize"
+resizeWordId :: String
+resizeWordId = "resizeWord"
+
+resizeIntId :: String
+resizeIntId = "resizeInt"
+
smallIntegerId :: String
smallIntegerId = "smallInteger"
smallIntegerId :: String
smallIntegerId = "smallInteger"