-\chapter{Introduction}
+\chapter[chap:introduction]{Introduction}
This thesis describes the result and process of my work during my
Master's assignment. In these pages, I will try to introduce the world
of hardware descriptions, the world of functional languages and
\startMPcode
% Create objects
+ save a, inp, out;
newCircle.inp(btex $\overrightarrow{input}$ etex) "framed(false)";
num := 4;
for i=1 upto num:
drawObj(out);
% Draw a dotted line between the middle operations
ncline(a2)(a3) "linestyle(dashed withdots)", "arrows(-)";
-
- % Clear everything
- clearObj a;
- clearObj inp;
- clearObj out;
\stopMPcode
Slightly more complicated is the following incremental summation of values:
newCircle.a(btex + etex);
newCircle.out(btex $output$ etex) "framed(false)";
- % Punt inp, a and out in one horizontal line, with reg above a
+ % Put inp, a and out in one horizontal line, with reg above a
reg.c-a.c=(0cm, 2cm);
a.c-inp.c=(3cm, 0cm);
out.c-a.c=(3cm, 0cm);