projects
/
matthijs
/
master-project
/
cλash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73057c
)
Always import IEEE.std_logic_1164 in the generated VHDL.
author
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Tue, 17 Feb 2009 14:58:31 +0000
(15:58 +0100)
committer
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Tue, 17 Feb 2009 14:58:31 +0000
(15:58 +0100)
VHDL.hs
patch
|
blob
|
history
diff --git
a/VHDL.hs
b/VHDL.hs
index 5d57bb574c98fe55f51e041306e42ccabfcf6950..ad4736471bbf8798d06c6c49c21509fb9d5e4442 100644
(file)
--- a/
VHDL.hs
+++ b/
VHDL.hs
@@
-26,8
+26,11
@@
getDesignFile = do
-- session.
funcs <- getFuncs
let units = concat $ map getLibraryUnits funcs
+ let context = [
+ AST.Library $ mkVHDLId "IEEE",
+ AST.Use $ (AST.NSimple $ mkVHDLId "IEEE.std_logic_1164") AST.:.: AST.All]
return $ AST.DesignFile
- []
+ context
units
-- | Create an entity for a given function