From: Christiaan Baaij Date: Wed, 3 Mar 2010 09:15:14 +0000 (+0100) Subject: make paper version of highordcpu resemble compilable version of highordcpu X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Fdsd-paper.git;a=commitdiff_plain;h=645d4f8e703fcb77044b0fce5b3134187ef056aa make paper version of highordcpu resemble compilable version of highordcpu --- diff --git "a/c\316\273ash.lhs" "b/c\316\273ash.lhs" index 59f529a..2fa6b86 100644 --- "a/c\316\273ash.lhs" +++ "b/c\316\273ash.lhs" @@ -1192,12 +1192,11 @@ the vectors of the \acro{FIR} code to a length of 4, is depicted in \subsection{Higher order CPU} \begin{code} -fu op inputs (addr1, addr2) (State out) = - (State out', out) +fu op inputs (addr1, addr2) regOut = (regIn, regOut) where - in1 = inputs!addr1 - in2 = inputs!addr2 - out' = op in1 in2 + in1 = inputs!addr1 + in2 = inputs!addr2 + regIn = op in1 in2 \end{code} \begin{code}