SWITCH objects are external hardware mimics.
During the interactive design debug phase, the user can activate a SWITCH object by clicking on it, and any INPUT or OUTPUT objects connected to it (via WIRE objects) will see a switch toggle.
SWITCH objects are NOT dependent on a running simulator. They are also useful when constructing a hardware console to drive embedded systems. In this case the switch acts as an interactive mimic for a fully functional target system.
SWITCH objects can be connected directly to LED objects (via WIRE objects) if required.
Code GenerationThe SWITCH object has no user accessable code generation properties associated with it. No code is generated for it. It is only used as a hardware mimic.
Adding SWITCH Objects To A DesignNormally the SWITCH object is copied from the template window to the drawing window or from an existing SWITCH object already on the drawing window.