ECE 434 Advanced Digital System L04

Slides:



Advertisements
Similar presentations
Lecture 15 Finite State Machine Implementation
Advertisements

Programmable Logic PAL, PLA.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
CSCE 211: Digital Logic Design. Chapter 6: Analysis of Sequential Systems.
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.
Chapter 3 Continued Logic Gates Logic Chips Combinational Logic Timing Sequential Logic Flip Flops Registers Memory State Machines.
Flip_Flops  Logic circuits are classified ito two groups  1. The combinational logic circuits,using the basic gates AND,OR and NOT.  2. Sequential.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
Analysis and Synthesis of Synchronous Sequential Circuits A “synchronizing” pulse/edge signal (clock) controls the operation of the memory portion of the.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
A sequential logic circuit (a.k.a. state machine) consists of both combinational logic circuit(s) and memory devices (flip flops). The combinational circuits.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Programmable Logic Devices
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Chapter- 9 Programmable Logic Devices DHADUK ANKITA ENRL NO Noble Engineering College- Junagadh.
This chapter in the book includes: Objectives Study Guide
Memory and Programmable Logic
ETE Digital Electronics
CHAPTER 16 SEQUENTIAL CIRCUIT DESIGN
Sequential Logic Design
L5 – Sequential Circuit Design
Lecture 15 Sequential Circuit Design
Chapter #6: Sequential Logic Design
Summary Latch & Flip-Flop
Instructor: Alexander Stoytchev
CSCE 211: Digital Logic Design
Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL.
Flip Flops.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Flip-Flop.
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
Flip Flop.
This chapter in the book includes: Objectives Study Guide
ECE 434 Advanced Digital System L03
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Chapter 11 Sequential Circuits.
Latches and Flip-flops
Yee-Wing Hsieh Steve Jacobs
CPE/EE 422/522 Advanced Logic Design L03
Sequential logic circuits
CPE/EE 422/522 Advanced Logic Design L02
Chapter 6 -- Introduction to Sequential Devices
Elec 2607 Digital Switching Circuits
CPE/EE 422/522 Advanced Logic Design L04
The architecture of PAL16R8
ECE 434 Advanced Digital System L05
ECE434a Advanced Digital Systems L02
ECE434a Advanced Digital Systems L06
CSE 370 – Winter Sequential Logic - 1
Introduction to Programmable Logic Devices
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
Part I Background and Motivation
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 10) Hasib Hasan
"Computer Design" by Sunggu Lee
Synchronous sequential
Synchronous Sequential
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
Lecture 14: State Tables, Diagrams, Latches, and Flip Flop
Instructor: Alexander Stoytchev
FIGURE 5-1 MOS Transistor, Symbols, and Switch Models
Chapter 5 Sequential Circuits.
Digital Circuits and Logic
Sequential Digital Circuits
Week 11 Flip flop & Latches.
Presentation transcript:

ECE 434 Advanced Digital System L04 Electrical and Computer Engineering University of Western Ontario

Outline What we know What we do not know Combinational Networks PALs Analysis Synthesis AND-OR-NOTs, NORs, NANDs, MUXes, ROMs, PLAs Hazards in combinational networks What we do not know PALs Sequential Networks Basic Building Blocks Mealy Sequential Networks 17/11/2018 UAH-CPE/EE 422/522 AM

Review: Basic ROM Structure ROM Types Mask-programmable ROM EPROM EEPROM Flash 17/11/2018 UAH-CPE/EE 422/522 AM

Review: Programmable Logic Arrays Perform the same function as a ROM n inputs and m outputs – m functions of n variables AND array – realizes product terms of the input variables OR array – ORs together the product terms 17/11/2018 UAH-CPE/EE 422/522 AM

Review: PLA with 3 inputs, 5 p.t., 4 outputs 17/11/2018 UAH-CPE/EE 422/522 AM

Programmable Array Logic (PALs) PLAs Both AND and OR arrays are programmable PAL is a special case of PLA AND array is programmable and OR array is fixed Motivation for PALs Programmable switches historically presented two difficulties to the manufacturers hard to fabricate correctly => increase the price reduce the speed performance of circuits PALs are less expensive, faster, and easier to program Disadvantage: less flexible 17/11/2018 UAH-CPE/EE 422/522 AM

Programmable Array Logic (PALs) Unprogrammed Programmed 17/11/2018 UAH-CPE/EE 422/522 AM

Using PALs: An Example Implement the following: x x x P P P P 1 2 3 Implement the following: P 1 P 2 P 3 P 4 AND plane 17/11/2018 UAH-CPE/EE 422/522 AM

Using PALs: An Example x x x P f P P f P AND plane 17/11/2018 3 P 1 f 1 P 2 P 3 f 2 P 4 AND plane 17/11/2018 UAH-CPE/EE 422/522 AM

Typical PALs Typical PALs have from 10 to 20 inputs from 2 to 10 outputs from 2 to 8 AND gates driving each OR gate often include D flip-flops f 1 To AND plane D Q Clock Select Enable Flip-flop MUX output is “fed back” to the AND plane. Why? 17/11/2018 UAH-CPE/EE 422/522 AM

Logic Diagram for 16R4 PAL 17/11/2018 UAH-CPE/EE 422/522 AM

Logic Diagram for 16R4 PAL 17/11/2018 UAH-CPE/EE 422/522 AM

Sequential Networks Have memory (state) X = x1 x2... xn Present state depends not only on the current input, but also on all previous inputs (history) Future state depends on the current input and state X = x1 x2... xn Q = Q1 Q2... Qk Z = z1 z2... zm x1 z1 x2 z2 Q Flip-flops are commonly used as storage devices: D-FF, JK-FF, T-FF xn zm 17/11/2018 UAH-CPE/EE 422/522 AM

Clocked D Flip-Flop with Rising-edge Trigger Next state The next state in response to the rising edge of the clock is equal to the D input before the rising edge 17/11/2018 UAH-CPE/EE 422/522 AM

Clocked JK Flip-Flop Next state JK = 00 => no state change occurs JK = 10 => the flip-flop is set to 1, independent of the current state JK = 01 => the flip-flop is always reset to 0 JK = 11 => the flip-flop changes the state Q+ = Q’ 17/11/2018 UAH-CPE/EE 422/522 AM

Clocked JK Flip-Flop Next state T = 1 => the flip-flop changes the state Q+ = Q’ T = 0 => no state change 17/11/2018 UAH-CPE/EE 422/522 AM

S-R Latch 17/11/2018 UAH-CPE/EE 422/522 AM

Transparent D Latch 17/11/2018 UAH-CPE/EE 422/522 AM

Transparent D Latch 17/11/2018 UAH-CPE/EE 422/522 AM

Mealy Sequential Networks General model of Mealy Sequential Network (1) X inputs are changed to a new value After a delay, the Z outputs and next state appear at the output of CM (3) The next state is clocked into the state register and the state changes 17/11/2018 UAH-CPE/EE 422/522 AM

An Example: 8421 BCD to Excess3 BCD Code Converter z Q X (inputs) Z (outputs) t3 t2 t1 t0 1 17/11/2018 UAH-CPE/EE 422/522 AM

State Graph and Table for Code Converter 17/11/2018 UAH-CPE/EE 422/522 AM

State Assignment Rules 17/11/2018 UAH-CPE/EE 422/522 AM

Transition Table 17/11/2018 UAH-CPE/EE 422/522 AM

K-maps 17/11/2018 UAH-CPE/EE 422/522 AM

Realization 17/11/2018 UAH-CPE/EE 422/522 AM

To Do Study textbook chapters Do homework #1 3.1, 3.2, 3.3, 1.6, 1.7 17/11/2018 UAH-CPE/EE 422/522 AM