|
FhSim
3.1.0
Marine systems simulation
|
Demux SimObject that takes a std::vector as input and splits it into several output ports.
Collaboration diagram for Demux:A demux (or demultiplexer) is a device taking a single input signal and selecting one of many data-output-lines, which is connected to the single input. The sum of all output port sizes must be equal to the input port size. Implementation class is CDemux.
| Name | Width | Description |
|---|---|---|
| In | <NumOutput> | The input port |
| Name | Width | Description |
|---|---|---|
| Out1 .. Out<NumOutput> | <OutPortWidth> | The input signal "De-multiplexed" into <NumOutput> ports of sizes OutPortWidth1.. OutPortWidth<NumOutput>, which sums up to <NumOutput>. |
| Name | Width | Description |
|---|---|---|
| NumOutput | 1 | The number of output signals |
| OutPortWidth1 .. OutPortWidth<NumOutput> | - | The number of elements in each individual output signal |
There are no initial conditions for this function.
This SimObject is referred to as Signal/Demux