Digital Logic Design ENEE x. Lecture 24

Similar documents
ELCT 501: Digital System Design

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Microprocessor Design

UNIVERSITY OF MASSACHUSSETS LOWELL Department of Electrical & Computer Engineering Course Syllabus for Logic Design Fall 2013

Administrative issues. Sequential logic

Course Administration

Sequencing and Control

Lecture 11: Synchronous Sequential Logic

Digital Logic Design ENEE x. Lecture 19

Register Transfer Level in Verilog: Part II

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Logic Design II (17.342) Spring Lecture Outline

ELCT201: DIGITAL LOGIC DESIGN

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering

Digital Logic Design I

Digital Fundamentals: A Systems Approach

CprE 281: Digital Logic

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

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

Control Unit. Arturo Díaz-Pérez Departamento de Computación Laboratorio de Tecnologías de Información CINVESTAV-IPN

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

Previous Lecture Sequential Circuits. Slide Summary of contents covered in this lecture. (Refer Slide Time: 01:55)

Introduction. Serial In - Serial Out Shift Registers (SISO)

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

Logic Design ( Part 3) Sequential Logic- Finite State Machines (Chapter 3)

Synchronous sequential circuits

Logic Design. Flip Flops, Registers and Counters

Modeling Digital Systems with Verilog

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

CPSC 121: Models of Computation Lab #5: Flip-Flops and Frequency Division

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

ECSE-323 Digital System Design. Datapath/Controller Lecture #1

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

CHAPTER1: Digital Logic Circuits

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

Combinational / Sequential Logic

ECE 331 Digital System Design

ECE 301 Digital Electronics

ECE 341. Lecture # 2

1. Convert the decimal number to binary, octal, and hexadecimal.

Analysis of Clocked Sequential Circuits

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

CPSC 121: Models of Computation Lab #5: Flip-Flops and Frequency Division

Lecture 12. Amirali Baniasadi

Flip-flop and Registers

Flip-Flops and Sequential Circuit Design

COE328 Course Outline. Fall 2007

Chapter 3. Boolean Algebra and Digital Logic

Read-only memory (ROM) Digital logic: ALUs Sequential logic circuits. Don't cares. Bus

Digital Systems Laboratory 1 IE5 / WS 2001

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

Electrical and Telecommunications Engineering Technology_TCET3122/TC520. NEW YORK CITY COLLEGE OF TECHNOLOGY The City University of New York

Eng. Mohammed Samara. Fall The Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department

Finite State Machine Design

Chapter Contents. Appendix A: Digital Logic. Some Definitions

Logic Design II (17.342) Spring Lecture Outline

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

Computer Organization & Architecture Lecture #5

CprE 281: Digital Logic

EECS150 - Digital Design Lecture 3 Synchronous Digital Systems Review. Announcements

CprE 281: Digital Logic

Other Flip-Flops. Lecture 27 1

CSC258: Computer Organization. Combinational Logic

IE1204 Digital Design F11: Programmable Logic, VHDL for Sequential Circuits

Chapter 3 Unit Combinational

Dr. Shahram Shirani COE2DI4 Midterm Test #2 Nov 19, 2008

INC 253 Digital and electronics laboratory I

VeriLab. An introductory lab for using Verilog in digital design (first draft) VeriLab

1.b. Realize a 5-input NOR function using 2-input NOR gates only.

Ryerson University Department of Electrical and Computer Engineering EES508 Digital Systems


Flip-Flops and Registers

Experiment 8 Introduction to Latches and Flip-Flops and registers

Chapter 5 Synchronous Sequential Logic

CprE 281: Digital Logic

Digital Principles and Design

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics

Unit 11. Latches and Flip-Flops

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

Last time, we saw how latches can be used as memory in a circuit

TMEL53, DIGITALTEKNIK. INTRODUCTION TO SYNCHRONOUS CIRCUITS, FLIP-FLOPS and COUNTERS

ELCT201: DIGITAL LOGIC DESIGN

6.3 Sequential Circuits (plus a few Combinational)

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute


Universal Asynchronous Receiver- Transmitter (UART)

CMSC 313 Preview Slides

Good Evening! Welcome!

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

ECE 545 Digital System Design with VHDL Lecture 2. Digital Logic Refresher Part B Sequential Logic Building Blocks

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

IE1204 Digital Design. F11: Programmable Logic, VHDL for Sequential Circuits. Masoumeh (Azin) Ebrahimi

ELCT201: DIGITAL LOGIC DESIGN

Counter dan Register

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1

Transcription:

Digital Logic Design ENEE 244-010x Lecture 24

Announcements Homework 9 due today Thursday Office Hours (12/10) from 2:30-4pm Course Evaluations at the end of class today. https://www.courseevalum.umd.edu/ Log in with directory id and password Final exam info: Wednesday, Dec. 16 1:30-3:30pm in EGR 1108 (our regular classroom). Review session next class and during Thursday s recitation Information about final exam and review problems for the review sessions will be up on course webpage by tonight.

Agenda Last Time: The State Assignment Problem (7.5) Completing the Design of Clocked Synchronous Sequential Networks (7.6) This Time: Synchronous Sequential network design using PLDs (7.6) Algorithmic State Machines (8.1-8.2)

Realizations of Synchronous Sequential Networks using PLDs

PROM Realization

PROM Realization

PLA Realization

PLA Realization D 1 = Q 2 Q 3 x D 2 = Q 2 Q 3 + Q 1 x + Q 2 Q 3 x D 3 = Q 3 x + Q 2 x z = Q 2 x + Q 3 x

PLA Realization

Final Topic: Algorithmic State Machines Previous chapter dealt with the classical approach to clocked synchronous sequential network design Used models of Mealy and Moore Also called Finite State Machines Algorithmic State Machines (ASM) Different approach to clocked synchronous network design Approach is higher-level Uses flow-charts as in high-level programming We explicitly name and use variables! Capable of handling more complex systems

Algorithmic State Machine Partitions the system into two entities: Controller Controlled architecture (data processor) Data processor includes: Flip-flops, shift registers, counters, adders/subtractors, comparators, etc. Controller supplies a time sequence of commands to the devices of the data processer E.g. shift left, shift right, add, subtract, increment, reset. Data processor supplies information about the status of its various devices. The controller is a hardware algorithm (thus is called an algorithmic state machine (ASM).

Model of an ASM Mealy Moore

ASM Charts Components State Box: The state output list contains output variables that are only a function of the state. Such variables that have logic-1 value are placed in this box. Decision Box

Conditional Output Box: ASM Charts Components The conditional output list contains output variables that are a function of the state and external inputs. Such variables that have logic-1 value are placed in this box.

ASM Blocks Consists of the interconnection of a single state box along with a collection of decision and conditional output boxes. One entry path, one or more exit paths leading to another state box. A path through an ASM block from its state box to an exit path is called a link path.

Rules for ASM blocks For any valid combination of values to the decision-box variables, all simultaneously selected link paths must lead to the same exit path. i.e. next state is uniquely determined There can be no closed loops that do not contain at least one state box State box is the only component that is time dependent.

Simple ASM Charts

From State Diagram to ASM Chart

From State Diagram to ASM Chart

Material after this slide is NOT on the Final Exam

Examples of ASM Charts

A Sequence Recognizer Recognize input sequence of pairs x 1 x 2 = 01,01,11,00 An output z is to be 1 when x 1 x 2 = 00 if and only if the three preceding pairs of inputs are x 1 x 2 = 01,01,11 in that order.

A Sequence Recognizer

A Parallel Binary Multiplier A C M B Bits of answer are shifted out one at a time

A Parallel Binary Multiplier Variables: S = 1 indicates the multiplication is to start M 1 is the multiplier bit appearing at the rightmost end of register M. Z = 1 indicates the content of the counter is 0. INIT = 1 indicates initialization should be performed: 1. Setting flip-flop C and register A to 0 2. Setting counter to the number of bits in the multiplier, N 3. Parallel loading the multiplier and multiplicand into registers M, B. DECREM = 1 enables the counter for decrementing ADD = 1 indicates A and B should be added and resulting N+1 bits entered into register A and flip-flop C SR = 1 indicates the contents of flip-flop C, register A and register M should be shifted one bit position to the right while entering a 0 into flip-flop C. COMPLETE = 1 indicates the multiplication process is complete.

A Parallel Binary Multiplier Variables: S = 1 indicates the multiplication is to start M 1 is the multiplier bit appearing at the rightmost end of register M. Z = 1 indicates the content of the counter is 0. INIT = 1 indicates initialization should be performed: 1. Setting flip-flop C and register A to 0 2. Setting counter to the number of bits in the multiplier, N 3. Parallel loading the multiplier and multiplicand into registers M, B. DECREM = 1 enables the counter for decrementing ADD = 1 indicates A and B should be added and resulting N+1 bits entered into register A and flip-flop C SR = 1 indicates the contents of flip-flop C, register A and register M should be shifted one bit position to the right while entering a 0 into flip-flop C. COMPLETE = 1 indicates the multiplication process is complete.