projects
/
matthijs
/
master-project
/
report.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use haddock style comments.
[matthijs/master-project/report.git]
/
Chapters
/
HardwareDescription.tex
diff --git
a/Chapters/HardwareDescription.tex
b/Chapters/HardwareDescription.tex
index db469c5f0c12b97aaa3a9ddf4aa820f4f9a6d75f..2a7a077d269bb8d1a1bd6fedd62c67fff888eaba 100644
(file)
--- a/
Chapters/HardwareDescription.tex
+++ b/
Chapters/HardwareDescription.tex
@@
-71,8
+71,8
@@
application and the corresponding architecture.
\startbuffer[And3]
application and the corresponding architecture.
\startbuffer[And3]
---
|
A simple function that returns
---
conjunction of three bits
+-- A simple function that returns
+-- conjunction of three bits
and3 :: Bit -> Bit -> Bit -> Bit
and3 a b c = and (and a b) c
\stopbuffer
and3 :: Bit -> Bit -> Bit -> Bit
and3 a b c = and (and a b) c
\stopbuffer
@@
-539,7
+539,7
@@
and3 a b c = and (and a b) c
and the corresponding architecture.
\startbuffer[Quadruple]
and the corresponding architecture.
\startbuffer[Quadruple]
---
|
Multiply the input word by four.
+-- Multiply the input word by four.
quadruple :: Word -> Word
quadruple n = mul (mul n)
where
quadruple :: Word -> Word
quadruple n = mul (mul n)
where