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
Work around some bugs in the current clash to make reducer compile correctly
[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..71c1c2135b7b1b1d092505279bf91388577d2b5a 100644
(file)
--- a/
cλash/CLasH/VHDL/Constants.hs
+++ b/
cλash/CLasH/VHDL/Constants.hs
@@
-125,6
+125,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
+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
@@
-263,12
+285,18
@@
toUnsignedId = "to_unsigned"
resizeId :: String
resizeId = "resize"
resizeId :: String
resizeId = "resize"
+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"