Modules 11 & 12 - Static Dual Logic & Dynamic Domino Logic
6.9: Complex NMOS Logic Design
A big use of MOS logic over other forms is to combine NAND and NOR gates into complex configurations. This brings us to complex logic gate design.
Here the given NMOS logic gate has
This is commonly an AND-OR-INVERT (AOI) gate. The AND terms are created by stacking two transistors vertically, then placed in parallel to form the OR function:
But notice we have to change the sizing of our transistors when we combine in this way.
- When placed in series, we double our length
, so to compensate we double for each transistor , or just even it out with our other set of transistors. - When placed in parallel, we double our width
, so to compensate we half for each transistor, or just even it out with the other set of transistors.
Thus, to transistor size:
- Method 1: Find the worst-case path:
- Ex: see path
in the circuit above with 3 transistors. Make each 3 times the size of the reference switching transistor to make an equivalent on-resistance similar to in the reference inverter. So each should get . - In the second path,
, we want the sum of the on-resistance of the devices to be equal to the on-resistance of in the reference inverter:
- Ex: see path
- Method 2: Partition into subnetworks
- Ex:
is in series with network so set their as equal. Then repeat for the smaller network compared with . Since are in series then they need the same (use so then and so then is and
- Ex:
Comparing areas between the two designs gives the second with
7.5: CMOS NOR and NAND Gates
CMOS NOR Gate
The way this works as shown in (b) is that:
- The output is low when input
or input is high, because NMOS A is On and NMOS B is on, so then the voltage at Y is shorted (0V) so its low. Notice that in a similar manner PMOS A is Off and the same is for the other PMOS - In general, a parallel path in an NMOS network can be reconfigured to a series path in PMOS, and vice versa
Transistor Sizing
We consider the worst possible input conditions. When
Body Effect
While during switching body effect plays a role, all PMOS source drain nodes are at
Two-Input NOR Gate Layout
An example is shown below:
Three-Input NOR Gate
The same analysis occurs for a 3-input NOR gate:
Here, the output is low when
We use a shorthand symbols for Two-Input CMOS NOR gate:
CMOS NAND Gates
We can do a similar process for NAND gates and get:
The PMOS are in parallel and need the reference
For the multi-input gate above, it's the same story. All PMOS stay the same, while the NMOS get multiplied by however many inputs we have.
7.6: Design of Complex Gates in CMOS
We look at a single example of CMOS logic gate design. We'll design a CMOS logic gate implementing
First, we know that
We don't know the topology of the PMOS switch network, and the W/L ratios of those PMOS. First, we construct a graph of the NMOS network:
Each note in the network corresponds to the node in the graph. Each arc is one of the transistors. Then we use this graph to construct the PMOS network. First, place a new node inside of every enclosed path:
Then, add an arc cut through the NMOS arcs and connect the pairs of nodes that are separated by NMOS arcs. The related PMOS get's the same label as the NMOS:
This network is the PMOS network we are looking for:
Lastly, we need to find the
For the PMOS, it's a similar story. For the worst case of PMOS, it's
7.7: Minimum Size Gate Design and Performance
The way our network works for CMOS, we get one NMOS and one PMOS transistor for each logic input variable. There's also:
- area penalties
- tradeoff between logic delay and area penalty (more delay can be traded in for less area)
In the NMOS switching network for our designed CMOS circuit, we had a worst-case path of two transistors in series, with
The average propagation delay of this gate then is:
we sometimes want to have Euler Paths instead, that go through each transistor once and only once.
7.8: Dynamic Domino CMOS Logic
Dynamic logic uses precharge and evaluation phases governed by a system clock to elmininate DC current that occurs in single-channel static logic gates; however, logical outputs are only valid during a portion of the evaluation phase of the clock. A domino CMOS is based on a signle clock signal:
Operation starts when clock is low, where
When the clock goes high, the capacitance at 4 is discharged, and if a conducting path exists through
Notice that functional evaluation during the positive clock phase ripples through the gates like a series of dominos - hence the name of domino logic.