A Logic Cookbook for Synthesis

Toggle something on/off

Attibution: mdoudoroff

flipflops will hold low or high until something causes them to flip

A simple flipflop will hold its state (high or low) until it receives a rising edge (trigger or gate) at its input, at which point it will switch to the other state.

Toggling is literally what your basic flipflops do.

Example:

Result: the VCA will be held open or closed by the flipflop, reversing each time a trigger is received by the flipflop.

< Back

• • •