Aspects of Digital Electronics Chemistry 838

Size: px
Start display at page:

Download "Aspects of Digital Electronics Chemistry 838"

Transcription

1 spects of Digital Electronics hemistry 838 Thomas V. tkinson, Ph.D. Senior cademic Specialist Department of hemistry Michigan State University East Lansing, MI Table of ontents TLE OF ONTENTS... TLE OF TLES... 2 TLE OF FIGURES INTRODUTION GENERI GTES ND FLIP FLOPS GTES FLIP FLOPS INRY VRILES GTES LOGI GTES GTE SYMOLS GTING SIGNLS nd Or Nand Nor Time Varying Example PHYSIL IMPLEMENTTIONS nd Or Inverse DIGITL IRUIT NLYSI LTHES SIMPLE LTH... 6 November 4, Version.

2 hemistry 838 Table of Tables spects of Digital Electronics 5.2. GTED LTH GTED LTH WITH PRESET DT LTH SIMPLE FLIP FLOP JK FLIP FLOP OUNTERS INRY Two Stages Three Stages n Stages VRILE MODULUS Modulo Modulo Modulo Modulo Modulo Modulo Modulo Modulo Modulo Timing Example (Modulo 5) INRY OUNTER WITH PRESET VRILE MODULUS OUNTER UP/DOWN OUNTER REVISION HISTORY... 4 Table of Tables TLE - GENERI GTE, SWITH, LTH - DEFINITIONS...5 TLE 2 - TRI-STTE GTE - TLE OF STTES...5 TLE 3 - DEFINING EHVIOR OF FLIP FLOP...6 TLE 4 - FLIP FLOP - SET ND LER...7 TLE 5 - INRY VRILES - TLE OF STTES...8 TLE 6 - LTERNTIVE REPRESENTTION...8 TLE 7 - LTERNTIVE REPRESENTTION TLE 8 - LOGI VRILES ND OPERTORS - TRUTH TLES...8 TLE 9 - XOR ND EULITY GTES...9 TLE - ND IRUIT - TLE OF STTES...4 TLE - OR IRUIT - TLE OF STTES...4 TLE 2 - INVERSE IRUIT - TLE OF STTES...5 TLE 3 - LOGI FMILIES...5 TLE 4-4 NND IRUIT - TLE OF STTES...6 TLE 5 SIMPLE LTH - TLE OF STTES...7 TLE 6 - GTED LTH - TLE OF STTES...8 TLE 7 - GTED LTH WITH PRESET TLE OF STTES...9 TLE 8 - D LTH - TLE OF STTES...2 TLE 9 JK FLIP FLOP TLE OF STTES...2 TLE 2-2 STGE OUNTER TLE OF STTES...23 TLE 2-3 STGE OUNTER TLE OF STTES...24 November 4, Version.

3 hemistry 838 Table of Figures spects of Digital Electronics TLE 22 - POWERS OF TLE 23 - SUMMRY OF VRILE MODULUS ONFIGURTIONS...27 TLE 24 4 STGE OUNTER WITH OVERFLOW - STTE TLE...36 TLE 25 MODULO 5 OUNTER, PRELOD VLUE =...37 TLE 26 MODULO 9 OUNTER, PRELOD VLUE = TLE IT MULTIPLEXER - TLE OF STTES...4 TLE IT MULTIPLEXER - TLE OF STTES (REVITED)...4 Table of Figures FIGURE - GENERI GTE, SWITH, ND LTH...4 FIGURE 2 - TRI-STTE GTE...5 FIGURE 3 - GENERI FLIP FLOP...6 FIGURE 4 - EXMPLE TIME OURSE...6 FIGURE 5 - FLIP FLOP - TIMING DIGRM...7 FIGURE 6 - INVERTER...9 FIGURE 7 - ONE PPROH TO IMPLEMENTING N INVERTER...9 FIGURE 8 - ND GTE...9 FIGURE 9 - OR GTE...9 FIGURE - NND GTE...9 FIGURE - NOR GTE...9 FIGURE 2 - NOR GTE (EUIVLENT)... FIGURE 3 - NND GTE (EUIVLENT)... FIGURE 4 - EXLUSIVE OR GTE - XOR... FIGURE 5 - EULITY GTE... FIGURE 6 - GTED SIGNL EXMPLE...2 FIGURE 7 - INRY VRILES - PHYSIL IMPLEMENTTION...3 FIGURE 8 - ND IRUIT...4 FIGURE 9 - OR IRUIT...4 FIGURE 2 - INVERSE IRUIT...5 FIGURE 2 - NLYSIS OF 4 NND IRUIT...6 FIGURE 22 - SIMPLE LTH...6 FIGURE 23 - GTED LTH...8 FIGURE 24 - GTED LTH - SYMOL...8 FIGURE 25 - GTED LTH WITH PRESET...9 FIGURE 26 - GTED LTH WITH PRESET - SYMOL...9 FIGURE 27 - D LTH...2 FIGURE 28 - SIMPLE FLIP FLOP...2 FIGURE 29 - RE ONDITION...2 FIGURE 3 TWO OUPLED FLIP FLOPS...22 FIGURE 3 - TWO OUPLED FLIP FLOPS - TIMING DIGRM...22 FIGURE 32 - THREE STGE RIPPLE OUNTER...23 FIGURE 33 - VRILE MODULUS OUNTER...27 FIGURE 34 - MODULO 5 OUNTER TIMING...34 FIGURE 35-4 PULSE TRINS...34 FIGURE 36 - INRY OUNTER WITH PRELOD...35 FIGURE 37 MODULO-5 OUNTER TIMING...37 FIGURE 38 MODULO-9 OUNTER TIMING...39 FIGURE 39 2-IT DIGITL MULTIPLEXER...39 FIGURE 4 - SIMPLE UP/DOWN OUNTER...4 November 4, Version.

4 hemistry 838. Introduction Introduction spects of Digital Electronics Digital electronics is the basis of all modern computing and digital instrumentation including the digital watches that many people wear. This document provides an introduction to the subject and is the transcription of my lecture notes as they have evolved over the past three plus decades. 2. Generic Gates and Flip Flops 2.. Gates Figure and Table define three generic devices, which may be either analog or digital devices. The devices are three port devices with two inputs, e.g. e in and a control signal e G, e S, or e L, and one output, e out. The devices have two states. The control signal determines in which of the two states the device is at a particular time. GateSwitchLatch_.cdr 7-Oct-24 e in Gate e out e in Switch e out e in Latch e out e G e S e L Switch ontrol e S Figure - Generic Gate, Switch, and Latch The gate nomenclature comes from the barnyard gate, i.e. when the gate is open, the animals can go through the gate; when the gate is closed then animals can not go through the gate. The latch is basically a camera, i.e. it captures a snapshot of the value of e in at the time of the transition of e L and holds it for later inspection. November 4, Version.

5 hemistry 838 Generic Gates and Flip Flops Table - Generic Gate, Switch, Latch - Definitions spects of Digital Electronics Device State ontrol Signal ehavior Gate Open e G = Open e out = e in losed e G = losed e out = constant ( also may be disconnected) Switch losed e S = losed e out = e in Open e S = Open e out = constant Latch Follow e L = Follow e out = e in Latched e L = Latch e out = e in (t = Latch Follow ) Figure 2 illustrates a derivative combination, the tri-state gate which has the characteristics shown in Table 2. This device derives its name from the fact that there are essentially three states: high, low, and disconnected. Such devices have great utility when constructing a bus, i.e. a party line or shared communication facility. The digital bus is discussed further in spects of omputer rchitecture. TriStateGate_.cdr -Oct-24 e in Gate Switch e out e G e S Figure 2 - Tri-State Gate Table 2 - Tri-State Gate - Table of States Switch ontrol Gate ontrol ehavior e S = losed e G = Open e out = e in e S = losed e G = losed e out = constant e S = Open e G = Open Device is disconnected from the following circuitry. e S = Open e G = losed Device is disconnected from the following circuitry. These generic concepts have widespread application in both digital and analog electronics. The remainder of this document will explore how these devices are implemented and applied in the digital domain. November 4, Version.

6 hemistry 838 Generic Gates and Flip Flops spects of Digital Electronics 2.2. Flip Flops Figure 3 is the symbol used for the generic flip flop. The behavior of the device is shown in Table 3 and Figure 4 FlipFlops_.cdr 5-Oct-24 FlipFlop_2.cdr 5-Oct-24 Set lock lock lear Figure 3 - Generic Flip Flop t t t 2 t 3 t 4 t 5 t 6 Time Figure 4 - Example Time ourse Table 3 - Defining ehavior of Flip Flop Time ctually, the transitions occur on a rising edge ( ) or a falling edge ( ) of the lock signal depending on the implementation of the device. The roles of the Set and lear inputs are described in Table 4. Notice that the toggle behavior is only seen when neither Set nor lear is asserted. The term asserted was chosen because some actual devices have these two input signals being asserted on a Hi, while other devices assert on a Lo. November 4, Version.

7 hemistry 838 inary Variables Table 4 - Flip Flop - Set and lear spects of Digital Electronics ction Results of ction ction ssert Set Flip Flop is set ssert lear Flip Flop is cleared ssert neither Set or lear Flip Flop is allowed to toggle ssert both Set or lear?? Undefined, not allowed If lock is a periodic signal, the behavior shown in Figure 5 occurs. Notice that p = 2p or flock f =. Thus, the flip flop is also called a divide by 2 circuit. Don t forget that this holds 2 only for periodic signals. FlipFlop_4.cdr 5-Oct-24 p lock lock lock p p Figure 5 - Flip Flop - Timing Diagram 3. inary Variables Logic is a traditional subject found in philosophy and mathematics that deals with the manipulation of entities that can exist in only two forms or states. In traditional logic, the two forms are named true and false. ombinations of these entities can be created using the operations of logic. The combinations are in themselves members of the set of logical entities. nother naming convention uses and. With the advent of physical implementations of this subject during the 94 s and 95 s, an additional naming conventions of High and Low came into use to reflect the voltage levels used to represent the logical entities. The additional naming conventions Hi and Lo, and Open and losed are also used. The mathematics of entities that exist in only two states and the attendant operations is called oolean lgebra. Typically, the two state entities are called variables and are identified with names or strings of characters such as,,, D,,, lock, pple, lear, Set, Orange, xxyy, etc. Table 5 November 4, Version.

8 hemistry 838 Gates spects of Digital Electronics shows the conventions used in this document. In this example, the two possible values of the variable, are labeled and. Table 6 and Table 7 illustrate two analogous representations. The concept of inverse is also included in Table 5 and Table 6 and Table 7. The inverse of a variable is defined as a new binary variable, identified with the symbol for the original variable, that is always in the opposite state. ny variable with the bar over the name is the inverse of the original variable. The bar is a unary operator called inverse, bar, or not. Table 5 - inary Variables - Table of States Table 6 - lternative Representation Table 7 - lternative Representation 2 lo hi F T hi lo T F 4. Gates 4.. Logic Gates The discussion of gates in digital electronics begins with a discussion of the operators of traditional logic. Table 8 defines two of the basic operators, and and or, of binary logic. The third basic operator is the not or inverse operator. fourth operator, xor, will be introduced later. The behavior of these operators is based in the following four definitions. The inverse of a logic variable is a logic variable that is always in the opposite state. The and of any number of logic variables is a logic variable that is true only when all of the variables being combined are true. The or of any number of logic variables is a logic variable that is true when any of the variables being combined are true. The exclusive or ( xor ) of two logic variables is a logic variable that is true when one and only one variable is true. Table 8 - Logic Variables and Operators - Truth Tables.ND. +.OR..ND. +.OR..ND..OR. + November 4, Version.

9 hemistry 838 Gates spects of Digital Electronics Table 9 shows the definition of the exclusive or, i.e. xor, and equality operations. These operators can be derived from the basic three operators, and, or, and not. Table 9 - Xor and Equality Gates Notice that the two following are true. + = = + These are De Morgan Theorems and are examples of oolean lgebra. This section contains the total basis of digital electronics and computing. Everything else can be derived from these basic principles Gate Symbols The following symbols are used to represent both the logic operations and the physical devices that implement the logic operations. When the symbols refer to physical devices remember that the real devices require connections to power and common. These connections will be understood and not included in the symbols. Logicc _ Figure 6 - Inverter Logicb _ M = Figure 7 - One pproach to Implementing an Inverter Logica M = Figure 8 - nd Gate Logic3a Figure 9 - Or Gate M = + Logic M = Figure - Nand Gate Logic3 M = + Figure - Nor Gate November 4, Version.

10 hemistry 838 Gates spects of Digital Electronics Logic M = = + Figure 2 - Nor Gate (Equivalent) Logic2.cdr M = + = Figure 3 - Nand Gate (Equivalent) Logic3.cdr Logic9 M = + M Figure 4 - Exclusive Or Gate - Xor Figure 5 - Equality Gate 4.3. Gating Signals These devices are commonly called gates. The motivation for this nomenclature can be seen in the following four examples where each of the basic gates is shown to have the gating behavior, i.e. one signal controls whether the other passes through the device or not nd Logica M =.ND. Let be the gate control: If =, then M = = =. Thus, the gate is OPEN, the signal can pass through. If =, then M = = = Thus, the gate is LOSED, the output is independent of the signal Or November 4, Version.

11 hemistry 838 Gates spects of Digital Electronics Logic3a M = + +.OR. Let be the gate control: If =, then M = + = + = Thus, the gate is LOSED, the output is independent of the signal. If =, then M = + = + =. Thus, the gate is OPEN, the signal can pass through Nand Logic M =.ND. Let be the gate control: If =, then M = = =. Thus, the gate is OPEN, the signal can pass through but the signal is inverted. If =, then M = = = =. Thus, the gate is LOSED, the output is independent of the signal Nor Logic3 M = + +.OR. Let be the gate control: If =, then M = + = + = = Thus, the gate is LOSED, the output is independent of the signal. November 4, Version.

12 hemistry 838 Gates spects of Digital Electronics If =, then M = + = + =. Thus, the gate is OPEN, the signal can pass through but the signal is inverted Time Varying Example Figure 6 contains an example of gating a time varying signal. In this case, the Nor gate is being used to control the flow of the signal. Input is to be considered as the gate control. Notice that signal is not periodic and was chosen to illustrate that arbitrary signals can be manipulated by the gate. The inverse of the signal is passed through the gate during the period of time between t and t 2, i.e. when the gate is open. GatedSignal.cdr 7-Oct Physical Implementations t t 2 Figure 6 - Gated Signal Example Physical devices can be built that implement the logic operations illustrated in Table 8 and Table 9. elow are the symbols for these devices. Each of the logic states is represented by a voltage range as illustrated in Figure 7. The voltages shown here are but an example, each logic family will have a definition of the ranges. Notice that there is a buffer region between the two states. This makes it easier to differentiate between signals that are high and signals that are low. In effect, this decreases the effect that noise has in the circuits. This is often called the source of the digital advantage over analog techniques. November 4, Version.

13 hemistry 838 Gates Digitaldvantage_.cdr 9-Oct-24 spects of Digital Electronics 5 volts 4 volts Hi High Hi Low High uffer Region volts volts Lo High Lo Low Low Figure 7 - inary Variables - Physical Implementation elow are three physical implementations of logic function. The implementations included in a particular family of logic will vary as the designers seek to optimize the figures of merit. November 4, Version.

14 hemistry nd Gates spects of Digital Electronics PhysicalGates_.cdr 7-Oct volts R Table - nd ircuit - Table of States e out S 2 S 2 e out M Switch ontrol S 2 Switch ontrol S losed losed losed Open Open losed Open Open 5 volts 2 Figure 8 - nd ircuit Or +5 volts PhysicalGates_2.cdr 7-Oct-24 Table - Or ircuit - Table of States Switch ontrol 2 S 2 Switch ontrol S R Figure 9 - Or ircuit e out S 2 S 2 e out M Open Open Open losed 5 volts losed Open 5 volts losed losed 5 volts November 4, Version.

15 hemistry Inverse Gates spects of Digital Electronics PhysicalGates_3.cdr 7-Oct volts R e out Table 2 - Inverse ircuit - Table of States S S e out M Open 5 volts Switch ontrol losed Figure 2 - Inverse ircuit Table 3 - Logic Families Name Full Name ontains 94 s- 95 s Vacuum tubes, R, RTL Resistor Transistor Logic Transistors, R, DTL Diode Transistor Logic Diodes, transistors, R, TTL Transistor Transistor Logic Transistors, R, EL Emitter oupled Logic Transistors, R, MOS omplementary Metal Oxide Semiconductor Fet Logic Fet transistors, R, Figures of merit for Logic Families Speed Power onsumption Fan out How many gates the output of a gate can drive Size ost November 4, Version.

16 hemistry Digital ircuit nalysi Latches spects of Digital Electronics 2 Logic 4 M = + 3 Figure 2 - nalysis of 4 Nand ircuit Table 4-4 Nand ircuit - Table of States Inputs Nand Outputs Latches 5.. Simple Latch Latch_.cdr 7-Oct-24 S M R M 2 Figure 22 - Simple Latch November 4, Version.

17 hemistry 838 Latches spects of Digital Electronics The behavior of the device is derived by examining the six cases below. The notation, M ip, is used to indicate the value of M i at the time of the transition from the previous state to the present. S =, R = = S M = M = M is forced to be M 2 2 = M 2 = = R M = M = M M 2 is forced to be. Thus the device is Set. S =, R = = R M = M = M 2 is forced to be M 2 = M 2 = = S M 2 = M 2 = M M is forced to be. Thus the device is leared. S =, R = M P = M 2P = M = R M = M = = M 2 remains = M 2P. 2 P P = M 2 = = S M 2P = M 2P = M = M remains = M P, thus latch is achieved. M P =, M 2P = M = R M = M = = M 2 remains = M 2P. M 2 P P = = S M 2P = M 2P = M 2P = M remains = M P, thus latch is achieved. = S =, R = M 2 = R M = M = = This is an undesirable situation. M 2 2 = S M = M = = Table 5 Simple Latch - Table of States Set Reset S R M M 2 omments M P M Latched P Reset Set Undesirable disadvantage of this simple latch is that the outputs change whenever the inputs change. November 4, Version.

18 hemistry Gated Latch Latches spects of Digital Electronics Figure 23 shows an approach to separate the inputs from the latched device. When Load =, the inputs are uncoupled from the Simple Latch. Latch_2.cdr 7-Oct-24 S M 3 M 3 Latch_3.cdr 7-Oct-24 S Load (lock) lock R R 2 M 2 Figure 23 - Gated Latch 4 M 4 Figure 24 - Gated Latch - Symbol Table 6 - Gated Latch - Table of States Load Set Reset S R M M 2 omment X X M P M P M Latched P M Latch new P value Reset Set Undesirable November 4, Version.

19 hemistry Gated Latch with Preset Latches spects of Digital Electronics Latch_4.cdr 8-Oct-24 Preset Latch_4.cdr 7-Oct-24 S M M 3 Preset S Load (lock) lock R lear R M 2 M 4 lear Figure 25 - Gated Latch with Preset Figure 26 - Gated Latch with Preset - Symbol Table 7 - Gated Latch with Preset Table of States lear PreSet Load Set Reset S R M 3 M 4 omment X X X Undesirable X X X Reset X X X Set X X Latched M P M Latch new P value Reset Set Undesirable November 4, Version.

20 hemistry Data Latch Latches spects of Digital Electronics Latch_6.cdr 7-Oct-24 Data X X _ X M 3 M 3P X M 3 Load _ X 2 X M 2 4 M 3P X M 4 M 3P is the previous value of M 3, i.e. that at the time of the last transition of LOD from to. Figure 27 - D Latch Table 8 - D Latch - Table of States Load Data S R M 3 M 4 omment X M P M Latched P X Reset Set 5.5. Simple Flip Flop The next step is to fashion a flip flop out of these real devices. This is attempted by cross coupling the inputs and outputs as in Figure 28. ssume the flip flop is set initially and lock is not asserted. s soon as the clock is asserted, the inputs cause the outputs to change, which in turn presents new values to the inputs, which cause the outputs to change again. This oscillation keeps up as long as lock is asserted. Furthermore, the state in which the circuit lands when the assertion of lock is removed is indeterminate. Figure 29 illustrates the time course of this undesirable race condition. SimpleFlipFLop_.cdr -Oct-24 S lock R Figure 28 - Simple Flip Flop November 4, Version.

21 hemistry 838 Latches spects of Digital Electronics SimpleFlipFLop_2.cdr -Oct-24 S R Figure 29 - Race ondition 5.6. jk Flip Flop Latch_8.cdr 7-Oct-24 j M S S lock lock M 2 k R R Master Slave lock Latch_8.cdr 7-Oct-24 lock Master latched Slave follows Master follows Slave latched Master latched Slave follows Table 9 jk Flip Flop Table of States j k omments Latched Reset Set t- t- Toggles November 4, Version.

22 hemistry ounters ounters spects of Digital Electronics The next topic is the examination of digital counters, which have utility in the measurement of time and frequency, computing and many modern instrumental techniques. For this topic, the generic flip flops will be used. 6.. inary 6... Two Stages Returning to the discussion of the generic flip flop (see Section 2.2. step is to combine two of the devices as shown in Figure 3. FlipFlops_5.cdr 5-Oct-24 Flip Flops), the next In Set lock Set lock lear lear Figure 3 Two oupled Flip Flops p In FlipFlop_6.cdr 5-Oct-24 In t t t 2 t 3 t 4 t 5 t 6 t 7 t 8 p Figure 3 - Two oupled Flip Flops - Timing Diagram p If In is a periodic signal and both flip flops are initially in the cleared state, then the circuit behaves as shown in Figure 3. Notice that the initial state is seen at t, t 4, and t 8. Further, notice f fin that p = 2 p = 4pIn or f = =. Thus, this combination of the two flip flops is often 2 4 called a divide by 4 circuit. Don t forget that this holds only for periodic signals. November 4, Version.

23 hemistry 838 ounters spects of Digital Electronics n alternative approach to describing this circuit is shown in Table 2 where the state of the device after each pulse on In is listed. Table 2-2 Stage ounter Table of States Values at t i Decimal i Notice that the counter rolls over every 4 counts and returns to the initial state Three Stages Next, three flip flops will be cascaded as shown in Figure 32 FlipFlops_8.cdr 5-Oct-24 Set Set Set In lock lock lock lear lear lear Figure 32 - Three Stage Ripple ounter The behavior of this circuit could be described with timing diagrams as was done for the case of one and two flip flops. However, as the number of stages increase, the approach embodied in Table 2 becomes more economical. November 4, Version.

24 hemistry 838 spects of Digital Electronics ounters f f fin p = 2 p = 4p = 8p f = = = In Thus, or and this combination of the three flip flops is also called a divide by 8 circuit. Don t forget that this holds only for periodic signals. Table 2-3 Stage ounter Table of States Decimal fter Pulse on In Notice that the counter rolls over every 8 counts and returns to the initial state. November 4, Version.

25 hemistry n Stages ounters Table 22 - Powers of 2 spects of Digital Electronics n DE OT HEX ommon Name K K K K K K K K K K M or Meg M or 2Meg M or 4Meg M or 8Meg M or 6Meg M or 32Meg M or 64Meg M or 28Meg M or 256Meg M or 52Meg G or Gig G or 2Gig G or 4Gig If the,, and are considered digits of a binary number, this circuit can be seen to be counting the number of pulses presented at In. This behavior can be generalized. Given n stages of flip flops cascaded as described above, the results is a counter that has 2 n unique states and November 4, Version.

26 hemistry 838 ounters spects of Digital Electronics counts from to 2 n -. The 2 n th count causes the counter to roll over or reset to the initial state, i.e. all zeros. ctually, adding one to the counts causes a carry to be generated, which is disregarded in these devices. Table 22 contains the values of the first 32 powers of 2 expressed in base (decimal or DE), base 8 (octal or Oct), and base 6 (hexadecimal or Hex). The right most column of Table 22 contains the common names often given to the corresponding quantities. This nomenclature is an artifact of the computer industry which early on chose to use the short hand name one K to represent the much longer and more appropriate name One thousand twenty four, etc. real flip flop, as with any real device, takes time to change states, i.e. there is a delay between the time new values occur on the inputs of the device and the outputs change to reflect the new inputs. When devices are cascaded as seen here, the first device takes an amount of time to settle to the new state after the clock pulse and the next stage doesn t even see the effect of the pulse until after the first delay has occurred. The third device has to wait for the second stage to settle, and so on. Thus, the new value ripples through the counter. For a counter with n stages, the time for a new value to settle is on the order of n*t delay where t delay is the time required for one flip flop to settle. This defines the maximum speed at which the counter can properly operate, i.e. the new value settles in before the next clock pulse occurs at the input of the circuit. To count faster, one must use faster flip flops or go to other techniques, e.g. synchronous counters Variable Modulus The approach seen above can be extended to counters of other than modulo 2. These counters can be implemented by resetting the flip flops of the binary counter at the proper point during the accumulation of counts. This section will explore a few of these. The circuit of Figure 33 is completed by connecting various outputs of the flip-flops to the inputs, X, Y, and Z, of the three input Nand gate. pulse train (periodic or not) is connected to the input IN. ll three flip flops are initially cleared. The flip flops are cleared by a low on the lear inputs. The Shot or monostable outputs a pulse of constant width that is determined by R. This is done to insure that LERLL is low long enough to cause all stages to clear. s you will see, only the configurations for modulo 5, 6, 7, and 8 are worthwhile. In fact, the Modulo 8 configuration is exactly the case of Figure 32. Modulo 4 can be accomplished with two flip-flops with out the extra logic. Modulo 3 can be achieved with two flip-flops and a two input Nand Gate. The modulo and configurations have no value. November 4, Version.

27 hemistry 838 ounters spects of Digital Electronics VariableModulusounter.cdr -Oct-24 Set Set Set In lock lock lock lear lear lear LERLL X Y Z Shot Trig R Figure 33 - Variable Modulus ounter Table 23 - Summary of Variable Modulus onfigurations Modulo Z Y X omment 8 none none none Only need the three flip-flops without the extra logic. 7 Valid use of circuit. 6 Valid use of circuit. 5 Valid use of circuit. 4 Why not just use the two flip-flops without the extra logic? 3 Why not just use two flip-flops with a two input Nand? 2 Why not just use a single flip-flop? Why bother? Does nothing. In the tables below, the following convention is used. This state is very short lived. Flip-flops are immediately reset within the delay time that is characteristic of the devices. November 4, Version.

28 hemistry Modulo onnections: to X, to Y, to Z ounters spects of Digital Electronics LERLL = Decimal fter Pulse # Modulo onnections: efore st to X, lear is always asserted, flip-flops will never toggle. to Y, to Z LERLL = Decimal fter Pulse # efore st * clear immediately * 2 clear immediately * 3 clear immediately * 4 clear immediately * 5 clear immediately * 6 clear immediately * 7 clear immediately * 8 clear immediately * Transitory. Disappears immediately. November 4, Version.

29 hemistry Modulo 2 onnections: to X, to Y, to Z ounters spects of Digital Electronics LERLL = Decimal fter Pulse # efore st 2* 2 clear immediately 3 2* 4 clear immediately 5 2* 6 clear immediately 7 2* 8 clear immediately * Transitory. Disappears immediately Modulo 3 onnects: to X, to Y, to Z LERLL = Decimal fter Pulse # efore st 2 2 3* 3 clear immediately * 6 clear immediately * 9 clear immediately * Transitory. Disappears immediately. November 4, Version.

30 hemistry Modulo 4 onnections: to X, to Y, to Z ounters spects of Digital Electronics LERLL = Decimal fter Pulse # Modulo 5 onnections: efore st * 4 clear immediately * 8 clear immediately to X, to Y, * Transitory. Disappears immediately. to Z LERLL = Decimal fter Pulse # efore st * 5 clear immediately * clear immediately * Transitory. Disappears immediately. November 4, Version.

31 hemistry Modulo 6 onnections: to X, to Y, to Z ounters spects of Digital Electronics LERLL = Decimal fter Pulse # efore st * 6 clear immediately * 2 clear immediately * Transitory. Disappears immediately. November 4, Version.

32 hemistry Modulo 7 onnections: to X, to Y, to Z ounters spects of Digital Electronics LERLL = Decimal fter Pulse # efore st * 7 clear immediately * 4 clear immediately * Transitory. Disappears immediately. November 4, Version.

33 hemistry Modulo 8 onnections: None ounters spects of Digital Electronics Decimal fter Pulse # efore st November 4, Version.

34 hemistry Timing Example (Modulo 5) ounters spects of Digital Electronics p In Modulo5Timing.cdr -Oct-24 In t t t 2 t 3 t 4 t 5 t 6 t 7 t 8 t 9 t t t 2 t 3 t 4 t 5 t 6 p Figure 34 - Modulo 5 ounter Timing Figure 34 illustrates the timing for the modulo 5 counter. Notice that p = 5p or and this combination of the three flip flops can be called a divide by 5 circuit. In f = fin 5 ountingedges.cdr -Oct-24 D Figure 35-4 Pulse Trains n important fact to remember is that all of the binary and variable modulo counters are really counting edges. Thus, all 4 pulse trains in Figure 35 would give the same answer, i.e. 8, when November 4, Version.

35 hemistry 838 ounters spects of Digital Electronics input to the counter of Figure 32. The circuits have divide by n property only when the input signal is periodic inary ounter with Preset Up to this point, the assumption has been made that the counters begin zeroed, i.e. all flip flops are in the cleared state. Figure 36 illustrates a 4 stage binary counter where a starting value can be loaded before the counting begins by presenting the value to the Preset i and strobing Load. The counter also has a fifth stage to indicate when an overflow occurs. Table 24 is the table of states for the counter. ounter_presets.cdr 28-Oct-24 D Overflow IN Set lock Set lock Set lock Set lock Set lock Over lear lear lear lear lear Under Load Preset Preset Preset Preset D Figure 36 - inary ounter with Preload November 4, Version.

36 hemistry 838 ounters Table 24 4 Stage ounter with Overflow - State Table spects of Digital Electronics Hex Dec Under D Hex Dec Over D fter Pulse # F 5, efore st E 4 D D 3 3 E 4 4 F 5 5 F Variable Modulus ounter The preload feature provides the ability to implement a counter of variable modulus. Such a counter with n stages plus the overflow stage may have any modulus between 2 and 2 n. The selection of the modulus is made by the choice of the value to be preloaded. If the modulus m is desired, the value to be preloaded will be 2 n m for an n stage counter. There will also have to be logic added to automatically reload the counter with the preload value every time the counter overflows. This logic will not be shown here. Table 25 and Figure 37 show the behavior of a modulo-5 counter with a periodic signal on In. Table 26 and Figure 38 illustrate a modulo-9 counter. November 4, Version.

37 hemistry 838 ounters Table 25 Modulo 5 ounter, Preload Value = spects of Digital Electronics Hex Dec Under D Over Hex Dec D fter Pulse # 4 4 efore st D 3 2 E 4 3 F F Preload immediately D 3 7 E 4 8 F F 4 4 Preload immediately D 3 2 E 4 3 F F 5 Mod5ounterTiming.cdr 28-Oct-24 IN D Over Figure 37 Modulo-5 ounter Timing November 4, Version.

38 hemistry 838 ounters Table 26 Modulo 9 ounter, Preload Value = 7 spects of Digital Electronics Hex Dec Under D Hex Dec Over D fter Pulse # efore st D 3 6 E 4 7 F 5 8 F Preload immediately D 3 5 E 4 6 F 5 7 F Preload immediately D 3 24 E 4 25 F 5 26 F November 4, Version.

39 hemistry 838 Mod5ounterTiming.cdr 28-Oct-24 ounters spects of Digital Electronics IN D Over Figure 38 Modulo-9 ounter Timing 6.5. Up/Down ounter Table 24 is the Table of States for a 4 stage binary counter with an additional stage to indicate when the counter rolls over or overflows. Included are not only the values for the i but also the i. Notice that as the i count up, the i.are counting down. This fact makes provides the basis for implementing a counter that will count either up or down. Figure 4 illustrates one approach to implement the desired counter. The signal Up selects whether i or i, will be presented at the outputs, Out i. The starting value is presented to the Preset i and Load is strobed. The circuit takes advantage of the 2-bit multiplexer that is shown in Figure 39. Table 27 is the table of states for the 2-it Multiplexer. areful inspection of Table 27 indicates that the behavior is completely described by the abbreviated table of states shown in Table 28 ounter_updn_2.cdr 2-Oct-24 Out Up Figure 39 2-it Digital Multiplexer November 4, Version.

40 hemistry 838 ounters spects of Digital Electronics Table it Multiplexer - Table of States 2 3 Out Table it Multiplexer - Table of States (bbreviated) Out ounter_updn.cdr -Oct-24 Out Out Out Out D OverUnder Up Set Set Set Set Set Over IN lock lock lock lock lock lear lear lear lear lear Under Load Preset Preset Preset Preset D D Figure 4 - Simple Up/Down ounter OverFlow November 4, Version.

41 hemistry REVISION HISTORY REVISION HISTORY spects of Digital Electronics Revision History for spects of Digital Electronics Version Date uthors Description. 2-Oct-24 T V tkinson This document is the transcription of my lecture notes as distilled over 3 decades of EM 838. This is the first edition of the material in this form.. 4-Nov-24 T V tkinson dded the variable modulus and up/down counters. November 4, Version.

CS302 - Digital Logic Design Glossary By

CS302 - Digital Logic Design Glossary By CS302 - Digital Logic Design Glossary By ABEL : Advanced Boolean Expression Language; a software compiler language for SPLD programming; a type of hardware description language (HDL) Adder : A digital

More information

Module -18 Flip flops

Module -18 Flip flops 1 Module -18 Flip flops 1. Introduction 2. Comparison of latches and flip flops. 3. Clock the trigger signal 4. Flip flops 4.1. Level triggered flip flops SR, D and JK flip flops 4.2. Edge triggered flip

More information

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

DIGITAL ELECTRONICS: LOGIC AND CLOCKS DIGITL ELECTRONICS: LOGIC ND CLOCKS L 9 INTRO: INTRODUCTION TO DISCRETE DIGITL LOGIC, MEMORY, ND CLOCKS GOLS In this experiment, we will learn about the most basic elements of digital electronics, from

More information

Objective Questions. (a) Light (b) Temperature (c) Sound (d) all of these

Objective Questions. (a) Light (b) Temperature (c) Sound (d) all of these Objective Questions Module 1: Introduction 1. Which of the following is an analog quantity? (a) Light (b) Temperature (c) Sound (d) all of these 2. Which of the following is a digital quantity? (a) Electrical

More information

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as BioE 1310 - Review 5 - Digital 1/16/2017 Instructions: On the Answer Sheet, enter your 2-digit ID number (with a leading 0 if needed) in the boxes of the ID section. Fill in the corresponding numbered

More information

Logic Families. Describes Process used to implement devices Input and output structure of the device. Four general categories.

Logic Families. Describes Process used to implement devices Input and output structure of the device. Four general categories. Logic Families Characterizing Digital ICs Digital ICs characterized several ways Circuit Complexity Gives measure of number of transistors or gates Within single package Four general categories SSI - Small

More information

Spec. Instructor: Center

Spec. Instructor: Center PDHonline Course E379 (5 PDH) Digital Logic Circuits Volume III Spec ial Logic Circuits Instructor: Lee Layton, P.E 2012 PDH Online PDH Center 5272 Meadow Estatess Drive Fairfax, VA 22030-6658 Phone &

More information

Digital Logic Circuits

Digital Logic Circuits Digital Logic Circuits Let s look at the essential features of digital logic circuits, which are at the heart of digital computers. Learning Objectives Understand the concepts of analog and digital signals

More information

COMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC CSCD211- DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF GHANA

COMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC CSCD211- DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF GHANA COMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC LOGIC Logic is a branch of math that tries to look at problems in terms of being either true or false. It will use a set of statements to derive new true

More information

Laboratory Manual CS (P) Digital Systems Lab

Laboratory Manual CS (P) Digital Systems Lab Laboratory Manual CS 09 408 (P) Digital Systems Lab INDEX CYCLE I A. Familiarization of digital ICs and digital IC trainer kit 1 Verification of truth tables B. Study of combinational circuits 2. Verification

More information

EE40 Lecture 35. Prof. Chang-Hasnain. 12/5/07 Reading: Ch 7, Supplementary Reader

EE40 Lecture 35. Prof. Chang-Hasnain. 12/5/07 Reading: Ch 7, Supplementary Reader EE4 Lecture 35 2/5/7 Reading: Ch 7, Supplementary Reader EE4 all 26 Slide Week 5 OUTLINE Need for Input Controlled Pull-Up CMOS Inverter nalysis CMOS Voltage Transfer Characteristic Combinatorial logic

More information

Fan in: The number of inputs of a logic gate can handle.

Fan in: The number of inputs of a logic gate can handle. Subject Code: 17333 Model Answer Page 1/ 29 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model

More information

1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e.

1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e. Name: Multiple Choice 1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e.) 8 2.) The output of an OR gate with

More information

Logic Symbols with Truth Tables INVERTER A B NAND A B C NOR C A B A B C XNOR A B C A B Digital Logic 1

Logic Symbols with Truth Tables INVERTER A B NAND A B C NOR C A B A B C XNOR A B C A B Digital Logic 1 Slide Logic Symbols with Truth Tables UFFER INVERTER ND NND OR NOR XOR XNOR 6.7 Digital Logic Digital logic can be described in terms of standard logic symbols and their corresponding truth tables. The

More information

DIGITAL ELECTRONICS QUESTION BANK

DIGITAL ELECTRONICS QUESTION BANK DIGITAL ELECTRONICS QUESTION BANK Section A: 1. Which of the following are analog quantities, and which are digital? (a) Number of atoms in a simple of material (b) Altitude of an aircraft (c) Pressure

More information

ECE/CoE 0132: FETs and Gates

ECE/CoE 0132: FETs and Gates ECE/CoE 0132: FETs and Gates Kartik Mohanram September 6, 2017 1 Physical properties of gates Over the next 2 lectures, we will discuss some of the physical characteristics of integrated circuits. We will

More information

DIGITAL ELECTRONICS. Methods & diagrams : 1 Graph plotting : - Tables & analysis : - Questions & discussion : 6 Performance : 3

DIGITAL ELECTRONICS. Methods & diagrams : 1 Graph plotting : - Tables & analysis : - Questions & discussion : 6 Performance : 3 DIGITAL ELECTRONICS Marking scheme : Methods & diagrams : 1 Graph plotting : - Tables & analysis : - Questions & discussion : 6 Performance : 3 Aim: This experiment will investigate the function of the

More information

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished Number system: the system used to count discrete units is called number system Decimal system: the number system that contains 10 distinguished symbols that is 0-9 or digits is called decimal system. As

More information

Chapter 1: Digital logic

Chapter 1: Digital logic Chapter 1: Digital logic I. Overview In PHYS 252, you learned the essentials of circuit analysis, including the concepts of impedance, amplification, feedback and frequency analysis. Most of the circuits

More information

Page 1. Last time we looked at: latches. flip-flop

Page 1. Last time we looked at: latches. flip-flop Last time we looked at: latches flip flops We saw that these devices hold a value depending on their inputs. A data input value is loaded into the register on the rise of the edge. Some circuits have additional

More information

Code No: R Set No. 1

Code No: R Set No. 1 Code No: R05310402 Set No. 1 1. (a) What are the parameters that are necessary to define the electrical characteristics of CMOS circuits? Mention the typical values of a CMOS NAND gate. (b) Design a CMOS

More information

11 Counters and Oscillators

11 Counters and Oscillators 11 OUNTERS AND OSILLATORS 11 ounters and Oscillators Though specialized, the counter is one of the most likely digital circuits that you will use. We will see how typical counters work, and also how to

More information

CMOS Digital Integrated Circuits Analysis and Design

CMOS Digital Integrated Circuits Analysis and Design CMOS Digital Integrated Circuits Analysis and Design Chapter 8 Sequential MOS Logic Circuits 1 Introduction Combinational logic circuit Lack the capability of storing any previous events Non-regenerative

More information

Logic diagram: a graphical representation of a circuit

Logic diagram: a graphical representation of a circuit LOGIC AND GATES Introduction to Logic (1) Logic diagram: a graphical representation of a circuit Each type of gate is represented by a specific graphical symbol Truth table: defines the function of a gate

More information

EXPERIMENT #5 COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

EXPERIMENT #5 COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design PH-315 La Rosa EXPERIMENT #5 COMINTIONL and SEUENTIL LOGIC CIRCUITS Hardware implementation and software design I PURPOSE: To familiarize with combinational and sequential logic circuits Combinational

More information

Electronics. Digital Electronics

Electronics. Digital Electronics Electronics Digital Electronics Introduction Unlike a linear, or analogue circuit which contains signals that are constantly changing from one value to another, such as amplitude or frequency, digital

More information

Digital Electronics Course Objectives

Digital Electronics Course Objectives Digital Electronics Course Objectives In this course, we learning is reported using Standards Referenced Reporting (SRR). SRR seeks to provide students with grades that are consistent, are accurate, and

More information

IES Digital Mock Test

IES Digital Mock Test . The circuit given below work as IES Digital Mock Test - 4 Logic A B C x y z (a) Binary to Gray code converter (c) Binary to ECESS- converter (b) Gray code to Binary converter (d) ECESS- To Gray code

More information

First Optional Homework Problem Set for Engineering 1630, Fall 2014

First Optional Homework Problem Set for Engineering 1630, Fall 2014 First Optional Homework Problem Set for Engineering 1630, Fall 014 1. Using a K-map, minimize the expression: OUT CD CD CD CD CD CD How many non-essential primes are there in the K-map? How many included

More information

B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics

B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics Sr. No. Date TITLE To From Marks Sign 1 To verify the application of op-amp as an Inverting Amplifier 2 To

More information

EE 308-Digital Electronics Laboratory EXPERIMENT 8 FLIP FLOPS AND SEQUENTIAL CIRCUITS

EE 308-Digital Electronics Laboratory EXPERIMENT 8 FLIP FLOPS AND SEQUENTIAL CIRCUITS EXPERIMENT 8 FLIP FLOPS ND SEUENTIL IRUITS I. INTRODUTION 1. Objectives The objective of this experiment is to become familiar with the basic operational principles of flip-flops and counters. II. PRELIMINRY

More information

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design PH-315 COMINATIONAL and SEUENTIAL LOGIC CIRCUITS Hardware implementation and software design A La Rosa I PURPOSE: To familiarize with combinational and sequential logic circuits Combinational circuits

More information

3.1 There are three basic logic functions from which all circuits can be designed: NOT (invert), OR, and

3.1 There are three basic logic functions from which all circuits can be designed: NOT (invert), OR, and EE 2449 Experiment 3 Jack Levine and Nancy Warter-Perez, Revised 6/12/17 CALIFORNIA STATE UNIVERSITY LOS ANGELES Department of Electrical and Computer Engineering EE-2449 Digital Logic Lab EXPERIMENT 3

More information

COUNTERS AND REGISTERS

COUNTERS AND REGISTERS H P T E R 7 OUNTERS N REGISTERS OUTLINE Part 7- synchronous (Ripple) ounters 7-2 Propagation elay in Ripple ounters 7-3 Synchronous (Parallel) ounters 7-4 ounters with MO Numbers 6 2 N 7-5 Synchronous

More information

Chapter # 1: Introduction

Chapter # 1: Introduction Chapter # : Randy H. Katz University of California, erkeley May 993 ฉ R.H. Katz Transparency No. - The Elements of Modern Design Representations, Circuit Technologies, Rapid Prototyping ehaviors locks

More information

EE 330 Lecture 5. Basic Logic Circuits Complete Logic Family Other Logic Styles. Improved Device Models. complex logic gates pass transistor logic

EE 330 Lecture 5. Basic Logic Circuits Complete Logic Family Other Logic Styles. Improved Device Models. complex logic gates pass transistor logic EE 330 Lecture 5 asic Logic Circuits Complete Logic Family Other Logic Styles complex logic gates pass transistor logic Improved Device Models Review from Last Time The key patents that revolutionized

More information

Winter 14 EXAMINATION Subject Code: Model Answer P a g e 1/28

Winter 14 EXAMINATION Subject Code: Model Answer P a g e 1/28 Subject Code: 17333 Model Answer P a g e 1/28 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model

More information

Multiple input gates. The AND gate

Multiple input gates. The AND gate Multiple input gates Inverters and buffers exhaust the possibilities for single-input gate circuits. What more can be done with a single logic signal but to buffer it or invert it? To explore more logic

More information

EE100Su08 Lecture #16 (August 1 st 2008)

EE100Su08 Lecture #16 (August 1 st 2008) EESu8 Lecture #6 (ugust st 28) OUTLINE Project next week: Pick up kits in your first lab section, work on the project in your first lab section, at home etc. and wrap up in the second lab section. USE

More information

Digital Fundamentals

Digital Fundamentals Digital Fundamentals Tenth Edition Floyd hapter 5 Floyd, Digital Fundamentals, th ed 28 Pearson Education 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved ombinational Logic ircuits

More information

Chapter # 1: Introduction

Chapter # 1: Introduction Chapter # : Introduction Contemporary Logic Design Randy H. Katz University of California, erkeley May 994 No. - The Process Of Design Design Implementation Debug Design Initial concept: what is the function

More information

Electronic Instrumentation

Electronic Instrumentation 5V 1 1 1 2 9 10 7 CL CLK LD TE PE CO 15 + 6 5 4 3 P4 P3 P2 P1 Q4 Q3 Q2 Q1 11 12 13 14 2-14161 Electronic Instrumentation Experiment 7 Digital Logic Devices and the 555 Timer Part A: Basic Logic Gates Part

More information

PREVIEW COPY. Digital Logic Systems. Table of Contents. Digital Logic Fundamentals...3. Logic Building Blocks Medium- and Large-Scale ICs...

PREVIEW COPY. Digital Logic Systems. Table of Contents. Digital Logic Fundamentals...3. Logic Building Blocks Medium- and Large-Scale ICs... Digital Logic Systems Table of Contents Lesson One Lesson Two Lesson Three Digital Logic Fundamentals...3 Logic uilding locks...9 Medium- and Large-Scale ICs...35 Lesson Four Functional Logic Systems...5

More information

CONTENTS Sl. No. Experiment Page No

CONTENTS Sl. No. Experiment Page No CONTENTS Sl. No. Experiment Page No 1a Given a 4-variable logic expression, simplify it using Entered Variable Map and realize the simplified logic expression using 8:1 multiplexer IC. 2a 3a 4a 5a 6a 1b

More information

Satish Chandra, Assistant Professor, P P N College, Kanpur 1

Satish Chandra, Assistant Professor, P P N College, Kanpur 1 8/7/4 LOGIC GTES CE NPN Transistor Circuit COMINTIONL LOGIC Satish Chandra ssistant Professor Department of Physics P PN College, Kanpur www.satish4.weebly.com circuit with an output signal that is logical

More information

Combinational Logic Circuits. Combinational Logic

Combinational Logic Circuits. Combinational Logic Combinational Logic Circuits The outputs of Combinational Logic Circuits are only determined by the logical function of their current input state, logic 0 or logic 1, at any given instant in time. The

More information

Department of Electronics and Communication Engineering

Department of Electronics and Communication Engineering Department of Electronics and Communication Engineering Sub Code/Name: BEC3L2- DIGITAL ELECTRONICS LAB Name Reg No Branch Year & Semester : : : : LIST OF EXPERIMENTS Sl No Experiments Page No Study of

More information

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02) 2145230 Aircraft Electricity and Electronics Asst. Prof. Thavatchai Tayjasanant, PhD Email: taytaycu@gmail.com aycu@g a co Power System Research Lab 12 th Floor, Building 4 Tel: (02) 218-6527 1 Chapter

More information

Gates and Circuits 1

Gates and Circuits 1 1 Gates and Circuits Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors Combine basic gates into circuits Describe the behavior

More information

Course Outline Cover Page

Course Outline Cover Page College of Micronesia FSM P.O. Box 159 Kolonia, Pohnpei Course Outline Cover Page Digital Electronics I VEE 135 Course Title Department and Number Course Description: This course provides the students

More information

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement

More information

GATE Online Free Material

GATE Online Free Material Subject : Digital ircuits GATE Online Free Material 1. The output, Y, of the circuit shown below is (a) AB (b) AB (c) AB (d) AB 2. The output, Y, of the circuit shown below is (a) 0 (b) 1 (c) B (d) A 3.

More information

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs. 2 Logic Gates A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs. THE INVERTER The inverter (NOT circuit) performs the operation called inversion

More information

ENGR 210 Lab 12: Analog to Digital Conversion

ENGR 210 Lab 12: Analog to Digital Conversion ENGR 210 Lab 12: Analog to Digital Conversion In this lab you will investigate the operation and quantization effects of an A/D and D/A converter. A. BACKGROUND 1. LED Displays We have been using LEDs

More information

EE 330 Lecture 5. Basic Logic Circuits Complete Logic Family Other Logic Styles. complex logic gates

EE 330 Lecture 5. Basic Logic Circuits Complete Logic Family Other Logic Styles. complex logic gates EE 330 Lecture 5 asic Logic Circuits Complete Logic Family Other Logic Styles complex logic gates Review from Last Time The key patents that revolutionized the electronics field: Jack Kilby (34 years old

More information

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER-16 EXAMINATION Model Answer

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER-16 EXAMINATION Model Answer Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate

More information

Design considerations (D)

Design considerations (D) 7/31/2011 15 Design considerations (D) In order to properly design a system, the designer must consider other items than just the logic of the circuit. We will discuss: Power onsumption Propagation delays

More information

Syllabus: Digital Electronics (DE) (Project Lead The Way)

Syllabus: Digital Electronics (DE) (Project Lead The Way) Course Overview: Digital electronics and micro computers. This is a course in applied logic that encompasses the application of electronic circuits and devices. Computer simulation software is used to

More information

EXPERIMENT NO 1 TRUTH TABLE (1)

EXPERIMENT NO 1 TRUTH TABLE (1) EPERIMENT NO AIM: To verify the Demorgan s theorems. APPARATUS REQUIRED: THEORY: Digital logic trainer and Patch cords. The digital signals are discrete in nature and can only assume one of the two values

More information

Lecture 02: Digital Logic Review

Lecture 02: Digital Logic Review CENG 3420 Lecture 02: Digital Logic Review Bei Yu byu@cse.cuhk.edu.hk CENG3420 L02 Digital Logic. 1 Spring 2017 Review: Major Components of a Computer CENG3420 L02 Digital Logic. 2 Spring 2017 Review:

More information

logic system Outputs The addition of feedback means that the state of the circuit may change with time; it is sequential. logic system Outputs

logic system Outputs The addition of feedback means that the state of the circuit may change with time; it is sequential. logic system Outputs Sequential Logic The combinational logic circuits we ve looked at so far, whether they be simple gates or more complex circuits have clearly separated inputs and outputs. A change in the input produces

More information

Outline. EECS Components and Design Techniques for Digital Systems. Lec 12 - Timing. General Model of Synchronous Circuit

Outline. EECS Components and Design Techniques for Digital Systems. Lec 12 - Timing. General Model of Synchronous Circuit Outline EES 5 - omponents and esign Techniques for igital Systems Lec 2 - Timing avid uller Electrical Engineering and omputer Sciences University of alifornia, erkeley Performance Limits of Synchronous

More information

Approximate Hybrid Equivalent Circuits. Again, the impedance looking into the output terminals is infinite so that. conductance is zero.

Approximate Hybrid Equivalent Circuits. Again, the impedance looking into the output terminals is infinite so that. conductance is zero. Again, the impedance looking into the output terminals is infinite so that conductance is zero. Hence, the four h-parameters of an ideal transistor connected in CE transistor are The hybrid equivalent

More information

LOGIC DIAGRAM: HALF ADDER TRUTH TABLE: A B CARRY SUM. 2012/ODD/III/ECE/DE/LM Page No. 1

LOGIC DIAGRAM: HALF ADDER TRUTH TABLE: A B CARRY SUM. 2012/ODD/III/ECE/DE/LM Page No. 1 LOGIC DIAGRAM: HALF ADDER TRUTH TABLE: A B CARRY SUM K-Map for SUM: K-Map for CARRY: SUM = A B + AB CARRY = AB 22/ODD/III/ECE/DE/LM Page No. EXPT NO: DATE : DESIGN OF ADDER AND SUBTRACTOR AIM: To design

More information

Gates and and Circuits

Gates and and Circuits Chapter 4 Gates and Circuits Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors Combine basic gates into circuits Describe the

More information

Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months

Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months PROGRESS RECORD Study your lessons in the order listed below. Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months 1 2330A Current

More information

LIST OF EXPERIMENTS. KCTCET/ /Odd/3rd/ETE/CSE/LM

LIST OF EXPERIMENTS. KCTCET/ /Odd/3rd/ETE/CSE/LM LIST OF EXPERIMENTS. Study of logic gates. 2. Design and implementation of adders and subtractors using logic gates. 3. Design and implementation of code converters using logic gates. 4. Design and implementation

More information

Lab 5. Binary Counter

Lab 5. Binary Counter Lab. Binary Counter Overview of this Session In this laboratory, you will learn: Continue to use the scope to characterize frequencies How to count in binary How to use an MC counter Introduction The TA

More information

16 Multiplexers and De-multiplexers using gates and ICs. (74150, 74154)

16 Multiplexers and De-multiplexers using gates and ICs. (74150, 74154) 16 Multiplexers and De-multiplexers using gates and ICs. (74150, 74154) Aim: To design multiplexers and De-multiplexers using gates and ICs. (74150, 74154) Components required: Digital IC Trainer kit,

More information

Preface... iii. Chapter 1: Diodes and Circuits... 1

Preface... iii. Chapter 1: Diodes and Circuits... 1 Table of Contents Preface... iii Chapter 1: Diodes and Circuits... 1 1.1 Introduction... 1 1.2 Structure of an Atom... 2 1.3 Classification of Solid Materials on the Basis of Conductivity... 2 1.4 Atomic

More information

300 in 1 Electronic Project Lab Science Fair. Tandy / RadioShack. ( ) Included Projects

300 in 1 Electronic Project Lab Science Fair. Tandy / RadioShack. ( ) Included Projects 300 in 1 Electronic Project Lab Science Fair Tandy / RadioShack (280-0270) Included Projects Listed below are projects included in the 280-0270 Project Kit. 1) Surprise and Fun 1. Light-Controlled Bird

More information

Linear & Digital IC Applications (BRIDGE COURSE)

Linear & Digital IC Applications (BRIDGE COURSE) G. PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Accredited by NAAC with A Grade of UGC, Approved by AICTE, New Delhi Permanently Affiliated to JNTUA, Ananthapuramu (Recognized by UGC under 2(f) and 12(B)

More information

Digital Electronics. A. I can list five basic safety rules for electronics. B. I can properly display large and small numbers in proper notation,

Digital Electronics. A. I can list five basic safety rules for electronics. B. I can properly display large and small numbers in proper notation, St. Michael Albertville High School Teacher: Scott Danielson September 2016 Content Skills Learning Targets Standards Assessment Resources & Technology CEQ: WHAT MAKES DIGITAL ELECTRONICS SO IMPORTANT

More information

Electronic Circuits EE359A

Electronic Circuits EE359A Electronic Circuits EE359A Bruce McNair B206 bmcnair@stevens.edu 201-216-5549 1 Memory and Advanced Digital Circuits - 2 Chapter 11 2 Figure 11.1 (a) Basic latch. (b) The latch with the feedback loop opened.

More information

ENGR-4300 Fall 2006 Project 3 Project 3 Build a 555-Timer

ENGR-4300 Fall 2006 Project 3 Project 3 Build a 555-Timer ENGR-43 Fall 26 Project 3 Project 3 Build a 555-Timer For this project, each team, (do this as team of 4,) will simulate and build an astable multivibrator. However, instead of using the 555 timer chip,

More information

INTRODUCTION TO DIGITAL CONCEPT

INTRODUCTION TO DIGITAL CONCEPT COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE 421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE 422) INTRODUCTION TO DIGITAL CONCEPT Digital and Analog Quantities Digital relates to data in the form of digits,

More information

ELECTRONICS ADVANCED SUPPLEMENTARY LEVEL

ELECTRONICS ADVANCED SUPPLEMENTARY LEVEL ELECTRONICS ADVANCED SUPPLEMENTARY LEVEL AIMS The general aims of the subject are : 1. to foster an interest in and an enjoyment of electronics as a practical and intellectual discipline; 2. to develop

More information

Digital Circuits Introduction

Digital Circuits Introduction Lecture #6 OUTLINE Logic inary representations Combinatorial logic circuits Chap 7-7.5 Reading EE4 Summer 25: Lecture 6 Instructor: Octavian lorescu Digital Circuits Introduction nalog: signal amplitude

More information

CMOS Digital Integrated Circuits Lec 11 Sequential CMOS Logic Circuits

CMOS Digital Integrated Circuits Lec 11 Sequential CMOS Logic Circuits Lec Sequential CMOS Logic Circuits Sequential Logic In Combinational Logic circuit Out Memory Sequential The output is determined by Current inputs Previous inputs Output = f(in, Previous In) The regenerative

More information

Lab 6. Binary Counter

Lab 6. Binary Counter Lab 6. Binary Counter Overview of this Session In this laboratory, you will learn: Continue to use the scope to characterize frequencies How to count in binary How to use an MC14161 or CD40161BE counter

More information

Chapter 4: FLIP FLOPS. (Sequential Circuits) By: Siti Sabariah Hj. Salihin ELECTRICAL ENGINEERING DEPARTMENT EE 202 : DIGITAL ELECTRONICS 1

Chapter 4: FLIP FLOPS. (Sequential Circuits) By: Siti Sabariah Hj. Salihin ELECTRICAL ENGINEERING DEPARTMENT EE 202 : DIGITAL ELECTRONICS 1 Chapter 4: FLIP FLOPS (Sequential Circuits) By: Siti Sabariah Hj. Salihin ELECTRICAL ENGINEERING DEPARTMENT 1 CHAPTER 4 : FLIP FLOPS Programme Learning Outcomes, PLO Upon completion of the programme, graduates

More information

Unit level 4 Credit value 15. Introduction. Learning Outcomes

Unit level 4 Credit value 15. Introduction. Learning Outcomes Unit 20: Unit code Digital Principles T/615/1494 Unit level 4 Credit value 15 Introduction While the broad field of electronics covers many aspects, it is digital electronics which now has the greatest

More information

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam MIDTERM EXAMINATION 2011 (October-November) Q-21 Draw function table of a half adder circuit? (2) Answer: - Page

More information

ELECTROVATE. Electromania Problem Statement Discussion

ELECTROVATE. Electromania Problem Statement Discussion ELECTROVATE Electromania Problem Statement Discussion An Competition Basic Circuiting What is Electromania? Innovation Debugging Lets Revise the Basics Electronics Digital Analog Digital Electronics Similar

More information

Written exam IE1204/5 Digital Design Friday 13/

Written exam IE1204/5 Digital Design Friday 13/ Written exam IE204/5 Digital Design Friday 3/ 207 08.00-2.00 General Information Examiner: Ingo Sander. Teacher: Kista, William Sandqvist tel 08-7904487 Teacher: Valhallavägen, Ahmed Hemani 08-7904469

More information

Associate In Applied Science In Electronics Engineering Technology Expiration Date:

Associate In Applied Science In Electronics Engineering Technology Expiration Date: PROGRESS RECORD Study your lessons in the order listed below. Associate In Applied Science In Electronics Engineering Technology Expiration Date: 1 2330A Current and Voltage 2 2330B Controlling Current

More information

Physics 335 Lab 1 Intro to Digital Logic

Physics 335 Lab 1 Intro to Digital Logic Physics 33 Lab 1 Intro to Digital Logic We ll be introducing you to digital logic this quarter. Some things will be easier for you than analog, some things more difficult. Digital is an all together different

More information

0 0 Q Q Q Q

0 0 Q Q Q Q Question 1) Flip Flops and Counters (15 points) a) Fill in the truth table for a JK flip flop. Use Q or Q to denote the previous value of Q and Q. (6 pts) J K CLK Q Q Q Q 1 1 1 1 1 1 Q Q b) In Figure 1a

More information

FUNCTION OF COMBINATIONAL LOGIC CIRCUIT

FUNCTION OF COMBINATIONAL LOGIC CIRCUIT HAPTER FUNTION OF OMBINATIONAL LOGI IRUIT OUTLINE HALF-ADDER ANF FULL ADDER IRUIT -BIT PARALLEL BINARY RIPPLE ARRY ADDER -BIT PARALLEL BINARY ARRY LOOK- AHEAD ADDER BD ADDER IRUIT DEODER ENODER MULTIPLEXER

More information

Use the fixed 5 volt supplies for your power in digital circuits, rather than the variable outputs.

Use the fixed 5 volt supplies for your power in digital circuits, rather than the variable outputs. Physics 33 Lab 1 Intro to Digital Logic We ll be introducing you to digital logic this quarter. Some things will be easier for you than analog, some things more difficult. Digital is an all together different

More information

The Non Inverting Buffer

The Non Inverting Buffer The Non Inverting Buffer We now spend some time investigating useful circuit elements that do not directly implement Boolean functions. The first element is the non inverting buffer. This is logically

More information

JEFFERSON COLLEGE COURSE SYLLABUS ETC255 INTRODUCTION TO DIGITAL CIRCUITS. 6 Credit Hours. Prepared by: Dennis Eimer

JEFFERSON COLLEGE COURSE SYLLABUS ETC255 INTRODUCTION TO DIGITAL CIRCUITS. 6 Credit Hours. Prepared by: Dennis Eimer JEFFERSON COLLEGE COURSE SYLLABUS ETC255 INTRODUCTION TO DIGITAL CIRCUITS 6 Credit Hours Prepared by: Dennis Eimer Revised Date: August, 2007 By Dennis Eimer Division of Technology Dr. John Keck, Dean

More information

Copyright 2000 N. AYDIN. All rights reserved. 1

Copyright 2000 N. AYDIN. All rights reserved. 1 Introduction to igital Prof Nizamettin IN naydin@yildizedutr naydin@ieeeorg ourse Outline igital omputers, Number Systems, rithmetic Operations, ecimal, lphanumeric, and Gray odes 2 inary, Gates, oolean

More information

UNIT-IV Combinational Logic

UNIT-IV Combinational Logic UNIT-IV Combinational Logic Introduction: The signals are usually represented by discrete bands of analog levels in digital electronic circuits or digital electronics instead of continuous ranges represented

More information

EECS 150 Homework 4 Solutions Fall 2008

EECS 150 Homework 4 Solutions Fall 2008 Problem 1: You have a 100 MHz clock, and need to generate 3 separate clocks at different frequencies: 20 MHz, 1kHz, and 1Hz. How many flip flops do you need to implement each clock if you use: a) a ring

More information

SRV ENGINEERING COLLEGE SEMBODAI RUKMANI VARATHARAJAN ENGINEERING COLLEGE SEMBODAI

SRV ENGINEERING COLLEGE SEMBODAI RUKMANI VARATHARAJAN ENGINEERING COLLEGE SEMBODAI SEMBODAI RUKMANI VARATHARAJAN ENGINEERING COLLEGE SEMBODAI 6489 (Approved By AICTE,Newdelhi Affiliated To ANNA UNIVERSITY::Chennai) CS 62 DIGITAL ELECTRONICS LAB (REGULATION-23) LAB MANUAL DEPARTMENT OF

More information

CHAPTER 6 DIGITAL INSTRUMENTS

CHAPTER 6 DIGITAL INSTRUMENTS CHAPTER 6 DIGITAL INSTRUMENTS 1 LECTURE CONTENTS 6.1 Logic Gates 6.2 Digital Instruments 6.3 Analog to Digital Converter 6.4 Electronic Counter 6.6 Digital Multimeters 2 6.1 Logic Gates 3 AND Gate The

More information

Chapter 4 Logic Functions and Gates

Chapter 4 Logic Functions and Gates Chapter 4 Logic Functions and Gates CHPTER OJECTIVES Upon successful completion of this chapter, you will be able to: Describe the basic logic functions: ND, OR, and NOT. Draw simple switch circuits to

More information

Practical Workbook Logic Design & Switching Theory

Practical Workbook Logic Design & Switching Theory Practical Workbook Logic Design & Switching Theory Name : Year : Batch : Roll No : Department: Second Edition Fall 2017-18 Dept. of Computer & Information Systems Engineering NED University of Engineering

More information

ELECTRONIC CIRCUITS. Time: Three Hours Maximum Marks: 100

ELECTRONIC CIRCUITS. Time: Three Hours Maximum Marks: 100 EC 40 MODEL TEST PAPER - 1 ELECTRONIC CIRCUITS Time: Three Hours Maximum Marks: 100 Answer five questions, taking ANY TWO from Group A, any two from Group B and all from Group C. All parts of a question

More information