VIETNAM NATIONAL UNIVERSITY HANOI (VNU) VNU INFORMATION TECHNOLOGY INSTITUTE (VNU-ITI) Digital Design Common Logic Families Xuan-Tu Tran, PhD VNU Laboratory for Smart Integrated Systems (SISLAB) Email: tutx@vnu.edu.vn www.uet.vnu.edu.vn/~tutx Outline ❑ Common features of logic families ❑ Resistor-Transistor-Logic (RTL) family ❑ Diode-Transistor-Logic (DTL) family ❑ Transistor-Transistor-Logic (TTL) family ❑ MOSFET transistors ❑ CMOS logic family 3/8/2023 Xuan-Tu Tran 2 1 Common features of logic families ❑Having two voltage levels: VH and VL (logic 0 & 1, or L & H) ❑Being supplied by a reference voltage ❑Basic parameters: – Output impedance (Trở kháng ra): varies depending on the status of the output (H or L). – Fan out (Hệ số mắc tải): the capability of the output in driving the inputs of the followed circuits (the number of inputs that it can drive). – Fan in (Hệ số hợp lối vào): the capability of the input in merging the output of the preceded circuits. – Power supply: type of circuits; use filter capacitors (0,1µF) to avoid suddenly voltage changing. 3/8/2023 Xuan-Tu Tran 3 Common features of logic families – Propagation delay per gate (Thời gian trễ lan truyền): X X Y Y Td1 Td = 3/8/2023 Td2 Td 1 + Td 2 2 Xuan-Tu Tran 4 2 Common features of logic families – Power dissipated per gate (Công suất tiêu thụ đối với một gate) ▪ Depending on the number AND/OR the value of resistors in circuits, working status of transistors (saturated status). ▪ For example, TTL 74XX: 10mW/gate; TTL 74LXX: 1mW/gate; TTL 74HXX: 22mW/gate. ▪ p-MOS and n-MOS dissipate fewer than other logic families. – Noise immunity level (Mức độ chống tạp âm): ▪ highest amplitude of noise can be entered to the circuit without any change at the output of the circuit. – Maximum clock rate (Tần số xung nhịp cực đại) ▪ In invert proportion to propagation delay (of the gated used in constructing the circuit). 3/8/2023 Xuan-Tu Tran 5 RTL: Resistor-Transistor-Logic ❑ Resistors and transistors are used in constructing logic gates ❑ Power supply: VCC = +3.6 Volt ❑ Logic voltage levels: – L or logic ‘0’: 0 Volt – H or logic ‘1’: > 1.5 volt 3/8/2023 Xuan-Tu Tran 6 3 RTL: Resistor-Transistor-Logic ❑ NOT gate VCC = +3.6 V y=x 640 Ω R2 y VC = VCC − I C R2 x 450 Ω R1 When x = L ='0': I B = 0 → I C = 0 y = VC = VCC = H ='1' When x = H ='1': I B → I C y = VC = VCC − I C R2 = L ='0' 3/8/2023 Xuan-Tu Tran 7 RTL: Resistor-Transistor-Logic VCC = +3.6 V ❑ NOR gate 640 Ω y = x1 + x2 X1 VC = VCC − I C R2 X2 R1 T1 R2 T2 Y 450 Ω R1 When x1 = x2 = L : I B = 0 (T1 & T2 OFF) → I C = 0 y = VC = VCC = H When x1 = H or x2 = H or x1 = x2 = H : I B → I C y = VC = VCC − I C R2 = L 3/8/2023 Xuan-Tu Tran 8 4 RTL: Resistor-Transistor-Logic ❑ AND gate y = x1 x2 VCC = +3.6 V R2 R2 R2 = 640 Ω y x1 R1 y1 T1 y2 T3 3/8/2023 T4 T2 R1 x2 450 Ω Xuan-Tu Tran 9 RTL: Resistor-Transistor-Logic ❑ AND gate X1 X2 T1 Y1 T3,4 T2 Y Y2 y = x1 + x2 = x1 x2 3/8/2023 Xuan-Tu Tran 10 5 DTL: Diode-Transistor-Logic ❑ NOT gate R2 y=x R1 x VCC = +5 V R4 T1 y Open-input → VB1 = H → T1 & T2 ON ➔Y=L T2 R3 x = H (> 2.2 V) → D1 OFF → VB1 = H → T1 & T2 ON, therefore y = L x = L (= 0 V) → D1 ON → VB1 = L → T1 & T2 OFF, therefore y = H R1 = 2 kΩ R2 = 1.75 kΩ R3 = 1 kΩ 3/8/2023 R4 = 6 kΩ Xuan-Tu Tran 11 DTL: Diode-Transistor-Logic ❑ NAND gate R2 y = x1 x2 R1 x1 VCC = +5 V R4 T1 y x2 T2 2 parallel diodes used at the inputs → n-input NAND uses N parallel diodes at the inputs R3 Operating frequency (F) < 1 MHz R1 = 2 kΩ R2 = 1.75 kΩ Discontinue ! R3 = 1 kΩ 3/8/2023 Xuan-Tu Tran R4 = 6 kΩ 12 6 TTL: Transistor-Transistor-Logic ❑ Power supply: VCC = 5 V ❑ Logic voltage levels: – V out H 2.4 Volt – V out L = 0.2 V to 0.4 V – V in L < 0.8 V – V in H 2 V ❑ Notation – SN 7400 (SN: Manufacturer: Texas Instrument; 74: 0°C to 70°C; 00: 2-input NAND gates; Td = 10 ns, f = 20 MHz) – SN 5400 (54: -55°C to 125°C); SN 74L00 (L: Low power); SN 74H00 (H: High speed, Td = 6 ns, f = 50 MHz); SN 74LS00 (LS: low power, using Shottky diodes and transistors) 3/8/2023 Xuan-Tu Tran 13 TTL: Transistor-Transistor-Logic ❑ NOT gate VCC = +5 V x = H (or open) → VB1, VB2 = H (T2 in saturation) → VC2 low (T3 OFF), VB4 = VE2 = IE2 . R3 = H (T4 ON) →y=L R1 R2 T3 T1 x R4 T2 x = L → VB2 = L (T2 OFF) → VB3 = VC2 = H (T3 ON), VB4 = VE2 = L (T4 OFF) → y = H y T4 R3 54/7404 R1 = 4 kΩ R2 = 1.6 kΩ R3 = 1 kΩ 3/8/2023 R4 = 130 Ω Xuan-Tu Tran 14 7 TTL: Transistor-Transistor-Logic ❑ NAND gate VCC = +5 V R1 How does it work ? R2 T3 T1 x1 R4 T2 x2 y T4 R3 54/7400 R1 = 4 kΩ R2 = 1.6 kΩ R3 = 1 kΩ R4 = 130 Ω 3/8/2023 Xuan-Tu Tran 15 TTL: Transistor-Transistor-Logic ❑ NOR gate VCC = +5 V R1 How does it work ? R1 T1 T3 x1 R2 T4 R4 T5 y x2 T2 R3 R1 = 4 kΩ 54/7402 R2 = 1.6 kΩ R3 = 1 kΩ 3/8/2023 T6 R4 = 130 Ω Xuan-Tu Tran 16 8 FET: Field-Effect Transistor ❑ Basic – Relies on an electric field to control the shape and hence the conductivity of a channel of one type of charge carrier in semiconductor material – Terminals: Gate, Drain, and Source – Different types of FET: • JFET (Junction Field-Effect Transistor) uses a reverse biased p-n junction to separate the gate from the body. • MOSFET (Metal–Oxide–Semiconductor Field-Effect Transistor) utilizes an insulator (typically SiO2) between the gate and the body. • MESFET (Metal–Semiconductor Field-Effect Transistor) substitutes the p-n junction of the JFET with a Schottky barrier; used in GaAs and other III-V semiconductor materials 3/8/2023 Xuan-Tu Tran 17 MOSFET Transistors 2002: L=130nm 2003: L=90nm 2005: L=65nm 2007: L=45nm 2020: L=5nm 2022: L=3nm Key feature: transistor length L 2024: L=2nm ? 3/8/2023 Xuan-Tu Tran 18 9 Transistor Switch Model ❑ We can view MOS transistors as electrically controlled switches – Voltage at gate controls path from source to drain • nFET or n transistor – ON when gate = H • pFET or p transistor – ON when gate = L d nMOS pMOS g=0 g=1 d d OFF g ON s s s d d d g OFF ON s 3/8/2023 Xuan-Tu Tran s s 19 CMOS Logic Design ❑ Complementary transistor networks – Pull-up: p transistors – Pull-down: n transistors VDD VDD Pullup Network (p-transistors) Inputs Out In Out Pulldown Network (n-transistors) Gnd Inverter Gnd 3/8/2023 Xuan-Tu Tran 20 10 CMOS Inverter Operation ❑ Inverter operation 3/8/2023 Xuan-Tu Tran 21 Xuan-Tu Tran 22 CMOS NAND gate ❑ NAND gate 3/8/2023 11 CMOS NOR gate ❑ NOR gate 3/8/2023 Xuan-Tu Tran 23 12