make paper version of highordcpu resemble compilable version of highordcpu
[matthijs/master-project/dsd-paper.git] / cλash.lhs
index 59f529ad461d1155ad630af3905257b0175780e3..2fa6b8615ff78ce701ecefb496b9223b1bd57bbb 100644 (file)
@@ -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}