COMP541%20Sequencing%20and%20Control%20--%20II - PowerPoint PPT Presentation

About This Presentation
Title:

COMP541%20Sequencing%20and%20Control%20--%20II

Description:

Nomenclature and Characteristics. Word of memory called microinstruction. The set of instructions called microprogram. Sometimes in ROM, sometimes loadable ... – PowerPoint PPT presentation

Number of Views:31
Avg rating:3.0/5.0
Slides: 22
Provided by: Montek5
Learn more at: http://www.cs.unc.edu
Category:

less

Transcript and Presenter's Notes

Title: COMP541%20Sequencing%20and%20Control%20--%20II


1
COMP541Sequencing and Control -- II
  • Montek Singh
  • April 5, 2007

2
Topics
  • Still on Chapter 8
  • Last class
  • Hardwired control
  • Now
  • Microprogrammed control of multiplier

3
Microprogrammed Approach
  • Control values stored in a memory
  • Job of instructions is to generate control
    signals to datapath and output

4
Nomenclature and Characteristics
  • Word of memory called microinstruction
  • The set of instructions called microprogram
  • Sometimes in ROM, sometimes loadable
  • Often wide word

5
Recall Datapath
6
Microprogrammed Control Unit
  • Control Address Register (CAR) equivalent to PC
  • Sequencer
  • Part of instruction sent to next-address
    generator to determine next instruction addr

7
Control Data Register
  • Pipelining approach to break up the delay in the
    addr gen and ROM
  • Not used in example

8
Status Bits
  • Notice that they go only to sequencer
  • Can only affect next control word
  • So, conditional output boxes not allowed in this
    architecture

9
ASM old vs. new
10
Microinstruction
  • Word format
  • Addresses of potential next instructions
  • Fields for next instruction selection
  • Fields for datapath control

11
Datapath Control Signals
  • Doesnt include load reg inst.
  • Look at ASM to see where they are asserted

12
Mapping to Microinstruction
  • Have only 4 signals
  • Could encode (2 bits?)
  • Would cost a decoder
  • Just a design tradeoff
  • This design has tiny ROM anyway

13
Sequencer Design
  • Probably most important part of this process
  • This design provides 2 addrs
  • SEL field and control logic choose one
  • Other possibility is one addr field
  • Choice is to go to next sequential addr (like
    PC), or
  • Using control signals go to addr specified

14
SEL Field
15
Result
  • 5 words in ROM
  • ROM is 12 bits wide
  • Design next

16
Microprog Design for Mult
Mux chooses addr1 or addr2
Mux control from datapath status and external
signals. Next slide
17
Detail of Control
18
Microprogram
19
Is it necessary?
  • Microprogramming less useful now that HLLs used
    for design
  • Can use Verilog to generate very complex state
    machine

20
Today
  • Looked at ways to implement microprogrammed
    control for the multiplier

21
Next
  • Look at computer
  • Sequencing
  • Pipelining
  • Well also return to look at programmable logic
  • Wed skipped earlier
Write a Comment
User Comments (0)
About PowerShow.com