2. Cascode mapping
In Cascode style all signals are carried on dual rails, i.e. both the signal and its complement are needed and produced. The mapping of logical values to voltage levels is not trivial in order to minimize the number of n-transistors per
IF gate: 1 means pulled down to Gnd via a n-transistor, 0 means not pulled down to Gnd. Figure
Gates Representation shows the schematics for the
IF gate. All gates can be obtained by using the Constant gate (the one generating 1 and 0) and the
IF gate, but one can spare one transistor in the cases [
ORNOT], [
AND], [
OR] and [
ANDNOT], using the fact that:
F = x . F1 + ~x can be rewritten F = F1 + ~x and similarly for the other cases.
The schematics for the ORNOT is shown on figure Gates Representation. Layout for this 2-transistor gate can be made very compact, and this is important because most of the gates used in the control part of a chip belong to the {[ORNOT], [AND], [OR], [ANDNOT]} set.
In addition to the 2 pull-down chains, the cross-coupled pull-ups are needed to compute the output. Very long pull-down chains made of transistors in series may give a quadratic delay. To avoid this, cross-coupled pull-ups are inserted at regular intervals (every 5 or 6 stages is our current choice). The schematic is given in figure Amplification. These cross-coupled devices make the delay time truly linear in the number of inputs. The algorithm used to choose where to put repeaters is slightly better than just dropping them at regular intervals: the interval is a fixed number of used inputs.