|
0.
| The circuit is specified by a text written in the language Lola. |
|
1.
| The specification is compiled. The result is a data structure in the
form of a binary tree. |
|
2.
| The command Simulator.Start must be issued after each compilation. |
|
3.
| The command Simulator.Select v0, v1, ... ~ specifies the variables whose
values are to be listed. |
|
4.
| The command Simulator.Set serves to assign initial values to the
input variables. |
|
5.
| The command Simulator.Label lists the names of the selected variables. |
|
6.
| The command Simulator.Step n issues n clock ticks and lists the
resulting values. |
The following example is a 2-bit counter