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
Cabalized clash
[matthijs/master-project/cλash.git]
/
VHDLTypes.hs
diff --git
a/VHDLTypes.hs
b/VHDLTypes.hs
index 33010822b9ace9ec74e0002e0ba015fd2643254b..a5d1569eb5728ebce6ec43223f5446674383bf9e 100644
(file)
--- a/
VHDLTypes.hs
+++ b/
VHDLTypes.hs
@@
-47,6
+47,9
@@
type TypeMap = Map.Map OrdType (AST.VHDLId, AST.TypeDec)
-- A map of a Haskell function to a hardware signature
type SignatureMap = Map.Map HsFunction Entity
-- A map of a Haskell function to a hardware signature
type SignatureMap = Map.Map HsFunction Entity
+-- A map of a builtin function to VHDL function builder
+type NameTable = Map.Map String (Int, [AST.Expr] -> AST.Expr )
+
data VHDLSession = VHDLSession {
-- | A map of Core type -> VHDL Type
vsTypes_ :: TypeMap,
data VHDLSession = VHDLSession {
-- | A map of Core type -> VHDL Type
vsTypes_ :: TypeMap,