X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=VHDLTypes.hs;h=3e2ebe09ffebc4c55493a34c8afe6792e9d19679;hb=969b7ddd86b69d2fc61b101961affcca0364749c;hp=79d7675f68a48f3663782d0d6c6465d90c0ef871;hpb=ede1f399f096569d1305cd75cb21f037bd4162dc;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/VHDLTypes.hs b/VHDLTypes.hs index 79d7675..3e2ebe0 100644 --- a/VHDLTypes.hs +++ b/VHDLTypes.hs @@ -78,10 +78,10 @@ type TypeState = State.State TypeMap -- A function that generates VHDL for a builtin function type BuiltinBuilder = - CoreSyn.CoreBndr -- ^ The destination value + (Either CoreSyn.CoreBndr AST.VHDLName) -- ^ The destination signal and it's original type -> CoreSyn.CoreBndr -- ^ The function called - -> [CoreSyn.CoreExpr] -- ^ The value arguments passed (excluding type and - -- dictionary arguments). + -> [Either CoreSyn.CoreExpr AST.Expr] -- ^ The value arguments passed (excluding type and + -- dictionary arguments). -> VHDLSession [AST.ConcSm] -- ^ The resulting concurrent statements. -- A map of a builtin function to VHDL function builder