<<

Digital Circuits

Lesson #7 Logic Gate Design Specifications Section 6.2

BME 373 II – 53 J.Schesser Electrical Sppfecification f or Log ic Devices (Logic Gates) • Logic (Voltage) Levels • Logic Polarity • Logic Detection • Noise Margins • Logic (Current) Levels • Design Loading • Power Considerations – Static vs. Dynamic • Propagation Characteristics – Rise and Fall Times – Delay • Glitch es

BME 373 Electronics II – 54 J.Schesser LiLlLogic Levels and dPlit Polarity

• Logic Ranges – For a given , there is a range of output voltage which represents a logic 1 and another range which represents a logic 0 – Example: TTL • Logic 1 can be between 3.0 V and 5.0 V ( Open) • Logic 0 can be between 0.0 V and 0.5 V (Switch Closed) • Logic 1: Output High • Logic 0: Output Low

VSS VSS LOAD IOH VOH IIL VOL LOAD

I IH BME 373 Electronics II – 55 J.Schesser LiLlLogic Levels and dPlit Polarity

• PlPolarity it of fthL the Logi ic – When logic 1 is associated with a higher amplitud e and l ogi c 0 i s associ at ed with a l ower amplitude, positive logic. – When logic 1 is associated with a low er amplitude and logic 0 is associated with a higher amplitude , negative logic .

BME 373 Electronics II – 56 J.Schesser Device Detection and Noise Margins • Transfer characteristics of gates –Example: An

vout Idldeal

Vlogic 1

Typcial

vin

Vli1logic 1/2 Vli1logic 1

BME 373 Electronics II – 57 J.Schesser Device Detection and Noise Margins

BME 373 Electronics II – 58 J.Schesser Device Detection and Noise Margins

BME 373 Electronics II – 59 J.Schesser Device Detection and Noise Margins V =5V • Noise Margins SS – To reduce the negative affects of noise which Accepted logic 1 may cause the ci rcuit t o f al sel y report th e l ogi c as a logic otptoutput level, the voltage levels of a logic 1 and logic 0 1 by range should be as far apart as possible input – There gates are specified in terms of the from the VOH=3V following parameters next • V is the highest input to be accepted as a logic 0 NMH=1V IL stage • VIH is the lowest input to be accepted as a logic 1 V =2V • VOL is the highest output produced for a logic 0 IH • VOH is the lowest output produced for a logic 1 Accepted – To assure that the downstream gates interrupt as a logic V =.8V the data correctly, we define: IL 0 by NML=.3V •a li1ilogic 1 noise margi n: NMH= VOH - VIH input VOL=.5V • a logic 0 noise margin: NML= V1L -VOL from the next logic 0 stage output range BME 373 Electronics II – 60 J.Schesser Device Detection and Noise Margins • Noise Free Operation

VSS=5V logic 1 Accepted output as a logic range 1 by input VOH=3V NMH=1V

VIH=2V

V =8V=.8V Accepted IL NML=.3V as a logic VOL=.5V logic 0 0 by output input range

BME 373 Electronics II – 61 J.Schesser Device Detection and Noise Margins • Noisy Error Free Operation

VSS=5V logic 1 Accepted output as a logic range 1 by input VOH=3V NMH=1V

VIH=2V

V =8V=.8V Accepted IL NML=.3V as a logic VOL=.5V logic 0 0 by output input range

BME 373 Electronics II – 62 J.Schesser Device Detection and Noise Margins • Noisy Errored Operation

VSS=5V logic 1 Accepted output ? as a logic range 1 by input VOH=3V NMH=1V

VIH=2V

V =8V=.8V Accepted IL NML=.3V as a logic V =.5V OL logic 0 ?? 0 by output input range

Zero or One? BME 373 Electronics II – 63 J.Schesser Device Current Levels and Desigggn Loading • Input Currents

– The maximum input current to support a logic 0 (1) is IIL (IIH) • Output Currents – The output current supplied by the device (sourced) when the output is high is denoted by IOH. • If more current is required then the output voltage may fall below VOH due to a larger drop across the output resistance of the device. – The output current supported by the device (sinked) when the output is low is denoted by IOL • If more current is required then the output voltage may rise above VOL as the operating point moves up the characteristic curves to support the addition current • Sourcing: Output High • Sinking: Output Low

V VSS SS V = V − I R OH SS OH D LOAD VOL = I OL ZOUT IOH VOH IIL VOL LOAD IOL I IH BME 373 Electronics II – 64 J.Schesser Fan Out

BME 373 Electronics II – 65 J.Schesser Device Current Levels and Desigggn Loading •Fan Out – Since a device may drive more than one gate, the maximum number of gates which can be driven (fan out) needs to be established and from the current perspective:

• For a Logic 0 (Low), the fan out should be less than | IOL/I/ IIL| • For a Logic 1 (High), the fan out should be less than |IOH/ IIH| • Maximum fan out is the smaller of these two. – In addition, the input of a gate presents a capacitive load to the driving gate. Since we will want these circuits to switch fast then limiting the fan out is required (the lhlarger the capaci iildhlhihi)tive load the slower the switching).

• Sourcing: Output High • Sinking: Output Low

V VSS SS N devices LOAD N devices IOH V =IOH / IIH OH =I / I IIL OL IL VOL LOAD IOL I IH BME 373 Electronics II – 66 J.Schesser Device Power Considerations

VSS • Static or Quiescent Power VSS – This is power consumed after the device has reached a logic 0 or logic 1. – In general, when a device is in a high , the device is not A V conducting (i.e., open) and the output is equal to the V OH A OH V (i.e., the supply voltage). In this case, no power is A A OL consumed. – However, when a device is in a low state, the device is condti(ilducting (i.e., closed) d)dthtti and the output is equal ltth to the VOL. In this case, there is (static) power being consumed. – Therefore, when designed ICs we need to understand the VSS requirements for the power supply and temperature characteristics of the devices. VSS • Dynamic Power Dissipation – Since the fan out load on a gate has a significant capacitive A component, a non-zero switching time will be experienced. A C During this period the device will dissipated power. – The power dissipated for a device being switch at a frequency f is given below and is highly dependent on f.

Q = CVSS is the charge on the capacitance when high is reached 2 E = QVSS = CVSS is the energy needed to achieve the high state as well as released well switching to the low state 2 P = fCVSS is the power dissipated during the switching periods

BME 373 Electronics II – 67 J.Schesser PtiDlPropagation Delay tr = vi t tf = fall time tr f 100% V t = OH 90% PHL propagation

(VOH + VOL)/2 50% delay from High to Low 10% t = VOL 0% PLH propagation v o tPHL delay from tPLH Low to High VOH t + t t = PHL PLH ≥ .1nsec tPD = PD 2 average (V + V )/2 OH OL propagation delay

VOL

BME 373 Electronics II – 68 J.Schesser SdSpeed-Power P rod uct and Glit ch es

• Since we would like to minimize both power and propagation delay, a figure of merit known as the speed- power product which equals product of the power dissipppgppgyation per gate and propagation delay. – Depends on the fan out, capacitive loading and frequency of operation. • Due to non-zero pppgropagation dela y, unusual non-wanted effects (glitches) can occur. Ideal Glitch A A B C B B A C C

BME 373 Electronics II – 69 J.Schesser HkHomework

• Elect ri cal S pecs f or L ogi ic G at es – Problems: 6.12-20

BME 373 Electronics II – 70 J.Schesser