I finally managed to find a guidea guide about how to switch a signal on/off. In short, you need to use logic gates.
Basically you have three signals. An Input
, an Output
and a Control
signal which decides whether your Output
is enabled or not.
The most common way to achieve this is using an AND
gate. In this scenario when your Control
signal is low
, the output signal will be disabled and forced low
:
And when your control signal is high
the Output
signal will be enabled (i.e. the same as your Input
signal):
Refer to the guide for more information: