Introduction To CMOS Logic Circuits
Introduction To CMOS Logic Circuits
Metal: the gate of the transistor was made of aluminum metal in the early days, but is made of polysilicon today (for the past 25 years or more). Oxide: silicon dioxide is the material between the gate and the channel Semiconductor: the semiconductor material is silicon, a type IV element in the periodic chart. Each silicon atom bonds to four other silicon atoms in a tetrahedral crystal structure.
R. W. Knepper SC571, page 1-1
oxide
gate
P+
source
P substrate
drain
source
N well
drain
N channel device
P channel device
N channel device: built directly in the P substrate with N-doped source and drain junctions and normally N-doped gate conductor
Requires positive voltage applied to gate and drain (with respect to source) for electrons to flow from source to drain (thought of as positive drain current)
P channel device: built in an N-well (a deep N-type junction diffused into the P substrate) with P-doped source and drain junctions and N or P-doped gate
Requires negative voltage applied to gate and drain (with respect to source) for electrons to flow from drain to source (thought of as negative drain current)
R. W. Knepper SC571, page 1-2
oxide
N+ N
source
gate
N+
drain
P substrate
gate
PFET Device:
Negative voltage (0 or low) on gate relative to source turns device ON and allows (negative) current to flow from drain to source (closes switch) Zero volts on gate relative to source (1 or high) turns device OFF (closes switch) source (vs drain) is the most positive terminal
R. W. Knepper SC571, page 1-3
oxide gate
source
P+
N well
P+
drain
gate
Vdd
Inverter Schematic
PFET source
P-FET
PFET drain Vin Vout NFET drain
N-FET
NFET source
Operation:
If Vin is down (0 volts), NFET is OFF and PFET is ON pulling Vout to Vdd (high = 1) If Vin is up (at Vdd), NFET is ON hard and PFET is OFF pulling Vout low to Gnd (0) With Vin at 0 or Vdd, no dc current flows in inverter
R. W. Knepper SC571, page 1-4
Gnd
Inverter Symbol
P-FET
Vin
Vdd Gnd
Vout
N-FET
Vg
X-gate Symbols
Circuit topology: N and P devices with sources and drains connected in parallel. Vg is the control signal for the N device; Vgc (complement of Vg) is the control signal for the P device. Operation: When Vg is high (at Vdd) and Vgc is therefore low (at Gnd), the NFET and PFET are both ON. (Depending upon the devices source potentials, one may be ON more strongly than the other.) The switch is therefore CLOSED and Vout will be the same logic level as Vin. When Vg is low (at Gnd) and Vgc is high (at Vdd), both devices are OFF. The switch is therefore OPEN and Vout will be independent of Vin (high Z connection).
Circuit Topology:
T1 and T2 are N-FET devices connected in series; T3 and T4 are P-FET devices connected in parallel with their sources at Vdd and their drains at Vout. Inputs A and B are connected to the gates of T1 & T3 and T2 & T4, respectively. T2, T3, & T4 operate as grounded source devices, but T1 has its source generally above Gnd potential.
T3
T4
Vout
T1
B T2
Operation:
If both A and B are high (at Vdd), both T1 and T2 are ON hard, therefore pulling Vout low (to zero volts). Both T3 and T4 are OFF due to their gateto-source voltages (Vgs) being at 0 volts, thus preventing any dc current. If either A or B (or both) are low (at 0 volts), either T1 or T2 (or both) are OFF; T3 or T4 (or both) are ON hard, thus pulling Vout high to Vdd (a 1 output).
R. W. Knepper SC571, page 1-6
Vout = A B = A + B
A B Vout
T3
Circuit Topology:
T1 and T2 are N-FET devices connected in parallel with their sources at Gnd and drains at Vout; T3 and T4 are P-FET devices connected in series. Inputs A and B are connected to the gates of T1 & T3 and T2 & T4, respectively.
T4
Vout
T1 T2
Operation:
If either A or B is high, T1 and/or T2 are ON hard and either T3 or T4 (or both) are OFF, pulling Vout to gnd. No dc current flows. If both A and B are low (at gnd), both T1 and T2 are OFF and both T3 and T4 are ON hard, thus pulling Vout to Vdd (a 1 output). T1, T2, and T3 operate as common source, but T4s source potential will drop below Vdd.
R. W. Knepper SC571, page 1-7
A B Vout = A + B = A B
A B
Vout
Vdd
Circuit Topology:
T1,T2,T3 are N-FET devices in series; T4,T5,T6 are PFET devices in parallel with sources to Vdd. T3, T4, T5, & T6 all operate as grounded source mode; T1 & T2 will have their source potentials above gnd over portions of the switching transient, or if T3 is OFF
T4 A B C
T5
T6 Vout
T1 T2 T3
Circuit Operation:
If all of T1, T2, & T3 are ON (A, B, & C all high), Vout is pulled low; T4, T5, & T6 are all OFF thus preventing any dc current flow. If one (or more) of A, B, or C are low, then the corresponding P device T4, T5, and/or T6 is ON hard and Vout is pulled high; at the same time one or more of T1, T2, and/or T3 is OFF preventing any dc current flow.
Vout = A B C = A + B + C
A B C Vout
T8
Circuit Schematic:
T1T4 form a parallel combination of seriesconnected NFETs; T5-T8 are a series combination of parallel-connected PFETs. T2, T4, T7 & T8 operate as grounded-source devices; T1, T3, T5 & T6 all have their drains tied together as Vout. Note that the P device combination is arranged complementary to the N device combination!
T7
T5
T6 Vout
A C B D
T1
T2
T3 T4
Operation:
If either A and B or C and D are high, NFET devices T1 and T2 or T3 and T4 are ON and pull Vout down to ground potential (0 volts). No dc current flows. If either A and C, or A and D, or B and C, or B and D are low, PFET devices T5 and T7, or T5 and T8, or T6 and T7, or T6 and T8 will be ON and pull Vout high to Vdd. No dc current flows.
Vout = (A B) + (C D)
A B
C D Vout
Design the P-FET logic combination to pull output high to VDD, i.e. to cover all min-terms in truth table with 1s in the output column.
P devices are ON when the truth table inputs corresponding to their respective gates are 0s; conversely, P devices are OFF if the voltages on their respective gates are at the 1 level.
Start with N pull down logic and P pull up logic which are complementary to each other. Then, look for ways to simplify the logic combinations by removing devices having redundant paths.
R. W. Knepper SC571, page 1-10
A B Z
Circuit Schematic:
4 NFETs (T1-T4) and 4 PFETs (T5-T8) are constructed as four parallel sections of two series devices each. Each series connection implements a min-term in the truth table two for Z=1 and two for Z=0. Could implement either tree first and then apply complement procedure, or use DeMorgans theorem to implement each min-term of truth table directly.
A B
T5 T7 T6 T8
A B
T1 T3 T2 T4
Operation:
Output is pulled high to VDD by either A=1 and B=0 (turning on T5 and T6), or by A=0 and B=1 (turning on T7 and T8).
Implements the 1 min-terms
Z = (A B) + (A B) = (A B) (A B)
Output is pulled low to ground by either A=1 and B=1 (turning on T1 and T2), or by A=0 and B=0 (turning on T3 and T4).
Implements the 0 min-terms
R. W. Knepper
= (A + B) (A + B) = (A B) + (A B)
(2-c) Z = A B + A B (XNOR)
(2-d) Z = A B C + A B C + A B C + A B C which is the sum function in the binary adder.
R. W. Knepper SC571, page 1-12
Multiplexers can be implemented with standard CMOS logic gates or with CMOS transmission gates or with a combination of both.!
With CMOS gates, a 2-to-1 multiplexer requires 3 gates (2 ANDs & 1 OR) having 12 Txs (plus inverter for select) With Xmission gates, a 2-to-1 multiplexer requires only 4 Txs (plus inverter for the select)
4-to-1 MUX
B0 Vdd T5 T3 X0 T1 T6 T4 X1 T2 B1
Circuit Schematic:
4 N-FETs and 2 P-FETs: T1 & T2 called active devices; T3 & T4 calld the I/O devices; T5 & T6 sometimes called loads. The cell is comprised of two cross-coupled inverters (positive feedback). 2 vertical lines (bit lines B0 & B1) are used for sensing state of cell and writing data in the cell 1 horizontal line (word line WL) is used to select a row of cells for writing or reading and to prevent the unselected rows of cells from being disturbed.
WL
Circuit Operation:
The cell has two stable states: 0 and 1
0 State = Node X0 high and Node X1 low; T2 & T5 are ON, T1 & T6 are OFF. 1 State = Node X1 high and Node X0 low; T1 & T6 are ON; T2 & T5 are OFF. No dc current flows in either state.
Read: raise WL to Vdd; pull one bit line high & pull the other bit line low Write: raise WL to Vdd; precharge bit lines to Vdd
Data In Bit Addr Word Addr Bit Decode (Column Decode) and Write Drivers
READ Operation:
Word Decode circuitry selects one of n word lines and drives high to Vdd (say WL2); other word lines held at gnd. Bit Lines all precharged to half Vdd Selected cells I/O devices turned ON and apply a DV to bit line pair Sense amp triggers on bit line DV and stores read data 0 or 1
SRAM Cell 11
SRAM Cell 12
SRAM Cell 13
SRAM Cell 21
SRAM Cell 22
SRAM Cell 23
WRITE Operation:
Selected WL is driven high to Vdd by word decode circuitry turning ON I/O devices in selected cells Selected bit column has one BL pulled high to Vdd and the other pulled low to gnd, thus writing the selected cell. Unselected bit columns merely perform a READ operation.
SRAM Cell 31
SRAM Cell 32
SRAM Cell 33
-QM
C
D Latch Q
C
Circuit Schematic:
CLK
Comprised of two D latches tied in series with input D, output Q, and CLK control line Each D latch is simply constructed out of two inverters cross coupled with a X-gate in the feedback loop and having a second X-gate in series with the input Each X-gate switch C is closed if its control input is high (Vdd) and open if its control is low Single clock fed directly (true) to 2nd latch (slave) and inverted to 1st latch (master).
Structural Domain: specifies how the entities are connected & organized
Ex: PC Processor Gates & Registers Transistors
R. W. Knepper
SC571, page 1-17
R. W. Knepper
SC571, page 1-18
R. W. Knepper
SC571, page 1-19
R. W. Knepper
SC571, page 1-20