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

Similar documents
WINTER 15 EXAMINATION Model Answer

D Latch (Transparent Latch)

RS flip-flop using NOR gate

RS flip-flop using NOR gate

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

WINTER 14 EXAMINATION

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

Introduction to Microprocessor & Digital Logic

Decade Counters Mod-5 counter: Decade Counter:

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

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

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

Other Flip-Flops. Lecture 27 1

Sequential Logic and Clocked Circuits

Sequential Logic Circuits

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

CPS311 Lecture: Sequential Circuits

Computer Systems Architecture

LAB #4 SEQUENTIAL LOGIC CIRCUIT

Chapter 4. Logic Design

DIGITAL CIRCUIT COMBINATORIAL LOGIC

UNIT IV. Sequential circuit

Introduction to Sequential Circuits

Chapter. Synchronous Sequential Circuits

Lecture 8: Sequential Logic

ELCT201: DIGITAL LOGIC DESIGN

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

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

Vignana Bharathi Institute of Technology UNIT 4 DLD

CHAPTER 4: Logic Circuits

Slide 1. Flip-Flops. Cross-NOR SR flip-flop S R Q Q. hold reset set not used. Cross-NAND SR flip-flop S R Q Q. not used reset set hold 1 Q.

Unit 11. Latches and Flip-Flops

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

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Chapter 8 Sequential Circuits

CHAPTER 4: Logic Circuits

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

Physics 323. Experiment # 10 - Digital Circuits

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

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

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.

Sequential Logic Basics

PESIT Bangalore South Campus

Counters

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).

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

Delta-Sigma ADC

IT T35 Digital system desigm y - ii /s - iii

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 220. Experiment 4 - Latches and Flip-Flops

Chapter 5: Synchronous Sequential Logic

EE292: Fundamentals of ECE

Experiment 8 Introduction to Latches and Flip-Flops and registers

Digital Networks and Systems Laboratory 2 Basic Digital Building Blocks Time 4 hours

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Chapter 6 Digital Circuit 6-5 Department of Mechanical Engineering

Logic Design. Flip Flops, Registers and Counters

TRAINING KITS ON DIGITAL ELECTRONIC EXPERIMENTS. Verify Truth table for TTL IC s AND, NOT, & NAND GATES

Saturated Non Saturated PMOS NMOS CMOS RTL Schottky TTL ECL DTL I I L TTL

3 Flip-Flops. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted.

Logic Design Viva Question Bank Compiled By Channveer Patil

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

Synchronous Sequential Logic

AIM: To study and verify the truth table of logic gates

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

12/31/2010. Overview. 12-Latches and Flip Flops Text: Unit 11. Sequential Circuits. Sequential Circuits. Feedback. Feedback

Analogue Versus Digital [5 M]

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

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

MODULE 3. Combinational & Sequential logic

MC9211 Computer Organization

INTRODUCTION TO SEQUENTIAL CIRCUITS

Notes on Digital Circuits

Digital Circuits. Innovation Fellows Program

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous)

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

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

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1

Rangkaian Sekuensial. Flip-flop

DIGITAL ELECTRONICS MCQs

Sequential Circuits: Latches & Flip-Flops

TEST-3 (DIGITAL ELECTRONICS)-(EECTRONIC)

Review of Flip-Flop. Divya Aggarwal. Student, Department of Physics and Astro-Physics, University of Delhi, New Delhi. their state.

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

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

Module -5 Sequential Logic Design

MUX AND FLIPFLOPS/LATCHES

ECE 341. Lecture # 2

Asynchronous (Ripple) Counters

CCE RR REVISED & UN-REVISED KARNATAKA SECONDARY EDUCATION EXAMINATION BOARD, MALLESWARAM, BANGALORE G È.G È.G È..

ELE2120 Digital Circuits and Systems. Tutorial Note 7

[2 credit course- 3 hours per week]

Counter dan Register

REPEAT EXAMINATIONS 2002

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

The NOR latch is similar to the NAND latch

CHAPTER1: Digital Logic Circuits

Transcription:

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 when the value of J and K =1 and at the same time value of clock is 1, so according to the truth table of J = K =1 the value of output should be toggled so the value keep on changing till the change in the clock pulse is known as Race around condition. Ans-(x): f c = 1/ t, =1/10-7 = 10 7 Hz. Section-[B] Ans-2: Transistor transistor logic (TTL) is a class of digital circuits built from bipolar junction transistors (BJT) and resistors. It is called transistor transistor logic because both the logic gating function (e.g., AND) and the amplifying function are performed by transistors. TTL is notable for being an integrated circuit (IC) family used in many applications such as computers, industrial controls, test equipment and instrumentation etc. Verification of NAND Gate: The evolution from DTL to TTL can be seen by observing the placement of p-n junctions. For example, the diode in DTL can be replaced by a transistor whose collector is pulled up to the power supply. The p-n junction of D2 is replaced by the BE junction of Q2 and with the current gain of the transistor, the current going into the base of Q3 is greatly increased, increasing the fanout. 1

Truth Table of NAND Gate: A B Y 0 0 1 0 1 1 1 0 1 1 1 0 Ans. 3: A flip-flop is a memory device that samples and acts upon its input lines only when it is told to do so with a special timing signal called the clock. This may be in the form of a level or an edge. A level trigger means that the flip-flop samples its inputs depending upon the voltage level of the trigger input. An edge trigger means that the flip-flop samples its inputs depending on a LOW-to-HIGH transition on the trigger line or a HIGH-to-LOW transition on a trigger line. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted. The RS latch can be forced to hold a 0 when the Reset line is asserted. The RS latch will hold it current value (state) if the Set and Reset lines are not asserted. The circuit for he RS latch can be seen below. Truth Table Inputs Output Q Operation performed CK Cr Pr 1 1 1 Q n+1 Normal Flip-flop 0 0 1 0 Clear 0 1 0 1 Present 2

The inputs are called preset and clear. They affect the flip-flop without the need for a clock pulse. These inputs can be useful to bring the flip-flop to an initial state prior to its clocked operation. In practice, it is often preferable to clear the flip-flops on the active edge of the clock. Set S to 0 and R to 1. This resets the flip-flop which means that Q is a 0 and Q' is a 1. This will always be the case when S=0 and R=1 regardless of the previous state of Q. Go from S=0 and R=1 to S=0 and R=0. Q stays at 0 because SR=00 is the no change input combination and the previous state of Q was a 0. Set S to 1 and R to 0. This input combination sets the flip-flop (Q=1, Qi=0) regardless of the previous state of Q. Go from SR=10 to SR=00. This time Q stays at 1 which confirms that Q does not change state if S and R are 00. Set S to a 1 and R to a 1. This input combination is disallowed since Q and Q' are both 0 and are not complements of each other. Ans.-4: A register is a memory device that can be used to store more than one bit of information. A register is usually realized as several flip-flops with common control signals that control the movement of data to and from the register. A shift register is a register whose data can be shifted right or left. A register which is capable of shifting its binary information either to the right or to the left is called a shift register. It consists of a number of flip-flops cascaded together with the output of one flip-flop connected to the input of the next. All flip-flops in the register receive a common clock pulse that causes the shift from one state to the next. A shift register is useful since a given binary number is multiplied by 2 if its bits are shifted one bit position to the left. Similarly, a number is divided by 2, if the bits are shifted one position to the right. 3

Ans-5: Analog refers to physical quantities that vary continuously instead of discretely. Physical phenomena typically involve analog signals. Examples include temperature, speed, position, pressure, voltage, altitude, etc. For a digital system to interact with analog systems, conversion between analog and digital values is needed. Building blocks to perform the conversions are: (1) Digital to analog converters (DAC), (2) Analog to digital converters (ADC). A digital to analog converter has a digital input that specifies an output whose value changes in steps. These step changes are in volts or amperes. The analog to digital converter has an input that can vary from a minimum to a maximum value of volts or amperes. The output is a digital number that represents the input value. Analog number = (bn-1 2 1 + bn-2 2 2 + +b0 2 n ) x stepsize + offset = (digital number x step size) + offset Digital number = (analog number offset)/ (step size) 4

A DAC takes an n- bit digital input and output a corresponding analog voltage. DAC systems normally consist of three components: (a) A reference voltage, (b) The DAC itself, (c) An op amp for output buffering. Many digital-to-analog converters use R-2R ladder network. The switches are analog switches controlled by digital signals. The output voltage (Vo) is proportional to the binary input. Each branch of the ladder network contributes current whose value is proportional to the bit weight of that branch. The amplifier circuit sums the current components to produce a voltage proportional to the binary input. Ans.6: (a) Edge triggering is when the flip-flop state is changed as the rising or falling edge of a clock signal passes through a threshold voltage. An edge-triggered flip-flop that changes states at the positive edge (rising edge) of the clock pulse on the control input is known positive edge triggered and when it changed the state at the negative edge (falling edge) of the clock pulse on the control input is known as negative edge triggered. (b) Find out the Analog equivalent voltage of binary 1110 if the reference voltage is 2.2V? Ans: Given VR=2.2 V and n=4 5

We know that analog voltage =2.2/15[8x1+4x1+2x1+1x0]= 2.05 Volt Ans.7: The JK is a refinement of the SR flip-flop in that the indeterminate state Flip-Flops, Registers, and Counters of the SR is defined in the JK type. To differentiate between the standard SR and this new variant (without an indeterminate state), the Sand R inputs are simply renamed in the JK flip-flop: J = Set (S); and K = Reset (R). In the JK flip-flop, if both the J and K inputs are 1, both cannot pass the signal and there is race around condition. If Q=1 the K signal can pass through and, upon application of the clock pulse, the flip-flop is cleared. When Q'=1, the J signal can pass through and, upon application of the clock pulse, the flip-flop is set. In either case, for J=K=1, the output of the flip-flop is complemented. 6

In the initial condition when all the inputs are zero i.e. J=0 and K=0 the output remains unchanged as there is no any active reaction in the J-K flip flop. Ans.-8: The Master-Slave Flip-Flop is basically two gated SR flip-flops connected together in a series configuration with the slave having an inverted clock pulse. The outputs from Q and Q from the "Slave" flip-flop are fed back to the inputs of the "Master" with the outputs of the "Master" flip-flop being connected to the two inputs of the "Slave" flip-flop. This feedback configuration from the slave's output to the master's input gives the characteristic toggle of the JK flip-flop as shown below. T-Type Flip-flop: 7

Truth Table: Input T n Output Q n+1 0 Q n 1 Q n The T type flip-flop is a single input device T (trigger). Two outputs: Q and Q' (where Q' is the inverse of Q). The operation of the T type flip-flop is as follows: A '0' input to 'T' will make the next state the same as the present state (i.e. T = 0 present state = 0 therefore next state = 0). However a '1' input to 'T' will change the next state to the inverse of the present state (i.e. T = 1 present state = 0 therefore next state = 1). The T type flip-flop is an edge driven device. Therefore you should not associate 1 and 0 with levels, but instead 1 should be considered as a pulse, and 0 as no pulse. D type flip-flop (Delay) Truth Table: Input D n Output Q n+1 0 0 1 1 The D type flip-flop has one data input 'D' and a clock input. The circuit edge triggers on the clock input. The flip-flop also has two outputs Q and Q' (where Q' is the reverse of Q). Any input appearing (present state) at the input D, will be produced at the output Q in time T+1 (next state). e.g. if in the present state we have D = 0 and Q = 1, the next state will be D = anything and Q = 0. When T=1 and CP=1, the flip-flop complements its output, regardless of the present state of the Flip-flop. In this case the next state is the complement of the present state. When T=0, there is no change in the state of the flip-flop (i.e.) the next state is same as the present state of the flip-flop. From the characteristic table and characteristic equation it is quite evident that when T=0, the next sate is same as the present state. 8