X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;ds=sidebyside;f=VHDLTypes.hs;h=a5d1569eb5728ebce6ec43223f5446674383bf9e;hb=998e440a7fa765685e1ed500c871058a33129b1f;hp=33010822b9ace9ec74e0002e0ba015fd2643254b;hpb=241a1d6f8a4bc9cccc0cacb05e8348fa3e204f74;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/VHDLTypes.hs b/VHDLTypes.hs index 3301082..a5d1569 100644 --- 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 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,