next up previous
Next: 3.2 Simulation Concept Up: 3 Implementation Concept Previous: 3 Implementation Concept

3.1 Correspondence between Circuit Arrangement and Software Implementation

The key issue of the implementation of labAlive is the direct correspondence between circuit arrangement and software implementation of the wiring. That means, each component of the wiring to be made up by labAlive corresponds with an object within the simulation. According to the connection diagram in figure 1 (upper part), a wiring is programmed by creating instances of the required systems and wires and connecting up. The software wiring components in this example are instances of a sine-wave generator (SineSource), a low-pass filter (FIR), a sink (TerminationSystem) and two wires (AnalogWire).

   figure30
Figure 1: The horizontal mapping of systems to implementation classes, and the vertical mapping of the implementation classes on abstract base classes (inheritance) for the example described in the text.



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