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
Added builtin functions shiftl, shiftr, null, rotl, rotr
[matthijs/master-project/cλash.git]
/
Constants.hs
diff --git
a/Constants.hs
b/Constants.hs
index 380a7451449b919a1db3cd0bd1473f4a6366782c..cfb9d555faec4f4e2b58b197e2aef1dc0c5f2f55 100644
(file)
--- a/
Constants.hs
+++ b/
Constants.hs
@@
-95,8
+95,8
@@
lengthId = "length"
-- | isnull (function null in original Haskell source) function identifier
-- | isnull (function null in original Haskell source) function identifier
-
is
nullId :: String
-
isnullId = "is
null"
+nullId :: String
+
nullId = "
null"
-- | replace function identifier
-- | replace function identifier
@@
-157,6
+157,10
@@
reverseId = "reverse"
copyId :: String
copyId = "copy"
copyId :: String
copyId = "copy"
+-- | copyn function identifier
+copynId :: String
+copynId = "copyn"
+
-- | map function identifier
mapId :: String
mapId = "map"
-- | map function identifier
mapId :: String
mapId = "map"
@@
-165,12
+169,22
@@
mapId = "map"
zipWithId :: String
zipWithId = "zipWith"
zipWithId :: String
zipWithId = "zipWith"
+-- | foldl function identifier
foldlId :: String
foldlId = "foldl"
foldlId :: String
foldlId = "foldl"
+-- | foldr function identifier
foldrId :: String
foldrId = "foldr"
foldrId :: String
foldrId = "foldr"
+-- | zip function identifier
+zipId :: String
+zipId = "zip"
+
+-- | unzip function identifier
+unzipId :: String
+unzipId = "unzip"
+
-- | hwxor function identifier
hwxorId :: String
hwxorId = "hwxor"
-- | hwxor function identifier
hwxorId :: String
hwxorId = "hwxor"
@@
-187,6
+201,8
@@
hwnotId = "hwnot"
hwandId :: String
hwandId = "hwand"
hwandId :: String
hwandId = "hwand"
+lengthTId :: String
+lengthTId = "lengthT"
------------------
-- VHDL type marks
------------------
-- VHDL type marks