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.

Pasted image 20240227005231.png

Here the given NMOS logic gate has Y=A+BC+BD=A+B(C+D).

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:

Pasted image 20240227005514.png

But notice we have to change the sizing of our transistors when we combine in this way.

Thus, to transistor size:

Ron(W/L)A+Ron(W/L)B=Ron(W/L)SRon(W/L)A+Ron6.66=Ron2.22(W/L)A=3.33

Comparing areas between the two designs gives the second with 28.5F2 and the first with 25.1F2, so the first is preferred (you can calculate by adding up all W/L ratios)

7.5: CMOS NOR and NAND Gates

CMOS NOR Gate

Pasted image 20240227220636.png

The way this works as shown in (b) is that:

Pasted image 20240227220755.png

Transistor Sizing

We consider the worst possible input conditions. When AB=10 or 01 we have transistor A or B capable of discharging through capacitor, so we need the NMOS as the same size as the reference inverter. The PMOS part only conducts when AB=00 and they're two PMOS in series, so the same on-resistance as the reference requires both W/L ratios be doubled as then it halves each PMOS on resistance.

Body Effect

While during switching body effect plays a role, all PMOS source drain nodes are at VDD and at VSS if instead NMOS. So the on-resistance of the PMOS isn't affected by body effect, only during transient.

Two-Input NOR Gate Layout

An example is shown below:

Pasted image 20240227221716.png
Pasted image 20240227221803.png

Three-Input NOR Gate

The same analysis occurs for a 3-input NOR gate:

Pasted image 20240227221838.png

Here, the output is low when A or B or C is conducting, so we fail to have that when ABC=000 which turns on all the PMOS. All NMOS inverters are again 2/1 for the on-resistances (from reference), and instead we need to multiply by 3 for each PMOS to get it's actual W/L for the same reasons.

We use a shorthand symbols for Two-Input CMOS NOR gate:

Pasted image 20240227222126.png

CMOS NAND Gates

We can do a similar process for NAND gates and get:

Pasted image 20240227222211.png

The PMOS are in parallel and need the reference 5/1 as before seen, as when they are both on they will give that on resistance. The NMOS are both doubled in W/L for similar reasons as mentioned above.

Pasted image 20240227222313.png

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.

Pasted image 20240227222348.png

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 Y=A+BC+BD.

First, we know that Y=A+B(C+D) and Y¯=A+B(C+D). We use the same logic network we used in Figure 6.34 above:

Pasted image 20240227222658.png

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:

Pasted image 20240227222839.png

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:

Pasted image 20240227223003.png

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:

Pasted image 20240227223107.png

This network is the PMOS network we are looking for:

Pasted image 20240227223211.png

Lastly, we need to find the W/L ratios for all PMOS. Look for the worst-case path in the NMOS. Here, it's the two transistors in series MC,MB or MD,MB. As such then MC,MB need to be twice as large as the reference, which also carries over to MD, while MA is just the reference in case of when it is on and need to discharge a capacitive load.

For the PMOS, it's a similar story. For the worst case of PMOS, it's ACD, so those need to be 3 times as large as the reference. Then B needs to be:

Ron15/1+Ron(W/L)B=Ron5/1(W/L)B=7.5/1

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:

In the NMOS switching network for our designed CMOS circuit, we had a worst-case path of two transistors in series, with W/L=2/1 so an equivalent Ron=1/1 using the compared reference inverter. So then τPHL=2τPHLI. For the PMOS, there's three transistors in series, two in parallel, yielding an effective W/L ratio of 2/3, giving:

τPLH=5/12/3τPLHI=7.5τPLHI

The average propagation delay of this gate then is:

τP=2τPLHI+7.5τPLHI2=4.75τPLHI

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:

Pasted image 20240306081500.png

Operation starts when clock is low, where MNC is off. This turns off the path to ground to F, and also pulls MPC node 4 to logic high and forcing the inverter output to low.

When the clock goes high, the capacitance at 4 is discharged, and if a conducting path exists through F, so F=1, then node 4 is discharged to 0. If F=0 then no discharge happens, and the node 4 voltage is high, so output is still low.

Pasted image 20240306082228.png

Notice that functional evaluation during the positive clock phase ripples through the gates like a series of dominos - hence the name of domino logic.

Pasted image 20240306082347.png