2 The Essentials of Binary Arithmetic

Size: px
Start display at page:

Download "2 The Essentials of Binary Arithmetic"

Transcription

1 ENGG1000: Engineering esign and Innovation Stream: School of EE&T Lecture Notes Chapter 5: igital Circuits A/Prof avid Taubman April5, Introduction This chapter can be read at any time after Chapter 1 ( Induction: Instruments, Components and Circuits ). At the end of that document, we introduced elementary digital logic and showed how it could be constructed from simple combinations of transistors. Many of you will, by now, have constructed and tested these logic circuits in the laboratory. Where your project calls for digital logic, you are recommended to use the TTL logic IC s (74LSxxx series chips) whose data sheets appear on the course s VISTA web-site under the "atasheets" organizer. These devices use BJT s (Bipolar Junction Transistors) which tend to be more robust (electrically) than the CMOS transistors which are used in most VLSI (Very Large Scale Integration) digital IC s. The main disadvantage of BJT s is that they consume more power than CMOS transistors; on the other hand, they are harder to damage and their outputs can drive significant loads (e.g., enough to power an LE). These properties both recommend them for an introductory design course such as this. Where appropriate, we will refer to specific TTL part numbers. However, the main purpose of these notes is to introduce you to three key building blocks of digital design: 1) binary arithmetic; 2) stateless digital logic; and ) clocksynchronized state management. There are many excellent formal tools for digital design, but we will not try to introduce them here. Instead, the main purpose of these notes is to give you the minimum set of tools you need to do interesting things. When formal tools are introduced in later courses, you will be able to appreciate them more fully, having already designed circuits without them. 2 The Essentials of Binary Arithmetic igital logic works with binary signal representations, in which a high voltage level is typically interpreted as a 1, while a low voltage level is typically inter- 1

2 c Taubman, 2007 igital Circuits (ENGG1000) Page 2 preted as a 0. For TTL logic, the supply rails are at 0V (GN)and5V (V CC ), a high input voltage level is considered to be anything over about 2V andalow input voltage level is considered to be anything under about 0.8V. Signals in between these limits have uncertain logic levels. Such voltage levels should not appear in a digital circuit, except when signals are transitioning from high to low, or from low to high. This is because digital logic devices are essentially amplifiers with high voltage gains, producing output voltages which are always close to one of the rail voltages. Since digital logic represents information through 1 s and 0 s, it is important that we have a way to represent more general numerical quantities using only 1 s and 0 s. To this end, non-negative integers are always represented in base-2 (as opposed to base-ten). For example, the integer value ten is represented in base-2 as 1010b. The suffix b is used here to make it clear that these are binary digits. As in the more familiar base-ten number system, the right-most digit represents units; moving to the left, the digits represent multiples of 2, 4, 8 and so forth. We use the term bits to refer to the digits in a base-2 (or binary) numeric representation. The right-most digit is identified as the least significant bit (or LSB). Some of the TTL devices you might possibly use for your design project which accept or produce binary numbers are: 74LS161: This is a binary 4-bit counter IC. It outputs four digital signal lines, commonly denoted 0, 1, 2 and, which identify the current value of the count. 0 is the least significant bit (LSB) of the count, while is the most significant bit (MSB). This means that the base-2 count value is b and the integer value of the count can be written as Check (using the data sheets) that you understand what happens when the count reaches the maximum possible value of 15 = 1111b. 74LS18: This is a -8 line digital decoder IC. It accepts a -bit input, identified by data bits 0, 1 and 2. Together, these represent an integer in the range 0 to 7, where 0 is the LSB and 2 is the MSB. This integer is the index of one of 8 output data lines which goes low, leaving the other seven high. 74LS151: This is a 1 of 8 digital multiplexor IC. It again accepts a -bit index, which identifies one of 8 binary input lines whose value is to be copied to a single binary output. There is, of course, much more we could say about binary arithmetic. We could describe the representation of signed integers (integers which can be positive or negative). We could also describe the representation of fractional quantities (analogous to decimals) and floating point values, and we could discuss arithmetic on these quantities (addition, subtraction, multiplication and so forth). Much of this, however, would be a distraction at this introductory stage.

3 c Taubman, 2007 igital Circuits (ENGG1000) Page AN OR XOR NAN NOR INVERT Figure 1: Basic logic gates. Gates: Building Blocks for igital Logic In Chapter 1, we introduced a number of 2-input, 1-output logic gates. In particular, we showed how NOR and NAN gates could be constructed using transistors; you might like to review that material before continuing. Four basic logic gates with which you should be familiar are the AN gate, the OR gate, the XOR gate, and the INVERTER; their schematic representations appear in Figure 1, along with the NAN and NOR gates from before. TheANgateoutputsa1 (high) if and only if both of its inputs are 1. The OR gate outputs a 1 if either or both of its inputs is a 1. The XOR (exclusive OR) gate outputs a 1 if either, but not both of its inputs are 1. The inverter has the obvious function of outputting a 1 (high) when its input is 0 (low) and outputting a 0 (low) when its input is 1 (high). Logic functions are often prescribed (e.g., in data sheets) using truth tables, so it is good that you get used to reading them. Truth tables for the AN, OR, XOR and NAN gates are shown below. AN Gate Inputs Out OR Gate Inputs Out XOR Gate Inputs Out NAN Gate Inputs Out All of the logic functions shown in Figure 1 can be obtained by a suitable combination of NAN gates, or by a suitable combination of NOR gates. As an example of this, Figure 2 shows how the OR and XOR gates can be implemented using only NAN gates. See if you can do the rest yourself.in view of this fact, you may ask why we even bother to create logic symbols for any more than one gate. There are two answers to this:

4 c Taubman, 2007 igital Circuits (ENGG1000) Page 4 in1 out in1 out in2 in2 OR XOR Figure 2: Implementing OR and XOR gates using NAN gates. 1. The gates in Figure 1 provide logical operations which are natural for certain tasks. Even though the AN gate can be implemented using three NOR gates, for example, it is more natural to think in terms of the output being on if and only if both inputs are on. As another example, it turns out that numerical addition and subtraction operations are most easily understood with the aid of XOR gates. Consider, for example, the addition of two integers represented using binary digits (base-2). Some thought should convince you that the LSB (least significant bit) of the result is the XOR of the LSB s from each input integer. 2. The TTL logic IC s you are most likely to work with for your project provide packaged collections of each of the gates shown in Figure 1. If you really need an OR operation, you could obtain this function using three of the four NAN gates in a 74LS00 package. However, you could obtain the function more naturally by using only one of the four OR gates provided by a 74LS2, with less wires and less things to go wrong..1 Bubbles on the Schematic and Active Low Signals You have probably figured out by now that the bubbles (small circles) in the schematic representation of digital logic indicate that a signal is inverted. You can see this in the outputs of the NAN and NOR gates. The INVERTER is actually a buffer (the triangle) with an inverted output (the bubble). You will also see bubbles used at the inputs to certain logic gates, meaning that the input is considered to be inverted before it enters the logic gate. It follows that an AN gate with bubbles at all inputs and at the output is actually an OR gate. Another, equally valid way to interpret the bubbles is as a reversal of the convention that high voltages refer to logical values of 1, while low voltages refer to logical values of 0. When a bubble appears at the input or output of a gate or logic circuit, you can interpret this as meaning that a logical 1 is now represented by a low voltage, while a logical 0 is represented by a high voltage. Many of the TTL logic IC s you might investigate for your project adopt this perspective when describing various control inputs. For example, the 74LS161 has a Load Enable input pin which is said to be Active Low and is shown on the schematic with a bubble at its input (see the data sheets). This signifies

5 c Taubman, 2007 igital Circuits (ENGG1000) Page 5 V V out V in gate input threshold t Figure : Behaviour of logic gate with noisy input. that a low voltage level on the Load Enable pin means that the load function is on logically 1 or true..2 Gates with Hysteresis Logic gates are essentially high gain amplifiers. When the input voltage is in the vicinity of a threshold, call it V T, small changes in the input voltage will cause large changes in the output voltage. igital circuits are not designed to operate with gate input voltages near V T, since this renders the circuit very sensitive to small fluctuations caused by electronic noise, supply rail variations and so forth. Also, the actual value of V T tends to vary somewhat from device to device. Figure illustrates the problem of a noisy input signal whose voltage dwellsforsometimeinthevicinityofv T. As you can see, small changes in V in can then cause the detected logic level to jump wildly between the low (0) and high (1) states. The problems described above do not normally occur when gates are driven from the outputs of other gates, since gate outputs are designed to slew quickly and monotonically between the low and high states. Problems can occur, however, when the signal driving a gate has to travel over a large length of wire; in this case, electromagnetic effects associated with current traveling in long conductors can cause oscillations in the signal voltages, whose magnitude might exceed the slew rate of the signal. A common source of logic level uncertainty occurs when you connect gate inputs to opamps, switches, R-C circuits, or other analog circuit components. To avoid the problem observed in Figure, it is a good idea to use gates whose input circuitry contains hysteresis. To understand hysteresis, consider the circuitshowninfigure4.observefirstly that R 1 and form a resistive divider network, so that V S = V in + R 1 R 1 + (V out V in ) = V in R V out R 1 R 1 +

6 c Taubman, 2007 igital Circuits (ENGG1000) Page 6 V in R 1 V s V out Figure 4: Non-inverting gate (buffer) with hysteresis. Now suppose the non-inverting gate (buffer) shown in this circuit has a threshold voltage of V T and that V out is currently in the high state let s say for simplicity that V out = V CC. Then in order for the gate to transition to the low state, the input must force V S <V T,meaningthat R 1 V in <V T V CC. R 1 + R 1 + Equivalently, we need V in <V T,min,where µ V T,min = 1+ R 1 R 1 V T V CC. Suppose, on the contrary, that the output is currently in the low state say for simplicity that V out = V CC. Then in order for the gate to transition to the high state, we require V S = V in >V T. R 1 + Equivalently, we need V in >V T, max,where µ V T,max = 1+ R 1 V T The important thing is that the positive going threshold V T,max is greater than the negative going threshold, V T,min.Thedifference, V T,max V T,min is known as the gate s hysteresis. Hysteresis is created by positive feedback. That is, high values of V out serve to pull V S even higher, so that the input voltage has to go much lower in order to reverse the logic level. Similarly, low values of V out pull V S even lower, so that the input voltage has to go much higher in order to change things. Make sure that you understand why this solves the problem seen in Figure. Gateswithhysteresisareoftendepictedwiththespecialsymbolshownon the right in Figure 4. The 74LS12 is a useful TTL component whose inputs have hysteresis. Another useful TTL component with hysteresis is the 74LS244 octal buffer, which is used in the alek enemy target at the external interfaces.

7 c Taubman, 2007 igital Circuits (ENGG1000) Page 7. Unused Inputs It quite commonly happens that you do not care what the value of some input to a gate or digital IC is. For example, you might only use of the 4 NAN gates provided by a 74LS00 IC. When working with TTL logic chips, it is OK to leave these unused inputs disconnected. With CMOS devices, however, all unused inputs should generally be connected to ground, to avoid static electric discharge which can potentially damage the device. If a TTL input is left unconnected, it will tend to take on a logical 1 (high) state. However,ifyoudoneedthevaluetobeseenasa1, itisbesttotiethe input to V CC, since this will improve robustness to rapid transitions in other parts of the circuit 1. If you need the input to be seen as a 0, youmusttieitto 0V (GN)..4 TTL Output Considerations As a general rule, you should avoid connecting the output from one logic gate directly to the output from another logic gate. This is generally a pretty senseless thing to do anyway. There is, however, one important exception. Some devices have what are known as tri-state (or -state) outputs. Tri-state outputs can be placed in a special high impedance (high-z) state, which is neither low nor high. In the high-z state, the output driving transistors are all disabled and the output line is essentially disconnected. This allows another device s output to drive the same line. Tri-state devices are designed to share the responsibility for driving output lines with other tri-state devices, but at most one of the devices whose output is attached to a given line should be enabled (i.e., not in the high-z state). The 74LS244 device, for which data sheets are supplied on the VISTA site, offers tri-state outputs with output-enable controls. Although the output from a single gate can drive the inputs to many other gates, there is a limit to the number of inputs which one output can drive. For TTL devices, this limit is determined by the amount of current required to maintain a gate input in the low or high state. The number of inputs which canbedrivenbyasingleoutputisknownasthefan-out factor. The fan-out factor of a 74LS00 NAN gate is about 20, for example. Some devices are specially designed to supply (and sink) larger output currents so that they can drive more gates or heavier loads. One example of this is the 74LS244 octal line driver component. As you might expect, all this information is available from the data sheets..5 Gate elay So far, we have considered only the static properties of logic gates. In practice, it takes some time for changes at the input to propagate to be reflected at the output of a logic gate. This time may be on the order of a few nanoseconds 1 Many students experience unreliable behaviour from their designs precisely because they have not realized that the high state of an unconnected pin is unreliable

8 c Taubman, 2007 igital Circuits (ENGG1000) Page 8 S R Figure 5: Set-reset flip-flop. for discrete TTL logic chips, down to a few tens of picoseconds for the internal gates within a high speed micro-processor. The principle origin of this delay is capacitance. Recall from Chapter that capacitance slows circuits down. Capacitance appears in deliberately manufactured capacitors, but it also appears wherever conductors with different voltages are close to each other. We refer to this as stray capacitance and note that it is impossible to entirely eliminate all stray capacitance from a circuit. 4 Flip-Flops: State and Synchronous esign 4.1 From Gates to Flip-Flops By clever use of positive feedback, we can make combinations of gates which remember the state of some previous input. The easiest way to illustrate this is with the set-reset configuration shown in Figure 5. Notice firstly the use of bars over the S and R inputs. This is another way of indicating on the schematic that these input lines do what their names suggest (S for set and R for reset ) when they are low, rather than high i.e., they are active when low. To understand this circuit, suppose that both inputs are high (inactive). We claim that the outputs and must hold opposite digital values. If is high, the lower NAN gate forces low and this forces the upper NAN gate to keep in the high state. Similarly, if is low, the lower NAN gate forces high, so that the upper NAN gate keeps in the low state. If both and happenedtobeinthehighstate,orbothhappenedtobeinthelowstate,say immediately after power up, they would fight against each other and one of or would wind up in the high state, with the other in the low state after a very short time (on the order of the gate delay). This is because the internal amplification gains associated with the two gates can never be exactly identical to infinite precision, so one is bound to win over the other. Now suppose that the S input goes low (active), but R remains high (inactive). It is easy to see that this forces into the high state (set) regardless of and that the lower NAN gate will force low shortly thereafter. Similarly, if R goes low (active) when S is high, a reset operation is performed, forcing to 0 and to 1. Once S and R are returned to the high (inactive) state, the flip-flop retains the state produced by the most recent set or reset operation. The condition in which both S and R are low at the same time is not of interest

9 c Taubman, 2007 igital Circuits (ENGG1000) Page 9 CLK Figure 6: Positive edge-triggered flip-flop. to us. The term flip-flop is used to refer to a device that can be flipped to one state or ( flopped to) another, where both states are stable. By stability, we mean that the state is retained after the stimulus (flipping or flopping) is removed. You will come to use the term flip-flop for any device which can remember its state. The set-reset flip-flop described above can be used to build a much more interesting device known as the flip-flop, as shown in Figure 6.For the present course, it is not important that you know exactly how this circuit achieves its ends, but for the interested student we provide the following brief explanation. When the CLK (read clock ) input is low, the first pair of NAN gates allow and its inverse to pass through to the first set-reset flip-flop, so that its upper output is set (if is high) or reset (if is low). uring this time, the value of affects the first set-reset flip-flop, but has no impact on the second set-reset flip-flop, whose outputs are denoted and. When the CLK input goes high, the input no longer has any impact on the state of the first set-reset flip-flop. However, the third pair of NAN gates now pass the values stored in the first set-reset flip-flop through to the second. Based on this brief description, you should be able to convince yourself that the and outputs can only change on the rising edge of the CLK input (i.e., immediately after CLK goes from low to high). When this happens, the output assumes the value which was present at the input immediately before the clock transition, while holds its inverse. Apart from the period immediately prior to the rising edge of the clock, the value at the input has no impact whatsoever on the outputs. You don t generally build flip-flops yourself, from discrete gates. Instead, you might use a TTL IC such as the 74LS74, which packages up two flip-flops for you. Alternatively, the 74LS74 is an octal flip-flop which memorizes the state of 8 separate input bits whenever its clock signal transitions from low to high, retaining their values on 8 output pins until the next positive going transition of the clock.

10 c Taubman, 2007 igital Circuits (ENGG1000) Page From Flip-Flops to Sequential Machines The flip-flop just described plays an immensely important role in digital circuit design. Virtually all complex digital circuits employ a common clock (CLK) signal, driven by a stable oscillator. The clock signal in your home computer s micro-processor may execute billions of cycles per second (i.e., Gigahertz). The important thing is that all flip-flops in the circuit receive the same clock signal. This means that their outputs all change at essentially the same time (e.g., on the positive going clock edge). These outputs drive networks of logic gates to produce new inputs for the flip-flops. The logic network has the best part of an entire clock cycle to generate stable values for these new inputs, which become the flip-flop outputs on the next clock edge. Circuits of this form are known as state machines or synchronous digital circuits. This repetitive process of inputs moving to outputs, which generate new inputs, might seem rather pointless at first. It is, however, the key to accomplishing a great wealth of functionality with a small amount of logic. To understand this, consider first the implementation of a 4-bit digital counter, as shown in Figure 7. The output of the counter appears at the outputs of the four flip-flops, with the LSB at the top and the MSB at the bottom. The logic network which connects the outputs of the flip-flops back to their inputs consists of four XOR gates and four AN gates. Together, these implement an adder, whose XOR outputs hold the numeric result obtained by adding the 4-bit input (obtained from the outputs of the flip-flops) to the 1-bit value represented by the COUNT ENABLE signal. See if you can verify that this network does indeed perform the claimed arithmetic. In any event, you should be able to easily verify that when COUNT ENABLE is 0 (low), the signal fed back to the flip-flop inputs is identical to that at the flip-flop outputs, so nothing changes from clock edge to clock edge. When COUNT ENABLE is 1 (high), the count value appearing at the flip-flop outputs increases by 1 immediately after each rising clock edge, wrapping around back to 0000 after 1111b. Now suppose we replace the logic network in Figure 7 with one which is able to add two 4-bit numbers together, as shown in Figure 8. The adding network is only a little more complex than the one shown explicitly in Figure 7, but we do not need to worry about its inner workings here. In this new circuit, the 4-bit integer represented by 0 (LSB) through (MSB) is added to the 4-bit value stored in the flip-flops, represented by 0 (LSB) through (MSB). The result becomes the new value stored by the flip-flops on the next rising clock edge. By feeding this circuit with a different numeric input in each clock cycle, our circuit will add all of the numbers in sequence. To achieve this behaviour with a single network of logic gates, we would need to replicate the adder network many times, as suggested by the arrangement on the right hand side of Figure 8. The lesson to be learned here is that a small amount of logic can accomplish a great deal when deployed within a synchronous digital circuit. In fact, it is only a relatively small step from here to build a central processing unit (CPU) which sequentially carries out pre-programmed instructions, one per clock cycle i.e., a computer. igital design engineers do build CPU s (micro-processors),

11 c Taubman, 2007 igital Circuits (ENGG1000) Page 11 COUNT ENABLE CLK Figure 7: 4-bit synchronous counter. but they also build circuits which can perform complex yet dedicated functions much faster than a general purpose CPU. The rest of the story is, of course, beyond the scope of these introductory notes.

12 c Taubman, 2007 igital Circuits (ENGG1000) Page 12 CLK 0 v A 0 A 1 A 2 A Addition network Σ=A+B B 0 B 1 B 2 B Σ 0 Σ 1 Σ 2 Σ Sequential circuit to add a sequence of 4-bit numbers 1 2 A 0 A 1 A 2 A Addition network Σ=A+B B 0 B 1 B 2 B v 2 Σ 0 Σ 1 Σ 2 Σ A 0 A 1 A 2 A Addition network Σ=A+B B 0 B 1 B 2 B v Complete network to add four 4-bit numbers Σ 0 Σ 1 Σ 2 Σ A 0 A 1 A 2 A Addition network Σ=A+B B 0 B 1 B 2 B v 4 Σ 0 Σ 1 Σ 2 Σ Figure 8: Left: synchronous digital circuit for repeatedly adding 4-bit numbers to an accumulator ( ). Right: direct combinatorial logic network for adding four 4-bit numbers.

Notes on Digital Circuits

Notes on Digital Circuits PHYS 331: Junior Physics Laboratory I Notes on Digital Circuits Digital circuits are collections of devices that perform logical operations on two logical states, represented by voltage levels. Standard

More information

PHYS 3322 Modern Laboratory Methods I Digital Devices

PHYS 3322 Modern Laboratory Methods I Digital Devices PHYS 3322 Modern Laboratory Methods I Digital Devices Purpose This experiment will introduce you to the basic operating principles of digital electronic devices. Background These circuits are called digital

More information

Notes on Digital Circuits

Notes on Digital Circuits PHYS 331: Junior Physics Laboratory I Notes on Digital Circuits Digital circuits are collections of devices that perform logical operations on two logical states, represented by voltage levels. Standard

More information

Chapter 5 Flip-Flops and Related Devices

Chapter 5 Flip-Flops and Related Devices Chapter 5 Flip-Flops and Related Devices Chapter 5 Objectives Selected areas covered in this chapter: Constructing/analyzing operation of latch flip-flops made from NAND or NOR gates. Differences of synchronous/asynchronous

More information

MODULE 3. Combinational & Sequential logic

MODULE 3. Combinational & Sequential logic MODULE 3 Combinational & Sequential logic Combinational Logic Introduction Logic circuit may be classified into two categories. Combinational logic circuits 2. Sequential logic circuits A combinational

More information

EXPERIMENT #6 DIGITAL BASICS

EXPERIMENT #6 DIGITAL BASICS EXPERIMENT #6 DIGITL SICS Digital electronics is based on the binary number system. Instead of having signals which can vary continuously as in analog circuits, digital signals are characterized by only

More information

Music Electronics Finally DeMorgan's Theorem establishes two very important simplifications 3 : Multiplexers

Music Electronics Finally DeMorgan's Theorem establishes two very important simplifications 3 : Multiplexers Music Electronics Finally DeMorgan's Theorem establishes two very important simplifications 3 : ( A B )' = A' + B' ( A + B )' = A' B' Multiplexers A digital multiplexer is a switching element, like a mechanical

More information

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge Topic 1.3.2 -type Flip-flops. Learning Objectives: At the end of this topic you will be able to; raw a timing diagram to illustrate the significance of edge triggering; raw a timing diagram to illustrate

More information

WINTER 15 EXAMINATION Model Answer

WINTER 15 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

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1 Sequential Logic E&CE 223 igital Circuits and Systems (A. Kennings) Page 1 Sequential Circuits Have considered only combinational circuits in which circuit outputs are determined entirely by current circuit

More information

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Introduction. NAND Gate Latch.  Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1 2007 Introduction BK TP.HCM FLIP-FLOP So far we have seen Combinational Logic The output(s) depends only on the current values of the input variables Here we will look at Sequential Logic circuits The

More information

Combinational vs Sequential

Combinational vs Sequential Combinational vs Sequential inputs X Combinational Circuits outputs Z A combinational circuit: At any time, outputs depends only on inputs Changing inputs changes outputs No regard for previous inputs

More information

Physics 323. Experiment # 10 - Digital Circuits

Physics 323. Experiment # 10 - Digital Circuits Physics 323 Experiment # 10 - Digital Circuits Purpose This is a brief introduction to digital (logic) circuits using both combinational and sequential logic. The basic building blocks will be the Transistor

More information

Module for Lab #16: Basic Memory Devices

Module for Lab #16: Basic Memory Devices Module for Lab #16: Basic Memory evices evision: November 14, 2004 LAB Overview This lab introduces the concept of electronic memory. Memory circuits store the voltage present on an input signal (LHV or

More information

Chapter 4. Logic Design

Chapter 4. Logic Design Chapter 4 Logic Design 4.1 Introduction. In previous Chapter we studied gates and combinational circuits, which made by gates (AND, OR, NOT etc.). That can be represented by circuit diagram, truth table

More information

Analogue Versus Digital [5 M]

Analogue Versus Digital [5 M] Q.1 a. Analogue Versus Digital [5 M] There are two basic ways of representing the numerical values of the various physical quantities with which we constantly deal in our day-to-day lives. One of the ways,

More information

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of 1 The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of the AND gate, you get the NAND gate etc. 2 One of the

More information

ECE321 Electronics I

ECE321 Electronics I ECE321 Electronics I Lecture 25: Sequential Logic: Flip-flop Payman Zarkesh-Ha Office: ECE Bldg. 230B Office hours: Tuesday 2:00-3:00PM or by appointment E-mail: pzarkesh.unm.edu Slide: 1 Review of Last

More information

Contents Circuits... 1

Contents Circuits... 1 Contents Circuits... 1 Categories of Circuits... 1 Description of the operations of circuits... 2 Classification of Combinational Logic... 2 1. Adder... 3 2. Decoder:... 3 Memory Address Decoder... 5 Encoder...

More information

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit) Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6. - Introductory Digital Systems Laboratory (Spring 006) Laboratory - Introduction to Digital Electronics

More information

CPS311 Lecture: Sequential Circuits

CPS311 Lecture: Sequential Circuits CPS311 Lecture: Sequential Circuits Last revised August 4, 2015 Objectives: 1. To introduce asynchronous and synchronous flip-flops (latches and pulsetriggered, plus asynchronous preset/clear) 2. To introduce

More information

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791) B. Sc. III Semester (Electronics) - (2013-14) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791) Section-[A] i. (B) ii. (A) iii. (D) iv. (C) v. (C) vi. (C) vii. (D) viii. (B) Ans-(ix): In JK flip flop

More information

A FOUR GAIN READOUT INTEGRATED CIRCUIT : FRIC 96_1

A FOUR GAIN READOUT INTEGRATED CIRCUIT : FRIC 96_1 A FOUR GAIN READOUT INTEGRATED CIRCUIT : FRIC 96_1 J. M. Bussat 1, G. Bohner 1, O. Rossetto 2, D. Dzahini 2, J. Lecoq 1, J. Pouxe 2, J. Colas 1, (1) L. A. P. P. Annecy-le-vieux, France (2) I. S. N. Grenoble,

More information

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari Sequential Circuits The combinational circuit does not use any memory. Hence the previous state of input does not have any effect on the present state of the circuit. But sequential circuit has memory

More information

Sequential Logic Basics

Sequential Logic Basics Sequential Logic Basics Unlike Combinational Logic circuits that change state depending upon the actual signals being applied to their inputs at that time, Sequential Logic circuits have some form of inherent

More information

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University EECTRICA ENGINEERING DEPARTMENT California Polytechnic State University EE 361 NAND ogic Gate, RS Flip-Flop & JK Flip-Flop Pre-lab 7 1. Draw the logic symbol and construct the truth table for a NAND gate.

More information

Reaction Game Kit MitchElectronics 2019

Reaction Game Kit MitchElectronics 2019 Reaction Game Kit MitchElectronics 2019 www.mitchelectronics.co.uk CONTENTS Schematic 3 How It Works 4 Materials 6 Construction 8 Important Information 9 Page 2 SCHEMATIC Page 3 SCHEMATIC EXPLANATION The

More information

D Latch (Transparent Latch)

D Latch (Transparent Latch) D Latch (Transparent Latch) -One way to eliminate the undesirable condition of the indeterminate state in the SR latch is to ensure that inputs S and R are never equal to 1 at the same time. This is done

More information

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops Objective Construct a two-bit binary decoder. Study multiplexers (MUX) and demultiplexers (DEMUX). Construct an RS flip-flop from discrete gates.

More information

16 Stage Bi-Directional LED Sequencer

16 Stage Bi-Directional LED Sequencer 16 Stage Bi-Directional LED Sequencer The bi-directional sequencer uses a 4 bit binary up/down counter (CD4516) and two "1 of 8 line decoders" (74HC138 or 74HCT138) to generate the popular "Night Rider"

More information

CSE 352 Laboratory Assignment 3

CSE 352 Laboratory Assignment 3 CSE 352 Laboratory Assignment 3 Introduction to Registers The objective of this lab is to introduce you to edge-trigged D-type flip-flops as well as linear feedback shift registers. Chapter 3 of the Harris&Harris

More information

Bell. Program of Study. Accelerated Digital Electronics. Dave Bell TJHSST

Bell. Program of Study. Accelerated Digital Electronics. Dave Bell TJHSST Program of Study Accelerated Digital Electronics TJHSST Dave Bell Course Selection Guide Description: Students learn the basics of digital electronics technology as they engineer a complex electronic system.

More information

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS In the same way that logic gates are the building blocks of combinatorial circuits, latches

More information

Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003

Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003 1 Introduction Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003 Circuits for counting both forward and backward events are frequently used in computers and other digital systems. Digital

More information

EE 367 Lab Part 1: Sequential Logic

EE 367 Lab Part 1: Sequential Logic EE367: Introduction to Microprocessors Section 1.0 EE 367 Lab Part 1: Sequential Logic Contents 1 Preface 1 1.1 Things you need to do before arriving in the Laboratory............... 2 1.2 Summary of material

More information

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur Logic Gates, Timers, Flip-Flops & Counters Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur Logic Gates Transistor NOT Gate Let I C be the collector current.

More information

Chapter 7 Counters and Registers

Chapter 7 Counters and Registers Chapter 7 Counters and Registers Chapter 7 Objectives Selected areas covered in this chapter: Operation & characteristics of synchronous and asynchronous counters. Analyzing and evaluating various types

More information

Digital Circuits 4: Sequential Circuits

Digital Circuits 4: Sequential Circuits Digital Circuits 4: Sequential Circuits Created by Dave Astels Last updated on 2018-04-20 07:42:42 PM UTC Guide Contents Guide Contents Overview Sequential Circuits Onward Flip-Flops R-S Flip Flop Level

More information

Logic Design ( Part 3) Sequential Logic (Chapter 3)

Logic Design ( Part 3) Sequential Logic (Chapter 3) o Far: Combinational Logic Logic esign ( Part ) equential Logic (Chapter ) Based on slides McGraw-Hill Additional material 24/25/26 Lewis/Martin Additional material 28 oth Additional material 2 Taylor

More information

COMP sequential logic 1 Jan. 25, 2016

COMP sequential logic 1 Jan. 25, 2016 OMP 273 5 - sequential logic 1 Jan. 25, 2016 Sequential ircuits All of the circuits that I have discussed up to now are combinational digital circuits. For these circuits, each output is a logical combination

More information

Lecture 8: Sequential Logic

Lecture 8: Sequential Logic Lecture 8: Sequential Logic Last lecture discussed how we can use digital electronics to do combinatorial logic we designed circuits that gave an immediate output when presented with a given set of inputs

More information

TYPICAL QUESTIONS & ANSWERS

TYPICAL QUESTIONS & ANSWERS DIGITALS ELECTRONICS TYPICAL QUESTIONS & ANSWERS OBJECTIVE TYPE QUESTIONS Each Question carries 2 marks. Choose correct or the best alternative in the following: Q.1 The NAND gate output will be low if

More information

Sequential Logic Notes

Sequential Logic Notes Sequential Logic Notes Andrew H. Fagg igital logic circuits composed of components such as AN, OR and NOT gates and that do not contain loops are what we refer to as stateless. In other words, the output

More information

Chapter 3: Sequential Logic Systems

Chapter 3: Sequential Logic Systems Chapter 3: Sequential Logic Systems 1. The S-R Latch Learning Objectives: At the end of this topic you should be able to: design a Set-Reset latch based on NAND gates; complete a sequential truth table

More information

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.111 - Introductory Digital Systems Laboratory How to Make Your 6.111 Project Work There are a few tricks

More information

Principles of Computer Architecture. Appendix A: Digital Logic

Principles of Computer Architecture. Appendix A: Digital Logic A-1 Appendix A - Digital Logic Principles of Computer Architecture Miles Murdocca and Vincent Heuring Appendix A: Digital Logic A-2 Appendix A - Digital Logic Chapter Contents A.1 Introduction A.2 Combinational

More information

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20 Advanced Devices Using a combination of gates and flip-flops, we can construct more sophisticated logical devices. These devices, while more complex, are still considered fundamental to basic logic design.

More information

FLIP-FLOPS AND RELATED DEVICES

FLIP-FLOPS AND RELATED DEVICES C H A P T E R 5 FLIP-FLOPS AND RELATED DEVICES OUTLINE 5- NAND Gate Latch 5-2 NOR Gate Latch 5-3 Troubleshooting Case Study 5-4 Digital Pulses 5-5 Clock Signals and Clocked Flip-Flops 5-6 Clocked S-R Flip-Flop

More information

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING DRONACHARYA GROUP OF INSTITUTIONS, GREATER NOIDA Affiliated to Mahamaya Technical University, Noida Approved by AICTE DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Lab Manual for Computer Organization Lab

More information

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both). 1 The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both). The value that is stored in a flip-flop when the clock pulse occurs

More information

Computer Systems Architecture

Computer Systems Architecture Computer Systems Architecture Fundamentals Of Digital Logic 1 Our Goal Understand Fundamentals and basics Concepts How computers work at the lowest level Avoid whenever possible Complexity Implementation

More information

Computer Architecture and Organization

Computer Architecture and Organization A-1 Appendix A - Digital Logic Computer Architecture and Organization Miles Murdocca and Vincent Heuring Appendix A Digital Logic A-2 Appendix A - Digital Logic Chapter Contents A.1 Introduction A.2 Combinational

More information

Slide Set 7. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Slide Set 7. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary Slide Set 7 for ENEL 353 Fall 216 Steve Norman, PhD, PEng Electrical & Computer Engineering Schulich School of Engineering University of Calgary Fall Term, 216 SN s ENEL 353 Fall 216 Slide Set 7 slide

More information

Digital Circuits I and II Nov. 17, 1999

Digital Circuits I and II Nov. 17, 1999 Physics 623 Digital Circuits I and II Nov. 17, 1999 Digital Circuits I 1 Purpose To introduce the basic principles of digital circuitry. To understand the small signal response of various gates and circuits

More information

Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No. # 29 Minimizing Switched Capacitance-III. (Refer

More information

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur SEQUENTIAL LOGIC Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur www.satish0402.weebly.com OSCILLATORS Oscillators is an amplifier which derives its input from output. Oscillators

More information

Introduction to Sequential Circuits

Introduction to Sequential Circuits Introduction to Sequential Circuits COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals Presentation Outline Introduction to Sequential Circuits Synchronous

More information

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS One common requirement in digital circuits is counting, both forward and backward. Digital clocks and

More information

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

DIGITAL ELECTRONICS: LOGIC AND CLOCKS DIGITL ELECTRONICS: LOGIC ND CLOCKS L 6 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

COMP12111: Fundamentals of Computer Engineering

COMP12111: Fundamentals of Computer Engineering COMP2: Fundamentals of Computer Engineering Part I Course Overview & Introduction to Logic Paul Nutter Introduction What is this course about? Computer hardware design o not electronics nothing nasty like

More information

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time. Clocks A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states. The length of time the clock is high before changing states is its high

More information

Experiment 8 Introduction to Latches and Flip-Flops and registers

Experiment 8 Introduction to Latches and Flip-Flops and registers Experiment 8 Introduction to Latches and Flip-Flops and registers Introduction: The logic circuits that have been used until now were combinational logic circuits since the output of the device depends

More information

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath Objectives Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath In the previous chapters we have studied how to develop a specification from a given application, and

More information

successive approximation register (SAR) Q digital estimate

successive approximation register (SAR) Q digital estimate Physics 5 Lab 4 Analog / igital Conversion The goal of this lab is to construct a successive approximation analog-to-digital converter (AC). The block diagram of such a converter is shown below. CLK comparator

More information

Logic Design Viva Question Bank Compiled By Channveer Patil

Logic Design Viva Question Bank Compiled By Channveer Patil Logic Design Viva Question Bank Compiled By Channveer Patil Title of the Practical: Verify the truth table of logic gates AND, OR, NOT, NAND and NOR gates/ Design Basic Gates Using NAND/NOR gates. Q.1

More information

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it, Solution to Digital Logic -2067 Solution to digital logic 2067 1.)What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it, A Magnitude comparator is a combinational

More information

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters The Islamic University of Gaza Engineering Faculty Department of Computer Engineering Spring 2018 ECOM 2022 Khaleel I. Shaheen Sequential Digital Design Laboratory Manual Experiment #7 Counters Objectives

More information

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore)

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore) Laboratory 10 Digital Circuits - Logic and Latching (modified from lab text by Alciatore) Required Components: 1x 330 resistor 4x 1k resistor 2x 0.F capacitor 1x 2N3904 small signal transistor 1x LED 1x

More information

DIGITAL CIRCUIT COMBINATORIAL LOGIC

DIGITAL CIRCUIT COMBINATORIAL LOGIC DIGITAL CIRCUIT COMBINATORIAL LOGIC Logic levels: one zero true false high low CMOS logic levels: 1 => 0.7 V DD 0.4 V DD = noise margin 0 =< 0.3 V DD Positive logic: high = 1 = true low = 0 = false Negative

More information

Cascadable 4-Bit Comparator

Cascadable 4-Bit Comparator EE 415 Project Report for Cascadable 4-Bit Comparator By William Dixon Mailbox 509 June 1, 2010 INTRODUCTION... 3 THE CASCADABLE 4-BIT COMPARATOR... 4 CONCEPT OF OPERATION... 4 LIMITATIONS... 5 POSSIBILITIES

More information

(Refer Slide Time: 1:45)

(Refer Slide Time: 1:45) (Refer Slide Time: 1:45) Digital Circuits and Systems Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology, Madras Lecture - 30 Encoders and Decoders So in the last lecture

More information

Laboratory 7. Lab 7. Digital Circuits - Logic and Latching

Laboratory 7. Lab 7. Digital Circuits - Logic and Latching Laboratory 7 igital Circuits - Logic and Latching Required Components: 1 330 resistor 4 resistor 2 0.1 F capacitor 1 2N3904 small signal transistor 1 LE 1 7408 AN gate IC 1 7474 positive edge triggered

More information

Lec 24 Sequential Logic Revisited Sequential Circuit Design and Timing

Lec 24 Sequential Logic Revisited Sequential Circuit Design and Timing Traversing igital esign EECS - Components and esign Techniques for igital Systems EECS wks 6 - Lec 24 Sequential Logic Revisited Sequential Circuit esign and Timing avid Culler Electrical Engineering and

More information

UNIT IV. Sequential circuit

UNIT IV. Sequential circuit UNIT IV Sequential circuit Introduction In the previous session, we said that the output of a combinational circuit depends solely upon the input. The implication is that combinational circuits have no

More information

PHY 351/651 LABORATORY 9 Digital Electronics The Basics

PHY 351/651 LABORATORY 9 Digital Electronics The Basics PHY 351/651 LABORATORY 9 Digital Electronics The Basics Reading Assignment Horowitz, Hill Chap. 8 Data sheets 74HC10N, 74HC86N, 74HC04N, 74HC03N, 74HC32N, 74HC08N, CD4007UBE, 74HC76N, LM555 Overview Over

More information

WINTER 14 EXAMINATION

WINTER 14 EXAMINATION Subject Code: 17320 WINTER 14 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)

More information

Synchronous Sequential Logic

Synchronous Sequential Logic Synchronous Sequential Logic Ranga Rodrigo August 2, 2009 1 Behavioral Modeling Behavioral modeling represents digital circuits at a functional and algorithmic level. It is used mostly to describe sequential

More information

ELEN Electronique numérique

ELEN Electronique numérique ELEN0040 - Electronique numérique Patricia ROUSSEAUX Année académique 2014-2015 CHAPITRE 5 Sequential circuits design - Timing issues ELEN0040 5-228 1 Sequential circuits design 1.1 General procedure 1.2

More information

Microcontrollers and Interfacing week 7 exercises

Microcontrollers and Interfacing week 7 exercises SERIL TO PRLLEL CONVERSION Serial to parallel conversion Microcontrollers and Interfacing week exercises Using many LEs (e.g., several seven-segment displays or bar graphs) is difficult, because only a

More information

EEC 118 Lecture #9: Sequential Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

EEC 118 Lecture #9: Sequential Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation EEC 118 Lecture #9: Sequential Logic Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation Outline Review: Static CMOS Logic Finish Static CMOS transient analysis Sequential

More information

Logic Circuits. A gate is a circuit element that operates on a binary signal.

Logic Circuits. A gate is a circuit element that operates on a binary signal. Logic Circuits gate is a circuit element that operates on a binary signal. Logic operations typically have three methods of description:. Equation symbol 2. Truth table 3. Circuit symbol The binary levels

More information

Module -5 Sequential Logic Design

Module -5 Sequential Logic Design Module -5 Sequential Logic Design 5.1. Motivation: In digital circuit theory, sequential logic is a type of logic circuit whose output depends not only on the present value of its input signals but on

More information

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533 Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop Course project for ECE533 I. Objective: REPORT-I The objective of this project is to design a 4-bit counter and implement it into a chip

More information

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM MDETS UCTECH's Modular Digital Electronics Training System is a modular course covering the fundamentals, concepts, theory and applications of digital electronics.

More information

Chapter 9 MSI Logic Circuits

Chapter 9 MSI Logic Circuits Chapter 9 MSI Logic Circuits Chapter 9 Objectives Selected areas covered in this chapter: Analyzing/using decoders & encoders in circuits. Advantages and disadvantages of LEDs and LCDs. Observation/analysis

More information

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

L4: Sequential Building Blocks (Flip-flops, Latches and Registers) L4: Sequential Building Blocks (Flip-flops, Latches and Registers) Acknowledgements: Lecture material adapted from R. Katz, G. Borriello, Contemporary Logic esign (second edition), Prentice-Hall/Pearson

More information

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100 MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER 2016 CS 203: Switching Theory and Logic Design Time: 3 Hrs Marks: 100 PART A ( Answer All Questions Each carries 3 Marks )

More information

Decade Counters Mod-5 counter: Decade Counter:

Decade Counters Mod-5 counter: Decade Counter: Decade Counters We can design a decade counter using cascade of mod-5 and mod-2 counters. Mod-2 counter is just a single flip-flop with the two stable states as 0 and 1. Mod-5 counter: A typical mod-5

More information

Digital Circuits. Innovation Fellows Program

Digital Circuits. Innovation Fellows Program Innovation Fellows Program Digital Circuits, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Topics Digital Electronics TTL and CMOS Logic National Instrument s

More information

Previous Lecture Sequential Circuits. Slide Summary of contents covered in this lecture. (Refer Slide Time: 01:55)

Previous Lecture Sequential Circuits. Slide Summary of contents covered in this lecture. (Refer Slide Time: 01:55) Previous Lecture Sequential Circuits Digital VLSI System Design Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology, Madras Lecture No 7 Sequential Circuit Design Slide

More information

AC103/AT103 ANALOG & DIGITAL ELECTRONICS JUN 2015

AC103/AT103 ANALOG & DIGITAL ELECTRONICS JUN 2015 Q.2 a. Draw and explain the V-I characteristics (forward and reverse biasing) of a pn junction. (8) Please refer Page No 14-17 I.J.Nagrath Electronic Devices and Circuits 5th Edition. b. Draw and explain

More information

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Chapter 6. Flip-Flops and Simple Flip-Flop Applications Chapter 6 Flip-Flops and Simple Flip-Flop Applications Basic bistable element It is a circuit having two stable conditions (states). It can be used to store binary symbols. J. C. Huang, 2004 Digital Logic

More information

Sequential logic circuits

Sequential logic circuits Computer Mathematics Week 10 Sequential logic circuits College of Information Science and Engineering Ritsumeikan University last week combinational digital circuits signals and busses logic gates and,

More information

Sequencing. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall,

Sequencing. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, Sequencing ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2013 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines Introduction Sequencing

More information

Static Timing Analysis for Nanometer Designs

Static Timing Analysis for Nanometer Designs J. Bhasker Rakesh Chadha Static Timing Analysis for Nanometer Designs A Practical Approach 4y Spri ringer Contents Preface xv CHAPTER 1: Introduction / 1.1 Nanometer Designs 1 1.2 What is Static Timing

More information

CS/ECE 250: Computer Architecture. Basics of Logic Design: ALU, Storage, Tristate. Benjamin Lee

CS/ECE 250: Computer Architecture. Basics of Logic Design: ALU, Storage, Tristate. Benjamin Lee CS/ECE 25: Computer Architecture Basics of Logic esign: ALU, Storage, Tristate Benjamin Lee Slides based on those from Alvin Lebeck, aniel, Andrew Hilton, Amir Roth, Gershon Kedem Homework #3 ue Mar 7,

More information

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers Registers Registers are a very important digital building block. A data register is used to store binary information appearing at the output of an encoding matrix.shift registers are a type of sequential

More information

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states. Clocks A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states. 1 The length of time the clock is high before changing states is its

More information

Asynchronous (Ripple) Counters

Asynchronous (Ripple) Counters Circuits for counting events are frequently used in computers and other digital systems. Since a counter circuit must remember its past states, it has to possess memory. The chapter about flip-flops introduced

More information

COMP2611: Computer Organization. Introduction to Digital Logic

COMP2611: Computer Organization. Introduction to Digital Logic 1 COMP2611: Computer Organization Sequential Logic Time 2 Till now, we have essentially ignored the issue of time. We assume digital circuits: Perform their computations instantaneously Stateless: once

More information