A Microprogrammed Datapath - PowerPoint PPT Presentation

About This Presentation
Title:

A Microprogrammed Datapath

Description:

Register File. ALU. Memory. Data In. Address. Data Out. MUX D ... IR: Instruction Register. MicroProgram Counter. Control word. Next MicroInstruction Address ... – PowerPoint PPT presentation

Number of Views:194
Avg rating:3.0/5.0
Slides: 12
Provided by: san7196
Learn more at: http://charm.cs.uiuc.edu
Category:

less

Transcript and Presenter's Notes

Title: A Microprogrammed Datapath


1
A Microprogrammed Datapath
  • Laxmikant Kale
  • http//charm.cs.uiuc.edu
  • Parallel Programming Laboratory
  • Department of Computer Science
  • University of Illinois at Urbana Champaign

2
A Microprogrammed Datapath
  • The datapath we worked with for the past few
    weeks was just an example
  • We will look at another datapath today
  • To emphasize that alternate designs are possible
  • To show an example where each instruction takes
    multiple cycles to finish
  • To show a different way of generating control
    signals

3
Why multiple cycles?
  • Wouldnt it be slower?
  • Not necessarily if each clock cycle can be made
    shorter
  • Variable number of cycles for instructions (some
    2, some 5)

4
New Datapath
  • Let us use one memory module
  • for both data and instructions
  • Allow for multiple cycles for each instruction

5
Register File
MUX B
MUX M
ALU
Memory
Data In
Address
Data Out
MUX D
6
Consequences of this datapath
  • Needs a cycle to fetch instruction from memory

7
How to generate contol signals
  • Control word
  • In our older datapath
  • Control word was determined fully by the
    instruction
  • Here
  • It depends on instruction and on which cycle
    within the instruction we are in
  • Example

8
Generating control sequential circuit
9
IR Instruction Register
Control Unit
Control word
Cycle Counter
10
IR Instruction Register
Microprogram Memory
Control word
Next MicroInstruction Address
MicroProgram Counter
11
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com