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

Similar documents
Module -18 Flip flops

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

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

DM74LS191 Synchronous 4-Bit Up/Down Counter with Mode Control

Lecture 20: Several Commercial Counters & Shift Register

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

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Spec. Instructor: Center

GATE Online Free Material

74F161A 74F163A Synchronous Presettable Binary Counter

COUNTERS AND REGISTERS

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

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

SN54HC161, SN74HC161 4-BIT SYNCHRONOUS BINARY COUNTERS

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

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

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

DM54LS190 DM74LS190 DM54LS191 DM74LS191 Synchronous 4-Bit Up Down Counters with Mode Control

Linear & Digital IC Applications (BRIDGE COURSE)

Clock Signal Review Memory Elements

Module-20 Shift Registers

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

CMOS Digital Integrated Circuits Lec 11 Sequential CMOS Logic Circuits

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

54AC191 Up/Down Counter with Preset and Ripple Clock

EC O4 403 DIGITAL ELECTRONICS

Digital Circuits Laboratory LAB no. 12. REGISTERS

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

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

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

DM74ALS169B Synchronous Four-Bit Up/Down Counters

DM74LS161A DM74LS163A Synchronous 4-Bit Binary Counters

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

SN54HC191, SN74HC191 4-BIT SYNCHRONOUS UP/DOWN BINARY COUNTERS

DM74AS169A Synchronous 4-Bit Binary Up/Down Counter

CONTENTS Sl. No. Experiment Page No

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

74AC299 74ACT299 8-Input Universal Shift/Storage Register with Common Parallel I/O Pins

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

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

CMOS Digital Integrated Circuits Analysis and Design

74ABT273 Octal D-Type Flip-Flop

11 Counters and Oscillators

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

NTE74HC40105 Integrated Circuit TTL High Speed CMOS, 4 Bit x 16 Word FIFO Register

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

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

Digital Logic Circuits

Synchronous Binary Counter with Synchronous Clear

DIGITAL LOGIC WITH VHDL (Fall 2013) Unit 5

SRV ENGINEERING COLLEGE SEMBODAI RUKMANI VARATHARAJAN ENGINEERING COLLEGE SEMBODAI

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

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

Electronic Instrumentation

Mohit Arora. The Art of Hardware Architecture. Design Methods and Techniques. for Digital Circuits. Springer

LM2240 Programmable Timer Counter

DIGITAL ELECTRONICS QUESTION BANK

A Logic Circuit Simulation for Choosing a Group or a Question using Register and Encoder

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

74ACTQ74 Quiet Series Dual D-Type Positive Edge-Triggered Flip-Flop

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

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

Laboratory Manual CS (P) Digital Systems Lab

74F160A*, 74F161A, 74F162A*, 74F163A 4-bit binary counter INTEGRATED CIRCUITS. Product specification 1996 Jan 29 IC15 Data Handbook

HIGH LOW Astable multivibrators HIGH LOW 1:1

Sequential Logic Circuits

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

ENGG1015: lab 3. Sequential Logic

SN54ALS161B, ALS162B, ALS163B, AS161, AS163 SN74ALS161B, ALS163B, AS161, AS163 Synchronous 4-Bit Decade and Binary Counters

Additional Programs for the Electronics Module Part No

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

Sequential Logic Circuits

Serial Addition. Lecture 29 1

Practical Workbook Logic Design & Switching Theory

CS302 - Digital Logic Design Glossary By

74F160A 74F162A Synchronous Presettable BCD Decade Counter

Controller Implementation--Part I. Cascading Edge-triggered Flip-Flops

74AC161B SYNCHRONOUS PRESETTABLE 4-BIT COUNTER

CHAPTER FIVE - Flip-Flops and Related Devices

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

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

UNIT V. An IC is an Electronic circuit in which the active and passive components are fabricated on a tiny single chip of silicon.

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-2700:

Computer Architecture and Organization:

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

Computer-Based Project in VLSI Design Co 3/7

FUNCTION OF COMBINATIONAL LOGIC CIRCUIT

74ACTQ821 Quiet Series 10-Bit D-Type Flip-Flop with 3-STATE Outputs

ELG3331: Digital Tachometer Introduction to Mechatronics by DG Alciatore and M B Histand

74F579 8-bit bidirectional binary counter (3-State)

DIGITAL INTEGRATED CIRCUITS A DESIGN PERSPECTIVE 2 N D E D I T I O N

IES Digital Mock Test

74ABT377 Octal D-Type Flip-Flop with Clock Enable

Obsolete Product(s) - Obsolete Product(s)

HAZARDS AND PULSE MODE SEQUENTIAL CIRCUITS

Design of Low Power Flip Flop Based on Modified GDI Primitive Cells and Its Implementation in Sequential Circuits


ECE 2300 Digital Logic & Computer Organization

SN54ALS190, SN54ALS191, SN74ALS190, SN74ALS191 SYNCHRONOUS 4-BIT UP/DOWN DECADE AND BINARY COUNTERS

Introduction (concepts and definitions)

Transcription:

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 ~clear or ~reset inputs. D ositive edgetriggered flip-flop D? n Often want to read a group of data inputs into a set of latches at the same time (e.g. reading a 4 bit value off a computer bus) A group of latches can be combined to form a register A 4 bit register can be made from 4 latches D D D2 D3 D D D D 2 3 D D D2 D3 2 3 ircuit Symbol age

Allow stored data to be moved from one bit position to another D a D a =: D a b c d D D D A B D Initial Values after after 2 D a = : after 3 after 4 after 5 a b c d oints to note: At every pulse, the first flip flop is loaded with the value of the data in stream he data that was in this flip flop is then loaded into the second and so on. he data can be taken out of the last flip flop in serial form or it can be taken from all outputs at the same time parallel form. For each flip flop there is a delay between pulse and output. his delay provides time for the next flip flop in the chain to load the data from the previous stage. a b c d data a b D a D D D D A B D Shift registers can also be loaded using parallel input lines herefore inputs can be parallel or serial Outputs can be parallel or serial Functions that shift registers can carry out include: Serial Loading Serial Output arallel Output arallel Loading his makes them suitable for a wide variety of tasks etc age 2 2

A large variety of integrated circuit (I) shift registers are available with various combinations of serial and/or parallel input serial and/or parallel output shift left and/or shift right Applications include: onverting a parallel word into serial form or vise versa performing a number of logical and arithmetic operations (binary multiplication/division involves shifting). iming characteristics for edge-triggered registers propagation delay (t pd ) defined as the time between the edge and the output changing Set-up (t setup ) and hold (t hold ) times are the times which the data must be held steady before and after the edge D invalid t pd t set-up t hold ounters may be ed by: regular pulses to determine a certain time duration random pulses to count the occurrences of a particular event Most common counters count natural binary sequence up down counter counter...... A flip flop toggles when both inputs are. In this case it effectively counts every second pulse: Sometimes called a scale of 2 counter ~ You can also say it counts from to and back again. age 3 3

onnect two such flip flops together: 2 Ripple (asynchronous) ounter e.g. A 3 bit ripple counter using negative edge triggered flip-flops omplete the timing diagram for 2 Asynchronous means each flip flop is triggered by the preceding one. a b c Outputs and 2 2 cycle. 2: c b a 2 hese propagation delays cause a number of sequence changes when going from one number to the next, which can be undesirable in a lot of situations. he counter can get the wrong value at a particular instant in time Operating speed is therefore limited. Synchronous counters Outputs of all the flipflops change at the same time e.g. a 2-bit synchronous counter a b a b age 4 4

Synchronous counters Does this extend to a three bit counter? a b? c Synchronous counters e.g. A three bit counter a b c e.g. A four bit counter a b c d c should not toggle until both a and b are An integrated circuit counter Many forms of counters available as integrated circuits e.g. 7463 - four bit synchronous binary up counter lock: count advanced by on lear: when = count reset to on next Load: when = count set to values on A-D on next Enable & : ounting disabled when either is equal a, b, c, d : state of the counter Ripple arry output : = when count = otherwise Ripple arry cc Output a b c d Enable Load 6 5 4 3 2 9 Ripple a b c d arry Enable Output Load lear Enable A B D 2 3 4 5 6 7 8 lear A B D Enable GND An integrated circuit counter In many cases more than 6 states required for counting counters like 63 can be cascaded to form larger counters 63-3 carry d c b a 63-2 carry d c b a 63- carry d c b a age 5 5

Modulo-n counters A modulo-n counter generates n states before it repeats itself e.g. a 2 bit count is modulo 4 and a 4 bit counter is modulo 6 Often a counter which has a modulo that is not a power of 2 is required e.g. modulo 2 load D B A carry clear d c b a ounts from 4 through to 5 before being set to 4 again load d c b a clear ounts from through to before being reset Frequency division Binary counters offer the possibility of frequency division a b Often used where s of different frequencies are required in a circuit or to produce a compact accurate low frequency oscillator (e.g. an oscillator for a digital watch) f / 2 f / 4 f Summary Registers consist of a group of D-type latches or flip-flops which are ed simultaneously to store a binary word set-up and hold times must be observed Shift registers allow data to be moved from one bit position to another used for parallel serial conversion and some types of arthmetic operations ounting is a common requirement in sequential logic circuits ounters can be asynchronous or synchronous Many I packages exist which implement counters Explain the operation of a register Explain the propagation delays associated with registers Outline the use of registers for converting serial/parallel inputs/outputs. Explain the operation of ripple (asynchronous counters) Explain the operation of synchronous counters Outline the characteristics of modulo n counters. age 6 6