An asynchronous preset (PRE) is a pin that forces a flip flop's Q to 1 right away. Asynchronous means "not in step with the clock": it does not wait for an edge.
- While preset is asserted, Q = 1, whatever the clock, D, J, K or T are doing.
- When it is released, the flip-flop goes back to normal and the next active edge loads as usual.
Its partner is the asynchronous clear (CLR), which forces Q to 0. Together they are sometimes called the direct inputs.
Why they exist: at power-up, flip-flops can wake as 0 or 1 at random. Preset and clear put a circuit into a known starting state, even before the clock has started. A ring counter that must start at 1000 is a typical use: preset the first flip-flop, clear the rest.
They are often active-low, drawn with a bubble and labeled or PRE with a bar. Then the pin sits at 1 in normal operation and is pulled to 0 to act. Internally they act directly on the flip-flop's latch, like the inputs of a NAND SR latch.
Never assert preset and clear together. Like S = R = 1 on an sr latch, the result is invalid.
By contrast, D, J, K and T are synchronous inputs: they only matter at the clock edge.