pySimBlocks.core.signal_bus

Global signal bus shared by Goto and BusFrom blocks.

Goto blocks write their input value into _signal_bus under their tag. BusFrom blocks read from _signal_bus by tag. The bus is reset at the start of each simulation run so that successive runs are fully isolated.

pySimBlocks.core.signal_bus.reset() None[source]

Clear all entries in the signal bus.

Must be called at the start of each simulation run to prevent signal bleed-over between independent runs.