X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=c%CE%BBash%2FCLasH%2FVHDL%2FVHDLTypes.hs;h=e95a0c6eac6af1bbd8fe948fc8e769079f82d2e4;hb=fa753965066cadf521a61be8cd052e410c5e4a81;hp=64fb7ab10bd8d063a9954997946e3e34bfbcb5cb;hpb=fcadaad2e47e5f6cba4b9f7d4341477b8fe74158;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git "a/c\316\273ash/CLasH/VHDL/VHDLTypes.hs" "b/c\316\273ash/CLasH/VHDL/VHDLTypes.hs" index 64fb7ab..e95a0c6 100644 --- "a/c\316\273ash/CLasH/VHDL/VHDLTypes.hs" +++ "b/c\316\273ash/CLasH/VHDL/VHDLTypes.hs" @@ -25,9 +25,9 @@ type Port = (AST.VHDLId, AST.TypeMark) -- info on how to map a haskell value (argument / result) on to the entity's -- ports. data Entity = Entity { - ent_id :: AST.VHDLId, -- The id of the entity - ent_args :: [Port], -- A mapping of each function argument to port names - ent_res :: Port, -- A mapping of the function result to port names + ent_id :: AST.VHDLId, -- ^ The id of the entity + ent_args :: [Port], -- ^ A port for each non-empty function argument + ent_res :: Maybe Port, -- ^ The output port ent_dec :: AST.EntityDec -- ^ The complete entity declaration } deriving (Show);