next up previous
Next: 3.3 Class Hierarchy Up: 3 Implementation Concept Previous: 3.1 Correspondence between Circuit

3.2 Simulation Concept

The simulation is performed by discrete time steps. The wiring developer has to consider implications like aliasing effect. At each simulation step each wire has a signal value (may be analog or digital). Systems may have internal states, like the memory of a filter. At the beginning all signal and state values are zero. The transition from step i to i+1 is performed by:

This simple `straight forward' simulation concept works as far as there are no `irregular systems' with several inputs (like an adder) or a change in sampling rate (like a downsampler) which require a synchronization of different signal paths. The example of figure 1 consists of only one straight forward `simulation chain'. The sink is a special case of a system: it has no outputs and the simulation chain ends.

To overcome the synchronization issues when several signal paths are to be coordinated, the wiring has to be divided into several simulation chains. This is performed in the wiring initialisation procedure by an instance of the object termed WiringAdministator. Each simulation chain can be simulated straight forward. Objects termed SystemContainer represent these chains and they all together manage the constraints of synchronization:

Taken in the lump,


next up previous
Next: 3.3 Class Hierarchy Up: 3 Implementation Concept Previous: 3.1 Correspondence between Circuit

Erwin Riederer
Wed Jun 16 11:01:00 MET DST 1999