1 / 74

Properties of Digital Circuits

Properties of Digital Circuits. Quantized States Voltage Transfer Characteristic (VTC) Voltage Levels Noise Margins Current Levels Fan-In and Fan-out Power Dissipation Propagation Delay Power-Delay Product IC Packaging Technology Trends of MOS Microprocessors and Memories.

lucky
Download Presentation

Properties of Digital Circuits

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Properties of Digital Circuits • Quantized States • Voltage Transfer Characteristic (VTC) • Voltage Levels • Noise Margins • Current Levels • Fan-In and Fan-out • Power Dissipation • Propagation Delay • Power-Delay Product • IC Packaging • Technology Trends of MOS Microprocessors and Memories ECE 3450 M. A. Jupina, VU, 2009

  2. Some Key Lecture Objectives • Before performing the Properties of Digital Circuits practicum, we need to look at the key properties of digital circuits used to compare one technology with another. • How voltage levels of a technology not only define the logic states of a technology, but also lead to a definition of noise immunity for a technology. • An understanding of how current levels, “loading,” power dissipation, and speed of operation are all inter-related. Reference: Fundamentals of Digital Logic, Chap 1, Sec 3.8, and App E.4. ECE 3450 M. A. Jupina, VU, 2009

  3. Transistor-Transistor-Logic (TTL) TTL dominated the IC market from the 1960’s to early 1980’s. This picture changed in the 1980s due to two major factors: • Discrete logic gates in static CMOS became competitive in speed at a lower power cost. • The advent of programmable logic components such as PLDs and FPGAs made it possible to program complex random logic functions (equivalent to hundreds of TTL gates) on a single component. This results in a large reduction in board real-estate cost, while adding flexibility. ECE 3450 M. A. Jupina, VU, 2009

  4. CMOS • CMOS stands for Complementary Metal-Oxide Semiconductor. MOS field-effect transistors (n-channel and p-channel) are used to construct logic gates. • FETs are voltage controlled and operate nearly as an ideal switch. • MOSFETs advantages: Lower power consumption than BJTs so billons of devices can be packed onto a single chip (MOSFETs dimensions are in the sub-micron range). ECE 3450 M. A. Jupina, VU, 2009

  5. Quantized States • Binary System possible states: 1 or 0, on or off positive logic: 1= high, 0 = low negative logic: 1= low, 0 = high • Future Systems – multilevel logic Ex: if three different on-off levels, then 23 = 8 logic states ECE 3450 M. A. Jupina, VU, 2009

  6. VTC of an Inverter Vi Vo Voltage Levels (VOH, VOL, VIL,VIH) are defined at dVo/dVi = -1 ECE 3450 M. A. Jupina, VU, 2009

  7. VTC for a CMOS Inverter V out V = V Slope = – 1 OH DD V = 0 V OL ( ) V V V V – V V T IL IH DD T DD V in V DD — 2 ECE 3450 M. A. Jupina, VU, 2009

  8. Table of Voltage Levels for TTL Families ECE 3450 M. A. Jupina, VU, 2009

  9. PSPICE Schematic of LS7404 TTL Inverter ECE 3450 M. A. Jupina, VU, 2009

  10. PSPICE VTC Simulation of the LS7404 ECE 3450 M. A. Jupina, VU, 2009

  11. PSPICE VTC Simulation of the LS7404 VIL = 0.7 V VIH = 1.18 V VOH = 4 V VOL = 0.15 V ECE 3450 M. A. Jupina, VU, 2009

  12. Digital Properties PracticumMeasured VTC of LS7404 ECE 3450 M. A. Jupina, VU, 2009

  13. Voltage Level Definitions • VIH – High Level Input Voltage Vinput≥VIH to be recognized as a “1” • TTL Ex: VIH = 2V, thus at the input a “1” is between 2V and VCC ECE 3450 M. A. Jupina, VU, 2009

  14. Voltage Level Definitions • VOH – High Level Output Voltage • TTL Ex: VOH = 2.4V, thus at the output a “1” is between 2.4V and VCC ECE 3450 M. A. Jupina, VU, 2009

  15. Voltage Level Definitions • VIL – Low Level Input Voltage Vinput≤ VIL to be recognized as a “0” • TTL Ex: VIL = 0.8V, thus at the input a “0” is between 0V and 0.8V ECE 3450 M. A. Jupina, VU, 2009

  16. Voltage Level Definitions • VOL – Low Level Output Voltage • TTL Ex: VOL = 0.4V, thus at the output a “0” is between 0V and 0.4V ECE 3450 M. A. Jupina, VU, 2009

  17. Logic Level Matching Levels at output of one gate must be sufficient to drive next gate. VOH > VIH VOL < VIL ECE 3450 M. A. Jupina, VU, 2009

  18. Voltage Level Definitions • VLS – logic swing at the output VLS = VOH - VOL • Ideally, should be as large as possible. Higher VLS reduces ambiguity in the output logic state and increases noise immunity. • VLS defines the range of output voltages that define the unknown state, “X” state. ECE 3450 M. A. Jupina, VU, 2009

  19. Voltage Level Definitions • VTW – transition width at the input VTW = VIH - VIL • Ideally, should be as small as possible. Lower VTW reduces ambiguity in the input logic state and increases noise immunity. • VTW defines the range of input voltages that define the unknown state, “X” state. ECE 3450 M. A. Jupina, VU, 2009

  20. Voltage Levels Summary “1” “X” “0” “1” “X” “0” ECE 3450 M. A. Jupina, VU, 2009

  21. v(t) i(t) VDD Noise in Digital Circuits • Noise – unwanted variations of voltages and currents at the logic nodes • from two wires placed side by side • capacitive coupling • voltage change on one wire can influence signal on the neighboring wire • cross talk • inductive coupling • current change on one wire can influence signal on the neighboring wire • from noise on the power and ground supply rails • can influence signal levels in the gate ECE 3450 M. A. Jupina, VU, 2009

  22. Noise Margin Definitions • NM’s define the amount of noise immunity in the high or low level logic state. • NMH - High Level Noise Margin NMH = VOH - VIH • NML - Low Level Noise Margin NML = VIL - VOL • Ideally, the NM’s should be as large and as equal as possible. • NM of a technology = min{NMH , NML} • TTL Ex: NMH = 2.4V - 2V = 0.4V NML = 0.8V – 0.4V = 0.4V ECE 3450 M. A. Jupina, VU, 2009

  23. Noise Superimposed on TTL Signals OR ECE 3450 M. A. Jupina, VU, 2009

  24. Noise Margin Question A certain logic family has the following voltage parameters: VIH = 1.18 V, VOH = 4 V, VIL = 0.7 V, VOL = 0.15 V What is the largest positive-going noise spike that can be tolerated? What is the largest negative-going noise spike that can be tolerated? NML = VIL – VOL = 0.55V NMH = VOH – VIH = 2.82V ECE 3450 M. A. Jupina, VU, 2009

  25. PSPICE Noise Simulation Demonstrating the Concept of Noise Margin (LS7404) ECE 3450 M. A. Jupina, VU, 2009

  26. PSPICE Noise SimulationV(IN) = Source + Noise VOH VOL Vpeak-to-peak ECE 3450 M. A. Jupina, VU, 2009

  27. PSPICE Noise SimulationV(OUT) for Vpeak= 0, 0.5, 1, 3.1V Vpeak=0V Vpeak=0.5V Vpeak=1V Vpeak=3.1V ECE 3450 M. A. Jupina, VU, 2009

  28. The Ideal Inverter The ideal gate should have • infinite slope (gain) in the transition region • high and low noise margins equal to half the logic swing • a gate threshold located in the middle of the logic swing • input and output impedances of infinity and zero, respectively • infinite output drive capability (infinite output current or fanout) VOUT Ideal VTC VCC = VSUPPLY VTW=0 (Impossible to be in X state) VOH = VCC NMH = NML = Ri =  Ro = 0 Fanout =  VCC/2 VLS=VCC VOL = 0V VIN VIL=VIH= VCC/2 ECE 3450 M. A. Jupina, VU, 2009

  29. Current Level Conventions Current out of a terminal is given as a negative value in Data Sheets. Current into a terminal is given as positive value in Data Sheets. ECE 3450 M. A. Jupina, VU, 2009

  30. Table of Current Levels for TTL Families ECE 3450 M. A. Jupina, VU, 2009

  31. Current Sourcing Versus Current Sinking ECE 3450 M. A. Jupina, VU, 2009

  32. Current Level Definitions “0” • IOL – Low Level Output Current Maximum current that an output terminal of a gate can sink when the output is “0”. If |IOUT| > |IOL|, then eventually VOUT > VOL • TTL Ex: IOL = +16mA, VOUT≤ 0.4V IOUT ECE 3450 M. A. Jupina, VU, 2009

  33. Current Level Definitions “0” • IIL – Low Level Input Current Maximum current that an input terminal of a gate can source when the input is “0”. • TTL Ex: IIL = -1.6mA, VIN≤ 0.8V IIN ECE 3450 M. A. Jupina, VU, 2009

  34. Current Level Definitions “1” • IOH – High Level Output Current Maximum current that an output terminal of a gate can source when the output is “1”. If |IOUT| > |IOH|, then eventually VOUT < VOH • TTL Ex: IOH = -400mA, VOUT ≥ 2.4V IOUT ECE 3450 M. A. Jupina, VU, 2009

  35. Current Level Definitions “1” • IIH – High Level Input Current Maximum current that an input terminal of a gate can sink when the input is “1”. • TTL Ex: IIH = +40mA, VIN≥ 2.0V IIN ECE 3450 M. A. Jupina, VU, 2009

  36. TTL Example – LED Load Which circuit would you use to drive an LED? (Assume that VLED = ~1.7 V.) I + - 1.7 V I - + 1.7 V ECE 3450 M. A. Jupina, VU, 2009

  37. TTL Example – LED Load Analysis of the first circuit: I + - 1.7 V For this circuit, Vout≥2.4V and thus I ≥ 2mA > IOH ! (IOH = -0.4mA) This TTL logic device can’t supply this amount of current since the output voltage will decrease as the output current exceeds IOH. Thereby, a “1” state at the output is no longer guaranteed. ECE 3450 M. A. Jupina, VU, 2009

  38. TTL Example – LED Load Analysis of the second circuit: I - + 1.7 V If Vout = 0.4V, then I = 9 mA < IOL. ( IOL = 16 mA ) If Vout = 0V, then I = 10 mA < IOL. The necessary output current can be supplied. For TTL, the magnitude of IOL > the magnitude of IOH ECE 3450 M. A. Jupina, VU, 2009

  39. Fan-out – number of load gates connected to the output of the driving gate • gates with large fan-out are slower N • Fan-in – the number of inputs to the gate • gates with large fan-in are bigger and slower M Fan-Out and Fan-In ECE 3450 M. A. Jupina, VU, 2009

  40. Static or DC Fan-Out • Fan-Out (N) is defined as the number of loads (gate inputs) that can be driven by a single gate output at DC or low frequencies. • Low Level Fan-out NL = • High Level Fan-out NH = • N = min{NL,NH} • Ex: For most TTL families, N = NL. ECE 3450 M. A. Jupina, VU, 2009

  41. TTL Static Fan-Out Example ECE 3450 M. A. Jupina, VU, 2009

  42. Dynamic Fan-Out Additional current due to the capacitive load. The impedance of a capacitor, (wC)-1, decreases as the frequency increases. Therefore, the load current increases as the frequency increases. This additional load current must be taken into account when determining fan-out at high frequency. Dynamic Fan-Out << Static Fan-Out ECE 3450 M. A. Jupina, VU, 2009

  43. Power Dissipation Definitions Instantaneous power: p(t) = v(t)i(t) = Vsupplyi(t) Peak power: Ppeak = Vsupplyipeak Average power: ECE 3450 M. A. Jupina, VU, 2009

  44. Power Dissipation • Power consumption: how much energy is consumed per operation and how much heat the circuit dissipates • power supply sizing (determined by peak power) Ppeak = Vsupplyipeak • battery lifetime (determined by average power dissipation) p(t) = v(t)i(t) = Vsupplyi(t) Pavg= 1/T  p(t) dt = Vsupply/T  isupply(t) dt • packaging and cooling requirements • Two important components: static (DC) and dynamic CMOS Example: PAV = VDD Ileakage + CL VDD2 f ECE 3450 M. A. Jupina, VU, 2009

  45. TTL Supply Currents • The power supply current is dependent on the output state. • ICCL > ICCH since • IOL > IOH • IIL > IIH Note: these values are for a 7400 NAND Gate chip (total current for 4 NAND gates) ECE 3450 M. A. Jupina, VU, 2009

  46. Power Dissipation of a TTL Gate ECE 3450 M. A. Jupina, VU, 2009

  47. Power Dissipation of a TTL GateExample What is the power dissipation of a single TTL NAND gate (7400)? ECE 3450 M. A. Jupina, VU, 2009

  48. Power Supply Currents Versus Frequency 10 KHz 100 KHz 1 MHz 10 MHz 100 MHz ECE 3450 M. A. Jupina, VU, 2009

  49. Propagation Delay Time Vin Vout A measure of how long it takes for a gate to change state. Ideally, should be as short as possible. tPHL - the time it takes the output to go from a high to a low tPLH - the time it takes the output to go from a low to a high Average Propagation Delay Time tp = ECE 3450 M. A. Jupina, VU, 2009

  50. Modeling Propagation Delay R Model circuit as a first-order RC network vout C vin V 0 Vout (t) = (1 – e–t/)V ,where  = RC Time to reach 50% point is t = ln(2)  = 0.69  t ECE 3450 M. A. Jupina, VU, 2009

More Related