X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=VHDLTypes.hs;h=c1d9332f993d340772e2d7d9cfbb19a60187ab52;hb=1a10d214e6ffc7097c0f4bddf16f0dd87b5355a8;hp=e8a77377f87d4833963b817c6812a9e4b0699fd9;hpb=fad6e9a1f43072174c3f2a791383a72d26b26be8;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/VHDLTypes.hs b/VHDLTypes.hs index e8a7737..c1d9332 100644 --- a/VHDLTypes.hs +++ b/VHDLTypes.hs @@ -41,9 +41,6 @@ instance Ord OrdType where -- A map of a Core type to the corresponding type name type TypeMap = Map.Map OrdType (AST.VHDLId, Either AST.TypeDef AST.SubtypeIn) --- A map of Elem types to the corresponding VHDL Id for the Vector -type ElemTypeMap = Map.Map OrdType (AST.VHDLId, AST.TypeDef) - -- A map of a vector Core element type and function name to the coressponding -- VHDLId of the function and the function body. type TypeFunMap = Map.Map (OrdType, String) (AST.VHDLId, AST.SubProgBody) @@ -54,8 +51,6 @@ type SignatureMap = Map.Map CoreSyn.CoreBndr Entity data VHDLState = VHDLState { -- | A map of Core type -> VHDL Type vsTypes_ :: TypeMap, - -- | A map of Elem types -> VHDL Vector Id - vsElemTypes_ :: ElemTypeMap, -- | A map of vector Core type -> VHDL type function vsTypeFuns_ :: TypeFunMap, -- | A map of HsFunction -> hardware signature (entity name, port names,