Advanced Computer Architecture Lecture 1

Slides:



Advertisements
Similar presentations
Lecture 15 Finite State Machine Implementation
Advertisements

General Sequential Design
Fall EE 333 Lillevik 333f06-l2 University of Portland School of Engineering Computer Organization Lecture 2 Expectations/Rumors Prerequisites Syllabus,
Fall EE 333 Lillevik 333f06-l1 University of Portland School of Engineering Computer Organization Lecture 1 Introductions Course objectives PC Example.
Give qualifications of instructors: DAP
التصميم المنطقي Second Course
EKT 124 / 3 DIGITAL ELEKTRONIC 1
CS 151 Digital Systems Design Lecture 37 Register Transfer Level
Sequential Logic Design
Counters Mano & Kime Sections 5-4, 5-5. Counters Ripple Counter Synchronous Binary Counters –Design with D Flip-Flops –Design with J-K Flip-Flops Counters.
Sequential Logic Design
ENGIN112 L25: State Reduction and Assignment October 31, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 25 State Reduction and Assignment.
ECE 320 Homework #6 Derive the state table and state diagram of the sequential circuit of the Figure below. What is the function of the circuit? A’ A.
Spring EE 437 Lillevik 437s06-l2 University of Portland School of Engineering Advanced Computer Architecture Lecture 2 NSD with MUX and ROM Class.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
1 Lecture #12 EGR 277 – Digital Logic Synchronous Logic Circuits versus Combinational Logic Circuits A) Combinational Logic Circuits Recall that there.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
Digital Logic Design Lecture # 21 University of Tehran.
Fall EE 333 Lillevik 333f06-l8 University of Portland School of Engineering Computer Organization Lecture 8 Detailed MIPS datapath Timing overview.
Spring EE 437 Lillevik 437s06-l9 University of Portland School of Engineering Advanced Computer Architecture Lecture 9 DMA controller design.
Fall EE 333 Lillevik 333f06-l17 University of Portland School of Engineering Computer Organization Lecture 17 Controller design Microprogramming.
DLD Lecture 26 Finite State Machine Design Procedure.
Fall EE 333 Lillevik 333f06-l13 University of Portland School of Engineering Computer Organization Lecture 13 Controller implementations Register.
Digital Logic Design.
Spring EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Advanced Computer Architecture Lecture 5 Slave bus agent ROM example.
Synchronous Counter Design
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.
Lecture No. 29 Sequential Logic.
Logic Design (CE1111 ) Lecture 6 (Chapter 6) Registers &Counters Prepared by Dr. Lamiaa Elshenawy 1.
Spring EE 437 Lillevik 437s06-l4 University of Portland School of Engineering Advanced Computer Architecture Lecture 4 Project 1 reviews CPU controller.
Sequential statements (1) process
Digital Design - Sequential Logic Design
Class Exercise 1B.
Registers and Counters
Sequential logic design principles
EKT 221 – Counters.
EEL 3705 / 3705L Digital Logic Design
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
CSCE 211: Digital Logic Design
Sequential Circuit - Counter -
ECE 434 Advanced Digital System L03
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
CPE/EE 422/522 Advanced Logic Design L02
CSCE 211: Digital Logic Design
Lecture Part A Combinational Logic Design & Flip Flop
29-Nov-18 Counters Chapter 5 (Sections ).
Digital Logic & Design Dr. Waseem Ikram Lecture No. 31.
Instructor: Alexander Stoytchev
CSE 370 – Winter Sequential Logic-2 - 1
CSE 370 – Winter Sequential Logic - 1
CSE 370 – Winter Sequential Logic-2 - 1
EET107/3 DIGITAL ELECTRONICS 1
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Instructor: Alexander Stoytchev
13 Digital Logic Circuits.
Lecture No. 32 Sequential Logic.
EGC 442 Introduction to Computer Architecture
The Verilog Hardware Description Language
Systems Architecture I
14 Digital Systems.
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
CSCE 211: Digital Logic Design
Lecture 22 Logistics Last lecture Today HW7 is due on Friday
Advanced Computer Architecture Lecture 11
Lecture 22 Logistics Last lecture Today HW7 is due on Friday
Advanced Computer Architecture Lecture 10
CSE 370 – Winter Sequential Logic-2 - 1
Advanced Computer Architecture Lecture 3
Presentation transcript:

Advanced Computer Architecture Lecture 1 Course overview FSM design Lillevik 437s06-l1 University of Portland School of Engineering

Course overview See web site http://lewis.up.edu/egr/lillevik/webs/ Lillevik 437s06-l1 University of Portland School of Engineering

FSM design Assume: synchronous solution Describe: what your design should do Determine: inputs and outputs Create: state diagram Assign: adjacent states (no glitches) Prepare: next state table Explore: implementation options Lillevik 437s06-l1 University of Portland School of Engineering

FSM architecture Present State NS Decoder Output Inputs Outputs Combo logic ROM MUX Decoder Flip Flops Lillevik 437s06-l1 University of Portland School of Engineering

Next state decoder Combo logic: difficult above 4 inputs ROM MUX n inputs, or address lines  2n data elements Tedious above n = 8, or 256 data elements MUX Fairly easy with simple state dependencies Good choice for n > 8 inputs Lillevik 437s06-l1 University of Portland School of Engineering

Example design Design a 2-bit, Grey code counter with two control signals: enable, up/down Sequence = {0, 1, 3, 2, 0} NOTE: no output decoder required Lillevik 437s06-l1 University of Portland School of Engineering

FSM design Assume: synchronous solution  Assume: synchronous solution Describe: what your design should do Determine: inputs and outputs Create: state diagram Assign: adjacent states (no glitches) Prepare: next state table Explore: implementation options  Lillevik 437s06-l1 University of Portland School of Engineering

Determine inputs and outputs? Lillevik 437s06-l1 University of Portland School of Engineering

FSM design Assume: sequential solution  Assume: sequential solution Describe: what your design should do Determine: inputs and outputs Create: state diagram Assign: adjacent states (no glitches) Prepare: next state table Explore: implementation options   Lillevik 437s06-l1 University of Portland School of Engineering

Create state diagram Lillevik 437s06-l1 University of Portland School of Engineering

FSM design Assume: sequential solution  Assume: sequential solution Describe: what your design should do Determine: inputs and outputs Create: state diagram Assign: adjacent states (no glitches) Prepare: next state table Explore: implementation options    Lillevik 437s06-l1 University of Portland School of Engineering

Assign adjacent states Lillevik 437s06-l1 University of Portland School of Engineering

FSM design Assume: sequential solution  Assume: sequential solution Describe: what your design should do Determine: inputs and outputs Create: state diagram Assign: adjacent states (no glitches) Prepare: next state table Explore: implementation options     Lillevik 437s06-l1 University of Portland School of Engineering

Prepare next state table Inputs Present State Next State Outputs U/D Enable Q1 Q0 1 00 01 10 11 Lillevik 437s06-l1 University of Portland School of Engineering

FSM design Assume: sequential solution  Assume: sequential solution Describe: what your design should do Determine: inputs and outputs Create: state diagram Assign: adjacent states (no glitches) Prepare: next state table Explore: implementation options      Lillevik 437s06-l1 University of Portland School of Engineering

NSD K-maps: Q0’ Q1 U/D 1 3 2 4 5 7 6 8 9 B A C D F E Q0 En 1 3 2 4 5 7 6 8 9 B A C D F E Q0 En Lillevik 437s06-l1 University of Portland School of Engineering

NSD K-maps: Q1’ Q1 U/D 1 3 2 4 5 7 6 8 9 B A C D F E Q0 En 1 3 2 4 5 7 6 8 9 B A C D F E Q0 En Lillevik 437s06-l1 University of Portland School of Engineering

Schematic SOP Implementation 0 - 7 Or gates 8 - f Lillevik 437s06-l1 University of Portland School of Engineering

Count up Lillevik 437s06-l1 University of Portland School of Engineering

Count down Lillevik 437s06-l1 University of Portland School of Engineering

MUX implementation Reduce next state table Implementation For each present state, do K-map on remaining inputs Reduced K-map contains logic expression Implementation Send present state to MUX select lines Place logic function on each input Lillevik 437s06-l1 University of Portland School of Engineering

MUX Example Q1 S0 S1 S3 S2 IN1 1 3 2 4 5 7 6 8 9 B A C D F E Q0 00 01 1 3 2 4 5 7 6 8 9 B A C D F E Q0 00 01 11 10 IN0 00 1 01 1 1 11 10 Lillevik 437s06-l1 University of Portland School of Engineering

MUX Example, continued. Q0 LS153 Q1 1 Gnd 1 Din 2 3 2 3 S Q1,Q0 1 2 3 Q1 IN1·IN0 1 IN1·IN0 Gnd Din IN1·IN0 2 IN1·IN0 IN1·IN0 3 IN1·IN0 S Q1,Q0 Lillevik 437s06-l1 University of Portland School of Engineering

Lillevik 437s06-l1 University of Portland School of Engineering

Determine inputs and outputs Clk Reset Enable U/D Q0 Q1 Four inputs and two outputs Lillevik 437s06-l1 University of Portland School of Engineering

Create state diagram Enable c a b d U/D U/D Enable Enable U/D U/D Reset U/D & U/D NOTE: are anded with Enable Enable Lillevik 437s06-l1 University of Portland School of Engineering

Assign adjacent states Q1 Q0 1 2 3 1 a b 2 3 d c Up states are shown State assignments Lillevik 437s06-l1 University of Portland School of Engineering

Create state diagram Enable 3 1 2 U/D U/D Enable Enable U/D U/D Reset 1 2 U/D U/D Enable U/D U/D Enable U/D U/D U/D U/D Reset U/D & U/D NOTE: are anded with Enable Enable Lillevik 437s06-l1 University of Portland School of Engineering

Prepare next state table Inputs Present State Next State Outputs U/D Enable Q1 Q0 1 00 10 01 11 Count Up Lillevik 437s06-l1 University of Portland School of Engineering

Prepare next state table Inputs Present State Next State Outputs U/D Enable Q1 Q0 1 00 10 01 11 Count Down Lillevik 437s06-l1 University of Portland School of Engineering

NSD K-maps: Q0' 1 1 1 1 1 1 1 1 Q1 U/D 1 3 2 4 5 7 6 8 9 B A C D F E 1 3 2 4 5 7 6 8 9 B A C D F E Q0 En 1 1 1 1 1 1 1 1 Lillevik 437s06-l1 University of Portland School of Engineering

NSD K-maps: Q1' 1 1 1 1 1 1 1 1 Q1 U/D 1 3 2 4 5 7 6 8 9 B A C D F E 1 3 2 4 5 7 6 8 9 B A C D F E Q0 En 1 1 1 1 1 1 1 1 Lillevik 437s06-l1 University of Portland School of Engineering