ENGSCI 232 Computer Systems Lecture 5: Synchronous Circuits.

Slides:



Advertisements
Similar presentations
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
Advertisements

Sequential Logic ENEL 111. Sequential Logic Circuits So far we have only considered circuits where the output is purely a function of the inputs With.
Computer Science 210 Computer Organization Clocks and Memory Elements.
Digital Electronics Lecture 7 Sequential Logic Circuit Design.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 10.1 Sequential Logic  Introduction  Bistables  Memory Registers  Shift.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Flip-Flops, Registers, Counters, and a Simple Processor
Digital Logic Chapter 5 Presented by Prof Tim Johnson
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
Logic Circuits Another look at Floating Point Numbers Common Combinational Logic Circuits Timing Sequential Circuits Note: Multiplication & Division in.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
ENGIN112 L27: Counters November 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters.
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Fall 2007 L16: Memory Elements LECTURE 16: Clocks Sequential circuit design The basic memory element: a latch Flip Flops.
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
A presentation on Counters
Chapter 1_4 Part II Counters
ETE Digital Electronics
ECE 301 – Digital Electronics Flip-Flops and Registers (Lecture #15)
Registers and Counters
Objectives: Given input logice levels, state the output of an RS NAND and RS NOR. Given a clock signal, determine the PGT and NGT. Define “Edge Triggered”
Some Useful Circuits Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
COE 202: Digital Logic Design Sequential Circuits Part 1
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Flip Flop
Engineering Lecture1: Logic Circuits & Concepts about basic Electrical Engineering Devices by Christin Sander.
Rabie A. Ramadan Lecture 3
1 Lecture 32 Datapath Analysis. 2 Overview °Datapaths must deal with input and output data values Implement with tri-state buffers °Necessary to control.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
COM181 Computer Hardware Ian McCrumRoom 5B18, Lecture 2: Circuits.
Digital Logic Design Review Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM 2010.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Digital Design Lectures 11 & 12 Shift Registers and Counters.
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits II.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2012.
Abdullah Said Alkalbani University of Buraimi
Digital Logic Design.
Sequential logic circuits
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
Logic Design / Processor and Control Units Tony Diep.
LECTURE IX CH 5 LATCHES AND FLIP-FLOPS. Sequential logic circuits by definition progressive from one logic state to the next. In order for this to occur,
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
EKT 121 / 4 ELEKTRONIK DIGIT I
Chapter5: Synchronous Sequential Logic – Part 1
ECE 545—Digital System Design with VHDL Lecture 1
D Flip Flop. Also called: Delay FF Data FF D-type Latches ‘Delayed 1 Clock Pulse’
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
CENG 241 Digital Design 1 Lecture 7 Amirali Baniasadi
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
Dept. of Electrical Engineering
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
Mealy and Moore Machines Lecture 8 Overview Moore Machines Mealy Machines Sequential Circuits.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Computer Science 210 Computer Organization
Computer Architecture & Operations I
Computer Science 210 Computer Organization
COMP541 Sequential Circuits
Computer Science 210 Computer Organization
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Presentation transcript:

ENGSCI 232 Computer Systems Lecture 5: Synchronous Circuits

°The building block of synchronous circuits, such as counters and shift registers, is the flip-flop °A flip-flop is a device which can be ‘latched’ into either of two possible states and stay in that state until a specified set of input conditions occur.

°We can build a latch by using 2 NAND gates with appropriate coupling.

°Clocks °An asynchronous system allows states to change whenever one or more inputs change. This is generally harder to design and fault-find than a synchronous system. We will consider synchronous systems in this lecture. °Here the exact times at which outputs can change state is determined by the ‘clock’ signal. °The clock is normally a regular rectangular waveform and is applied to many component within a digital system. °A flip-flop may be designed to trigger on either the rising or falling edge of the clock pulse (ie when the clock is changing from 0 ->1 or 1->0).

°D-Type Flip-Flop

JK-type flip-flops °Similar to D flip-flop, but has two data inputs J K Q Q S R JKQ n+1 00QnQn QnQn clock

Building a Counter using flip-flops °To count electrical pulses, feed signal into clock input °Chain a flip-flop output to next flip-flop clock to add extras bits to your counter D C Q Q D C Q Q D C Q Q D C Q Q input clock Q0Q0 Q1Q1 Q2Q2 Q3Q3 Q0Q0 Q1Q1 Q2Q2 binary base 10 negative edge triggered flip-flops

Shift Registers °We often need to shift bits left, eg to... °We do this using a shift register (eg built from flip-flops) D C Q Q D C Q Q D C Q Q D C Q Q input clock Q0Q0 Q1Q1 Q2Q2 Q3Q3 data

Registers °Registers store working data think of as a small scratch-pad of memory fast access °Data moves between registers on a... use a system to ensure synchronisation °Can use N flip-flops to make an N-bit register (just like memory) °Add digital logic to perform further functions load preset data shift left shift right shift by n bits left or right count

Registers and databuses °Different registers can grab data from a common data bus - at different times Register 1Register 2 ALUop ALU Result RegisterStatus Register Control Load 1 Load 2 Load result Data Bus (32 bits wide) Memory Storage

°Real vs Ideal Components °Because voltages cannot change instantaneously, all real devices have propogation delays where the actual output lags behind that expected theoretically. While the voltage is changing, we have voltages that are not 0V or 5V that are often input to a second device. A device has some arbitrary cutoff (eg 2.5V) above which the input is interpreted as a true and below which as false. °For example, consider an inverter. When input goes 0V -> 5V, output goes 5V -> 0V but NOT instantly. When the input goes 5V -> 0V, output goes 0V -> 5V but NOT instantly.

Timing and Control by CPU °CPU generates control signals to co-ordinate operations such as memory read write Address Data 32 Write Address Decoder R5 R4 R3 R2 R1 R0 32 CPU Clk Read