From the definition 5.1 it is clear that even a simple circuit has more than one critical path in it 12.
In order to develop a rigorous definition of critical paths, let's introduce the following sets, characterizing a typical CMOS circuit:
The generic
-th critical path of a circuit, denoted by
, equation (5.1a) (page
),
is the collection of conducting paths,
denoted by
, such that
each
, equation (5.1b), is defined as the union of two ordered
node sets, the set
, equation (5.1c), of all gates of all the
MOSFETs pertaining to the conducting path,
and the set
, equation (5.1d),
of all drain and source nodes (in number of13
)
of the same
MOSFETs, (5.1e)
The nodes in
set have a peculiar
property: the first and last one may be or may be not14
in common among two or more
MOSFETs, while the other ones must be in common among two or more
MOSFETs.
In other words, the set
is an ordered collection of
nodes such that among these nodes there are
MOSFETs, constituting a
continuous (and conducting) path from the output node to a power supply
(or ground)
node.
Finally, collecting all the definitions, respectively, of critical path, conducting path, conducting path gate nodes set and conducting path drain nodes set:
The figure 5.3 shows an example of critical paths in a
dynamic circuit (actually the carry part of a full-adder in a TSPC logic).
In this figure are represented the six critical paths, each one with
the list of MOSFET numbers. For example, the first critical path
(
) is
composed by the conducting path
, made up of n-MOSFETs
and the p-MOSFET
:
that means that the set
is composed by the gates node of
transistors 1, 2, 4, 5, and 11, while
is made up of drain
and source nodes of the same transistors; if one
gate of n-MOSFETs
switch from the low state to the high state
(and the others are all at the high state), then the gate of p-MOSFET
is
discharged, and this p-MOSFET conducts, charging the output node.
Another critical path for example is the one composed only by the
p-MOSFET
: if its gate switch from high to low, then the gate
of n-MOSFET
switch form low to high, but this can not
produce the discharging of the output node, since the gate of n-MOSFET
is driven by the same signal of the original p-MOSFET.
After the definition of critical paths, the problem of associating a delay (one and only one) to a circuit is still unresolved, since there is surely more than one critical path in a circuit: the solution is to find the max of all the critical path delays, and regard this delay as the delay of the whole circuit. In this manner, we are sure that a change in the state of a node caused directly by an input, can never occurs after the max delay fixed. Also this definition is consistent with the optimization purposes, since the optimization objective is always (usually!) the minimization of the delay. So the strategy to be applied is a min-max scheme of optimization (minimization of the maximum).
where
is the delay of the
-th critical path
comprising in the circuit.
So, finally, in order to known the delay of a circuit, one must search all the critical paths in the circuit, calculate (or measure) the delay of each critical path, and calculate the max of these delays.
The delay of each critical path can be calculated by means of some model (maybe after the transformation of figure 5.4), or measured by means of simulations.
This delay, obtained in some way, must be analyzed in order to know
its coherence with the mathematical results of chapter 4
(page
),
and the validity of these results.