Gheorghe M. Ştefan - 2014 -

Slides:



Advertisements
Similar presentations
Lecture 15 Finite State Machine Implementation
Advertisements

TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
COE 202: Digital Logic Design Sequential Circuits Part 3
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
Gheorghe M. Ştefan
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
K-Maps, Timing Sequential Circuits: Latches & Flip-Flops Lecture 4 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier,
1 Sequential Circuits Dr. Pang. 2 Outline Introduction to sequential circuits Basic latch Gated SR latch and gated D latch D flip-flop, T flip-flop, JK.
Circuits require memory to store intermediate data
Gheorghe M. Ştefan
ECE 331 – Digital System Design Introduction to and Analysis of Sequential Logic Circuits (Lecture #20) The slides included herein were taken from the.
1 Sequential logic networks I. Motivation & Examples  Output depends on current input and past history of inputs.  “State” embodies all the information.
11/16/2004EE 42 fall 2004 lecture 331 Lecture #33: Some example circuits Last lecture: –Edge triggers –Registers This lecture: –Example circuits –shift.
Contemporary Logic Design Finite State Machine Design © R.H. Katz Transparency No Chapter #8: Finite State Machine Design Finite State.
11/10/2004EE 42 fall 2004 lecture 301 Lecture #30 Finite State Machines Last lecture: –CMOS fabrication –Clocked and latched circuits This lecture: –Finite.
Logic and Computer Design Fundamentals Registers and Counters
Embedded Systems Hardware: Storage Elements; Finite State Machines; Sequential Logic.
ECE 331 – Digital System Design Counters (Lecture #18)
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 20 Datapath and Control Datapath - performs data transfer and processing operations.
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
Sequential Circuit Introduction to Counter
Electronic Counters.
Counting with Sequential Logic Experiment 8. Experiment 7 Questions 1. Determine the propagation delay (in number of gates) from each input to each output.
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
EE24C Digital Electronics Projects
Chapter 5 - Part Sequential Circuit Design Design Procedure  Specification  Formulation - Obtain a state diagram or state table  State Assignment.
Boolean Algebra and Digital Logic
Gheorghe M. Ştefan
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
EEE2243 Digital System Design Chapter 4: Verilog HDL (Sequential) by Muhazam Mustapha, January 2011.
Important Components, Blocks and Methodologies. To remember 1.EXORS 2.Counters and Generalized Counters 3.State Machines (Moore, Mealy, Rabin-Scott) 4.Controllers.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
Review of Digital Logic Design Concepts OR: What I Need to Know from Digital Logic Design (EEL3705)
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits II.
Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,
Assignment 8 solutions 1) Design and draw combinational logic to perform multiplication of two 2-bit numbers (i.e. each 0 to 3) producing a 4-bit result.
Digital Logic Design.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
Digital System Design using VHDL
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
3 BIT DOWN COUNTER SUBJECT: DIGITAL ELECTONICS CODE: COLLEGE: BVM ENGINEERING COLLEGE COLLEGE CODE:008 ELECTRONICS & TELECOMMUNICATION DEPT.
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
Chapter 35 Sequential Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the function of a flip-flop –Identify the.
Mealy and Moore Machines Lecture 8 Overview Moore Machines Mealy Machines Sequential Circuits.
Finite Automata (FA) with Output FA discussed so far, is just associated with R.Es or language. Is there exist an FA which generates an output string corresponding.
Digital Logic Design Ch1-1. Digital Logic Design Ch1-2 Introduction to digital logic (logic gates, flip-flops, circuits) Definition of Digital Logic 
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
Sequential Logic Design
Week #7 Sequential Circuits (Part B)
Chapter #6: Sequential Logic Design
Computer Organization
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
Digital Design Lecture 9
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
Digital Design Fundamentals
EEL 3705 / 3705L Digital Logic Design
CSE 370 – Winter Sequential Logic-2 - 1
CSE 370 – Winter Sequential Logic-2 - 1
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
MTE 202, Summer 2016 Digital Circuits Dr.-Ing. Saleh Hussin
Instructor: Alexander Stoytchev
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
COE 202: Digital Logic Design Sequential Circuits Part 3
Presentation transcript:

Gheorghe M. Ştefan

Register file 2014Digital Integrated Circuits - week eight2 Let us go back to the slide 16 form Week 5: bwand : regFile[destAddr] <= regFile[leftAddr] & regFile[rightAddr];

2014Digital Integrated Circuits - week eight3 Reading is asynchronous 3-port memory: Where goes destAddr ? How can be read two distinct locations?

FPGA: Field Programmable Gate Array 2014Digital Integrated Circuits - week eight4

I/O : input-output interface 2014Digital Integrated Circuits - week eight5 For non-inverting tristae buffer see week 4 slide 3

Switch matrix 2014Digital Integrated Circuits - week eight6

CLB : configurable logic block 2014Digital Integrated Circuits - week eight7

BS : bit slice 2014Digital Integrated Circuits - week eight8

Second-order systems: automata Asynchronous automata Synchronous automata 2014Digital Integrated Circuits - week eight9

Example of asynchronous automaton: D-FF as 2-OS 2014Digital Integrated Circuits - week eight10 (x,y,z) : for switching in 1 [x,y,z] : for switching in 0 x : value in set-up time y : value in hold time z : possible value after hold time

Two-state automata One-input 2-state automaton: the T flip-flop T = 0 : no operation T = 1 : switch Function: one-bit counter 2014Digital Integrated Circuits - week eight11

The structure of TF-F 2014Digital Integrated Circuits - week eight12 XOR : enabled one-bit increment circuit T=1 enables the increment For T = 1 the behavior is autonomous

Two-state automata (cont) Two-input 2-state automaton: the JK flip-flop J = 0, K = 0 : no operation J = 0, K = 1 : reset J = 1, K = 0 : set J = 1, K = 1 : switch For J = 0, K = 1 the behavior is autonomous 2014Digital Integrated Circuits - week eight13

Functional, simple automaton: the Counter TF-F is the elementary, 1-bit, counter with T = INC The recursive definition of the n-bit counter COUNT n S COUNT (n) = O(n 2 ) S COUNT (n) = O(n 2 ) S COUNT (n) = O(n 2 ) T COUNT (n) = O(log n) 2014Digital Integrated Circuits - week eight14

The full counter 2014Digital Integrated Circuits - week eight15

Finite, complex automata 2014Digital Integrated Circuits - week eight16 A = (X, Y, Q, f, g) X  {0,1} n is the n-bit coded input set Y  {0,1} m is the m-bit coded output set Q  {0,1} s is the s-bit coded internal state (state) set f:(X × Q) → Q the state transition function g:(X × Q) → Y the output transition function for Mealy version g:(Q) → Y the output transition function for Moore version What is the difference from the general definition of a digital system?

Half-automaton: A 1/2 = (X, Q, f) Finite automaton A is a complex circuit: C A  O(|Q|) Initial state: a state without predecessor. Initial automaton: Q’  Q Strict initial automaton: Q’= {q 0 }, A = (X, Y, Q, f, g; q 0 ) Delayed automaton: the output goes through a register Output with no delay: y(t) = g(x(t), q(t)) for Mealy automaton One clock cycle delay: y(t) = g(x(t-1), q(t-1)) for delayed Mealy automaton y(t) = g(q(t)) = g(f(x(t-1), q(t-1))) for Moore automaton Two clock cycles delay: y(t) = g(q(t-1)) = g(f(x(t-2), q(t-2))) for delayed Moore automaton 2014Digital Integrated Circuits - week eight17

Representing finite automata Half-automaton for bb detection in streams belonging to {a,b} n 2014Digital Integrated Circuits - week eight18

Moore version: 2014Digital Integrated Circuits - week eight19

Mealy version: 2014Digital Integrated Circuits - week eight20

Home work 8 Problem 1: a) Draw an 4-bit counter according to the slides 14 and 12 using DF-Fs, XORs and AND gates b) Emphasize the structure of the increment circuit in the resulting structure Problem 2: a) Define the graph of the finite automaton used to recognize by its final state the sequence abba in a stream of symbols belonging to {a,b,c} n. b) Define the associated flow-chart for the two inputs bits X 0 and X 1 coded as follows: a = 00 b = 01 c = Digital Integrated Circuits - week eight21