Brought to you by. Priti Srinivas Sajja. PS01CMCA02 Course Content. Tutorial Practice Material. Acknowldgement References. Website pritisajja.

Similar documents
Module -18 Flip flops

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

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

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

IES Digital Mock Test

UNIT II: Clocked Synchronous Sequential Circuits. CpE 411 Advanced Logic Circuits Design 1

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

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

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

Spec. Instructor: Center

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

Chapter 5 Sequential Logic Circuits Part II Hiroaki Kobayashi 7/11/2011

DIGITAL ELECTRONICS QUESTION BANK

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

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

CONTENTS Sl. No. Experiment Page No

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING SEMESTER TWO EXAMINATION 2017/2018

Module-20 Shift Registers

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

Electronics. Digital Electronics

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

Lecture 3: Logic circuit. Combinational circuit and sequential circuit

Practical Workbook Logic Design & Switching Theory

EXPERIMENT NO 1 TRUTH TABLE (1)

Chapter 5 Sequential Logic Circuits Part II Hiroaki Kobayashi 6/30/2008

Adder Comparator 7 segment display Decoder for 7 segment display D flip flop Analysis of sequential circuits. Sequence detector

Laboratory Manual CS (P) Digital Systems Lab

HIGH LOW Astable multivibrators HIGH LOW 1:1

Linear & Digital IC Applications (BRIDGE COURSE)

EECS 150 Homework 4 Solutions Fall 2008

Computer Architecture: Part II. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University

SRV ENGINEERING COLLEGE SEMBODAI RUKMANI VARATHARAJAN ENGINEERING COLLEGE SEMBODAI

EECS-140/141 Introduction to Digital Logic Design Lecture 7:Sequential Logic Basics

Serial Addition. Lecture 29 1

Lecture 20: Several Commercial Counters & Shift Register

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

Computer Systems and Networks. ECPE 170 Jeff Shafer University of the Pacific. Digital Logic

Department of Electronics and Communication Engineering

Digital Logic Circuits

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

EE 42/100 Lecture 24: Latches and Flip Flops. Rev A 4/14/2010 (8:30 PM) Prof. Ali M. Niknejad

CS302 - Digital Logic Design Glossary By

Java Bread Board Introductory Digital Electronics Exercise 2, Page 1

DELD MODEL ANSWER DEC 2018

NORTH MAHARASHTRA UNIVERSITY, JALGAON

LESSON PLAN. Sub Code & Name: ME2255 Electronics and Microprocessors Unit : I Branch : ME Semester: IV UNIT I SEMICONDUCTORS AND RECTIFIERS 9

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

GATE Online Free Material

Written exam IE1204/5 Digital Design Friday 13/

NORTH MAHARASHTRA UNIVERSITY. F.Y. B. Sc. Electronics. Syllabus. Wieth effect from june2015

Code No: R Set No. 1

Digital Electronic Concepts

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

COLLEGE OF ENGINEERING, NASIK

! Sequential Logic. ! Timing Hazards. ! Dynamic Logic. ! Add state elements (registers, latches) ! Compute. " From state elements

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

Digital Circuits Laboratory LAB no. 12. REGISTERS

HAZARDS AND PULSE MODE SEQUENTIAL CIRCUITS

Sr. No. Instrument Specifications. TTL (Transistor-Transistor Logic) based on bipolar junction transistors

FUNCTION OF COMBINATIONAL LOGIC CIRCUIT

CMOS Digital Integrated Circuits Lec 11 Sequential CMOS Logic Circuits

(CSC-3501) Lecture 6 (31 Jan 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

CMOS Digital Integrated Circuits Analysis and Design

Computer Architecture and Organization:

Digital Electronics Course Objectives

UNIT-IV Combinational Logic

DIGITAL CIRCUITS AND SYSTEMS ASSIGNMENTS 1 SOLUTIONS

Electronic Components And Circuit Analysis

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Dhanalakshmi College of Engineering

6.111 Lecture # 19. Controlling Position. Some General Features of Servos: Servomechanisms are of this form:

DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING

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

Lecture 02: Digital Logic Review

E-Tec Module Part No

Dr. Nicola Nicolici COE/EE2DI4 Midterm Test #1 Oct 18, 2006

1 Q' 3. You are given a sequential circuit that has the following circuit to compute the next state:

CHAPTER 5 DESIGNS AND ANALYSIS OF SINGLE ELECTRON TECHNOLOGY BASED MEMORY UNITS

Combinational Logic Circuits. Combinational Logic

0 0 Q Q Q Q

Paper No. Name of the Paper Theory marks Practical marks Periods per week Semester-I I Semiconductor

ELECTRONICS ADVANCED SUPPLEMENTARY LEVEL

ENGIN 112 Intro to Electrical and Computer Engineering

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

PHYSICS 536 Experiment 14: Basic Logic Circuits

Introduction. BME208 Logic Circuits Yalçın İŞLER

CPE/EE 427, CPE 527 VLSI Design I: Homeworks 3 & 4

Multiplier and Accumulator Using Csla

! Review: Sequential MOS Logic. " SR Latch. " D-Latch. ! Timing Hazards. ! Dynamic Logic. " Domino Logic. ! Charge Sharing Setup.

EE584 Introduction to VLSI Design Final Project Document Group 9 Ring Oscillator with Frequency selector

Positive and Negative Logic

Unit level 4 Credit value 15. Introduction. Learning Outcomes

Course Outline Cover Page

! Is it feasible? ! How do we decompose the problem? ! Vdd. ! Topology. " Gate choice, logical optimization. " Fanin, fanout, Serial vs.

Low Power Adiabatic Logic Design

ELECTRONIC CIRCUITS. Time: Three Hours Maximum Marks: 100

S-[F] NPW-02 June All Syllabus B.Sc. [Electronics] Ist Year Semester-I & II.doc - 1 -

EE6301 DIGITAL LOGIC CIRCUITS LT P C UNIT I NUMBER SYSTEMS AND DIGITAL LOGIC FAMILIES 9

Design of low-power, high performance flip-flops

SIMULATION DESIGN TOOL LABORATORY MANUAL

Transcription:

Brought to you by Priti Srinivas Sajja PS01CMCA02 Course Content Tutorial Practice Material Acknowldgement References Website pritisajja.info

Multiplexer Means many into one, also called data selector 4 to 1 multiplexer circuit http://electrosofts.com/verilog/mux.html

Multiplexer Means many into one, also called data selector Add two more select here for 16 to 1 multiplexing 4 to 1 multiplexer circuit

Multiplexer 16 to 1 multiplexer circuit

Word Comparator Register having word A Register having word B Word Comparator If word size is 4 then it is also known as nibble comparator.

Nibble Multiplexer Find out what this circuit does???

Nibble Multiplexer L1 L2 L3 L4 R1 R2 R3 R4 R Not AND AND AND AND AND AND AND AND OR OR OR OR OUT

Control Inverter

Combinational and Arithmetic Circuits As we see, the sum can be found using the XOR operation and the carry using the AND operation.

Combinational and Arithmetic Circuits The completed full adder is as follows.

Combinational and Arithmetic Circuits Just as we combined half adders to make a full adder, full adders can connected in series. The carry bit ripples from one adder to the next; hence, this configuration is called a ripple-carry adder. We may add half adder here Today s systems employ more efficient adders.

Binary Adder A 3 B 3 A 2 B 2 A 1 B 1 A 0 B 0 C 4 FA C 3 FA C 2 FA C 1 HA S 3 S 2 S 1 S 0

2 s complement adder subtractor Try with A=1001 and B=0010.

Latches and Flip flops A flip flop is a device that with two stable states, it remains in one till it is triggered to the other. It is also known as SR latch (set reset). R S Q Comme nts 0 0 NC No change 0 1 1 Set 1 0 0 Reset 1 1 * Race

Latches and Flip flops A latch is a 1 bit memory that remembers previous input values. R S Q Comments 0 0 NC No change 0 1 1 Set 1 0 0 Reset R 1 1 * Race S Q

Latches and Flip flops SR latch The most fundamental latch where S and R stand for set and reset. It can be constructed from a pair of cross coupled NOR logic gates. The stored bit is present on the output marked Q. While the S and R inputs are both low, feedback maintains the Q and Q outputs in a constant state, with Q the complement of Q. If S (Set) is pulsed high while R (Reset) is held low, then the Q output is forced high, and stays high when S returns to low; similarly, if R is pulsed high while S is held low, then the Q output is forced low, and stays low when R returns to low.

Latches and Flip flops This is an alternate model of the simple SR latch which is built with NAND (not AND) logic gates.

Clocked Latch clk clk Positive Positive CLK R S Q 0 0 0 NC 0 0 1 NC 0 1 0 NC 0 1 1 NC 1 0 0 NC 1 0 1 1 1 1 0 0 1 1 1 * * Race, never used R S Q

Clocked D Latch CLK D Q 0 X NC 1 0 0 1 1 1 Most widely used. In the D latch, when the CLK input is logic 1, the Q output will always reflect the logic level present at the D input, no matter how that changes. When the CLK input falls to logic 0, the last state of the D input is trapped and held in the latch, for use by whatever other circuits may need this signal. Since the RS flip flop is susceptible to race condition, its design is modified as D latch

Edge Triggered D Flipflop An edge triggered flip flop changes states either at the positive edge (rising edge) or at the negative edge (falling edge) of the clock pulse on the control input. The three basic types are introduced here: S R, J K and D. Such gates are sensitive to inputs only near edge of clock signal (not while steady ) CLK D Q 0 X NC 1 X NC Down (falling edge) X NC Up (rising edge) 0 0 Up 1 1 The NAND gate can be changed to bubbled OR gate.

Edge triggered jk flip flop

Registers Buffer Register

Registers

Registers Shift Left and Shift Right Registers Simple buffer register

Registers Controlled Buffer Register

Registers Controlled Shift Register It has controlled input that determines what it does on the next clock pulse. SHL is control signal to shift left. When SHL is high, Din sets up the right flip flop, Q 0 sets the second flip flop and so on. Each positive clock edge shifts the stored bits one position to the left.

Registers Controlled Shift Register Controlled Shift Register with Broadside Load This circuit can load X bits directly into the flip flops. This kind of loading is known as parallel loading or broadside loading. It takes only one clock pulse to store a digital word. If LOAD and SHL is low, the output of nor gate is high and flip flop returns to their data input. That is the register is inactive, when LOAD and SHL are low, and the content is stored indefinitely. By adding more flip flops, one can build a controlled shift register of any length.

Counters A counter is a sequential circuit that goes through a predetermined sequence of states upon the application of clock pulses. Counters are categorized as: Synchronous Counter: All Flip flops (FF) receive the common clock pulse, and the change of state is determined from the present state. Ripple Counters: The FF output transition serves as a source for triggering other FFs. No common clock.

Counters Ring Counter Ring counter is build with D flip flops, where each word is having only one high bit. It resembles a shift left register. When CLR goes low then back to high, the initial output word is Q=0001 The first positive clock edge shifts the most significant bit(msb) into the Last Significant position, and the output word becomes Q=0010 The second positive clock edge causes another rotate left and output is Q=0100 After third positive clock edge Q=1000 and After forth positive clock edge Q=0001 To activate one of the several devices, or sequence of operation, ring counter is used.

Ripple Counters Ripple counter is build with 4 J K flip flops.(carry moves on the flip flop like a water ripple) If CLR goes low, the register becomes Q=0000 on next pulse Q=0001. On tenth pulse Q=1010 and so on

Acknowledgement Intelligent technologies for web applications, CRC Press (Taylor & Francis Group), Boka Raton, FL, USA (2012) AP Godse and DA Godse, Digital principles and systems design, Technical publications, Pune clker.com http://electrosofts.com/verilog/mux.html http://www.briarcliff.edu/departments/cis/csci280/index 2010c.htm Malvino A. P.: Digital Computer Electronics,2nd Edition, Tata McGraw, Hill Pub. Co. Ltd.,New Delhi, 1990. nzdl.org