A Logic Cookbook for Synthesis

Get the higher of two signals at a point in time

Attibution: mdoudoroff

MAX (OR) will pass whichever of two voltages is higher

You can get the higher/larger of two continuous voltage values by passing them through a MAX (analog OR) circuit. Optionally, you can employ a sample and hold to capture the moment you’re interested in.

Note: with some MAX circuits, this procedure only works for positive voltages

Example:

Result: the sample & hold output will update at each clock pulse with whichever input voltage was higher at the time

< Back

• • •