==How Does the Digital Simulation Engine Work?==
[[File:b2MAN_Fig37.png|thumb|400px| A simple digital inverter circuit.]]
Rather than giving a theoretical account of the workings of the digital simulation engine, here we present an example. The circuit used for this example will be the simple inverter function given below.
Â
<table>
<tr>
<td>
[[File:b2MAN_Fig37.png|thumb|left|480px| A simple digital inverter circuit.]]
</td>
</tr>
</table>
Assuming that the initial conditions are set to indeterminate level and strength, all wires and pins will be preset to the indeterminate state with unknown strengths. As soon as the simulation starts, however, the input port will send a message to the simulation engine that its pin's value should be 0, causing the program's wire change list to be appended with the first wire's ID (0). The program will then process the wire changes. That is, the value of wire 0 is calculated to be 0, and the wire's value is passed to each of the pins that connected to it. Since the input to the inverter was previously unknown, and its new value is a strong 0, the input pin will be appended to the device input change list.