X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Translator.hs;h=6a784251d3c310240fc657b8a0c183980cc80202;hb=96f7f06d240a28893e3e982d1184727a6c79ca76;hp=5e36b3856b631666cc4fb62fb932631e21a33943;hpb=bf0b6fedf46d525cc7e4d389b4fb7dd539174939;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Translator.hs b/Translator.hs index 5e36b38..6a78425 100644 --- a/Translator.hs +++ b/Translator.hs @@ -92,7 +92,7 @@ moduleToVHDL core list = do -- Create entities and architectures for them Monad.zipWithM processBind statefuls binds modFuncs nameFlatFunction - modFuncs VHDL.createEntity + modFuncMap $ Map.mapWithKey (\hsfunc fdata -> fdata {funcEntity = VHDL.createEntity hsfunc fdata}) modFuncs VHDL.createArchitecture funcs <- getFuncs return $ VHDL.getDesignFiles (map snd funcs)