Sequential Circuit Design By : Pn Siti Nor Diana Ismail CHAPTER 6.

Slides:



Advertisements
Similar presentations
Computer Systems Nat 4/5 Computing Science Computer Structure:
Advertisements

1 Combinational Logic Design&Analysis. 2 Introduction We have learned all the prerequisite material: – Truth tables and Boolean expressions describe functions.
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
1 Hardware - devices for Input. 2 Hardware - devices for Input Processing.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Computer Hardware.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
CS 0008 Day 2 1. Today Hardware and Software How computers store data How a program works Operators, types, input Print function Running the debugger.
Bits and Data Storage. Basic Hardware Units of a Computer.
Digital Logic Lecture 08 By Amr Al-Awamry. Combinational Logic 1 A combinational circuit consists of an interconnection of logic gates. Combinational.
EKT 221 Digital Electronics II
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
What is Information Technology?
An Introduction To Computer Hardware
Lesson 3 — How a Computer Processes Data
Chapter 5 - Part Sequential Circuit Design Design Procedure  Specification  Formulation - Obtain a state diagram or state table  State Assignment.
Computer System Overview Chapter 1. Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users.
Configuration.
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
Chapter 5 Memory and Programmable Logic 5.1. Introduction 5.2. Random Access Memory 5.3. Memory Encoding 5.4. Read Only Memory 5.5. Programmable Logic.
Chap 4. Sequential Circuits
Digital Logic Design Sequential circuits
Logic Design Computer Architecture and Design Lecture 1.
Chapter 1 1.  The computer system consists of: 1. Hardware: Physical Components, like the system unit,monitor,keyboard, mouse, camera, printer … etc.
CISC105 General Computer Science Class 1 – 6/5/2006.
EKT 221 : Digital 2 Memory Basics
Chap 4. Sequential Circuits
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Introduction to Sequential Circuit By : Pn Siti Nor Diana Ismail CHAPTER 5.
Introduction to Sequential Logic Design Finite State-Machine Design.
CE1110: Digital Logic Design Sequential Circuits.
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
What is a computer? Computer is a device for processing information.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Computers Are Your Future Chapter 1 Slide 1 Introduction to the Computers & Internet Chapter 1 Concepts of Information Technology IT.
9/15/09 - L21 Sequential Circuit Analaysis Copyright Joanne DeGroat, ECE, OSU1 Sequential Circuit Analysis.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
DESIGN OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
1 State Reduction Goal: reduce the number of states while keeping the external input-output requirements unchanged. State reduction example: a: input 0.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Senem KUMOVA METİN // Fall CS 115 Introduction to Programming Introduction to Computing.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Combinational Circuits
PARTS OF A COMPUTER 2 Hardware Computer Hardware is any of the physical parts of the computer you can touch. There are 4 categories: 1. Input Devices.
Programmable logic devices. CS Digital LogicProgrammable Logic Device2 Outline PLAs PALs ROMs.
Sequential Circuit Design Section State Machines Design Procedure 1.Specification- obtain (produce) problem description 2.Formulation - Obtain.
Cpe 252: Computer Organization1 Lo’ai Tawalbeh Lecture #3 Flip-Flops, Registers, Shift registers, Counters, Memory 3/3/2005.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
WORKING PRINCIPLE OF DIGITAL LOGIC
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
5.3 Sequential Circuits - An Introduction to Informatics WMN Lab. Hey-Jin Lee.
Unit 3 - Computer Systems. Logical vs Physical A computer system can be represented in either a logical or physical form Both are useful in understanding.
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
Computer Architecture and Number Systems
Computing Science Computer Structure: Lesson 1: Processor Structure
BASIC PROGRAMMING C SCP1103 (02)
BASIC PROGRAMMING C SCP1103 (02)
Chapter 7.2 Computer Architecture
Computer Architecture
Interfacing Memory Interfacing.
Logical Computer System
Combinational Circuits
Chapter 4: Hardware for Educators
Chapter5: Synchronous Sequential Logic – Part 4
Presentation transcript:

Sequential Circuit Design By : Pn Siti Nor Diana Ismail CHAPTER 6

Sequential Circuit Design Design procedure Finding state diagrams Finding state tables State assignment Designing with D flip-flops

Look example in Tutorial 4

Design procedure 1. Specification 2. Formulation 3. State assignment 4. FF input equation determination 5. Output equation determination 6. Technology mapping 7. Verification These are the proper procedure to design a complete sequential circuit.

Design procedure 1. Specification Usually this is given in form of statements. User need to extract important points. 2. Formulation Obtain state diagram and state table 3. State assignment Assign binary codes to the states 4. FF input equation determination Determine FF type Derive FF input equation from state table

Design procedure 5. Output equation determination Derive output equation from state table 6. Technology mapping Usually this is omitted Only use FF and basic gates in schematic 7. Verification

Finding state diagrams/state table When the diagram is given You need to find the state table On the other hand, when the state table is given You need to find the state diagram

Finding state diagrams/state table When the diagram is given You need to find the state table Try to find the state table for this

Finding state diagrams/state table When the diagram is given You need to find the state table

Finding state diagrams/state table On the other hand, when the state table is given You need to find the state diagram You can try on the same state table and diagram or on this one

State assignment For a 2 bit state (let’s say Q 1 Q 0 ) you will have at most 4 states You may assign the states with variables Eg : A = 00, B = 01, C = 10, D = 11

Designing with D flip-flops A state table is given (you may want to convert it to a 1-D table)

Designing with D flip-flopsPresentStateInput Next State Output ABX D A = A D B = B Z

Designing with D flip-flops You will get the input equation from state table Use K-map to get the equation for D A D B Z

Designing with D flip-flops You will get these equations Now you can draw the schematic diagram using D FF

Exercise A sequential circuit has two FF, A and B, one input, X, and one output, Y. The state diagram is shown below. Design the circuit with D flip-flops.

Introduction to Memory Collection of cells capable of storing binary information Contains electronic circuits for storing & retrieve information Used to provide temporary or permanent storage capability

Memory Basic Process Info/content from memory is send to h/w (usually consist of registers & combinational logic) to be processed The processed info is then returned to the same or different memory address Input and Output devices may also interact with memory Memory Hardware for processing I/O Printers Mouse Keyboard Monitor Digital Camera Scanners Plotters Thumb Drive External Memory

Types of Memories Random Access Memory (RAM) Write operation – stores new info Read operation – transfer the stored info out of memory Read Only Memory (ROM) Perform read operation only

Memory data elements Typical data elements are: bit : a single binary digit byte : a collection of eight (8) bits accessed together word : a collection of binary bits whose size is a typical unit of access for the memory. (e.g., 1 byte, 2 bytes, 4 bytes, 8 bytes, etc.) Memory Data ─ a bit or a collection of bits to be stored into or accessed from memory cells. Memory Operations ─ operations on memory data supported by the memory unit. Typically, read and write operations over some data element (bit, byte, word, etc.).

Memory Organization Example: address bits = m = 10 data bits =16; n = 16 Address line = (2 m ) 2 10 = 1024 or 1K, labeled 0 to 1023 memory content = 16-bit so the memory has 1K words of 16- bit data or 1K x 16-bit memory Note : K (Kilo) = 2 10 M (Mega) = 2 20 G (Giga) = 2 30 Other Example : 64K = 2 16 = (2 6 * 2 10 ) 2M = 2 21 = (2 1 * 2 20 ) 4G = 2 32 = (2 2 * 2 30 ) What is the address bits (m)?