Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Logic gates are implemented via transistors. One popular technology for implementing transistors is Complementary Metal Oxide Semiconductor (CMOS) technology. Transistors effectively implement switches. There are two types of Metal Oxide Semiconductor Field Effect Transistors (MOSFETs), namely the n-channel (NMOS) and pchannel (PMOS) transistor. CMOS uses both NMOS and CMOS transistors to implement logic gates in a complementary way.
Page 1
Page 2
NMOS transistor
Simplified NMOS transistor has 3 terminals: 1) the Gate (G); 2) the Source (S) and 3) the Drain (D). The source is at a lower voltage; The drain is at a higher voltage. When a high voltage is applied to G (w.r.t. to S) and VGS is above some threshold voltage VT the switch closes and D is connected to S (current flows from D to S). This pulls down the voltage at D to the voltage at S.
When the voltage between G and S is less than some threshold voltage VT the switch opens and D is disconnected from S (no current flows from D to S).
Page 3
PMOS transistor
Simplified PMOS transistor has 3 terminals: 1) the Gate (G); 2) the Source (S) and 3) the Drain (D). The source is at a higher voltage; The drain is at a lower voltage. When a low voltage is applied to G (w.r.t. to S) and VSG is above some threshold voltage VT the switch closes and S is connected to D (current flows from S to D). This pulls up the voltage at D to the voltage at S.
When the voltage between S and G is less than some threshold voltage VT the switch opens and S is disconnected from D (no current flows from S to D).
Page 4
CMOS structure
CMOS combines NMOS and PMOS transistors in a structure which consists of a Pull-Up Network (PUN) and a Pull-Down Network (PDN) to implement logic functions. PUN and PDN are duals of each other. A current path (connection) from VDD to VF means VF is high (f is logic 1) A current path (connection) from VF to GND means VF is low (f is logic 0). AND corresponds to transistors in series OR corresponds to transistors in parallel
!f
Page 5
CMOS inverter
When VX is high (logic 1): 1) NMOS is closed; 2) PMOS is open;3) current flows from VF to GND VF is GND (logic 0). When VX is low (logic 0): 1) NMOS is open; 2) PMOS is closed;3) current flows from VDD to VF VF is VDD (logic 1).
Page 6
CMOS NAND
!x + !y
4 transistors !(xy)
Page 7
CMOS NOR
!x!y
!(x+y) 4 transistors
Page 8
CMOS AND
Uses a CMOS NAND followed by a CMOS inverter
6 transistors
Page 9
Whats this?
Page 10
Transmission gates
When S is high (!S is low), both NMOS and PMOS are closed f = x. When S is low (!S is high), both NMOS and PMOS are open f is disconnected from x (high impedence).
Page 11
8 transistors
Page 12