projects
/
matthijs
/
master-project
/
cλash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a type alias StateId for state numbers.
[matthijs/master-project/cλash.git]
/
VHDL.hs
diff --git
a/VHDL.hs
b/VHDL.hs
index 32279fdea471a0c055a50ccb39cd6bd8491fd9de..67b8394301724c8c66317c4c08d82d7526a50b85 100644
(file)
--- a/
VHDL.hs
+++ b/
VHDL.hs
@@
-144,7
+144,7
@@
createArchitecture hsfunc fdata =
let arch = AST.ArchBody (mkVHDLId "structural") (AST.NSimple entity_id) (map AST.BDISD sig_decs) (insts' ++ procs')
setArchitecture hsfunc arch
let arch = AST.ArchBody (mkVHDLId "structural") (AST.NSimple entity_id) (map AST.BDISD sig_decs) (insts' ++ procs')
setArchitecture hsfunc arch
-mkStateProcSm :: (
Int
, SignalInfo, SignalInfo) -> AST.ProcSm
+mkStateProcSm :: (
StateId
, SignalInfo, SignalInfo) -> AST.ProcSm
mkStateProcSm (num, old, new) =
AST.ProcSm label [clk] [statement]
where
mkStateProcSm (num, old, new) =
AST.ProcSm label [clk] [statement]
where