X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Chapters%2FPrototype.tex;h=390e98b57c39dc0a1da114a812bd4e8272d1967a;hp=eb66f002e1cb1731651164fd09e6754057ba9720;hb=d196e984e8b30373485e136ac763b669d21c4751;hpb=8ba14df19118e9880661452d6dc17ef1221fffb9 diff --git a/Chapters/Prototype.tex b/Chapters/Prototype.tex index eb66f00..390e98b 100644 --- a/Chapters/Prototype.tex +++ b/Chapters/Prototype.tex @@ -902,9 +902,9 @@ needed. For example, consider the following state type (this is just the state type, not the entire function type): - \starttyping + \starthaskell State (State Bit, State (State Word, Bit), Word) - \stoptyping + \stophaskell We cannot leave all these \hs{State} type constructors out, since that would change the type (unlike when using type synonyms). However, when @@ -1424,11 +1424,11 @@ end architecture structural; \stopbuffer - \placeexample[][ex:AvgStateTypes]{\VHDL\ types generated for acc and avg from \in{example}[ex:AvgState]} + \placeexample[][ex:AvgStateTypes]{\VHDL\ types generated for \hs{acc} and \hs{avg} from \in{example}[ex:AvgState]} {\typebuffervhdl{AvgStateTypes}} - \placeexample[][ex:AccStateVHDL]{\VHDL\ generated for acc from \in{example}[ex:AvgState]} + \placeexample[][ex:AccStateVHDL]{\VHDL\ generated for \hs{acc} from \in{example}[ex:AvgState]} {\typebuffervhdl{AccStateVHDL}} - \placeexample[][ex:AvgStateVHDL]{\VHDL\ generated for avg from \in{example}[ex:AvgState]} + \placeexample[][ex:AvgStateVHDL]{\VHDL\ generated for \hs{avg} from \in{example}[ex:AvgState]} {\typebuffervhdl{AvgStateVHDL}} % \subsection{Initial state} % How to specify the initial state? Cannot be done inside a hardware