9
Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2. One-Hot state assignment method 3. Microprogrammed Control Unit method 4. Pipeline Control <== in EE457

Microprogrammed Control Unit - Engineering Class …€¦ ·  · 2013-03-04Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2

Embed Size (px)

Citation preview

Page 1: Microprogrammed Control Unit - Engineering Class …€¦ ·  · 2013-03-04Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2

Microprogrammed Control Unit

Methods of designing a control unit

1. Encoded state assignment method 2. One-Hot state assignment method3. Microprogrammed Control Unit method

4. Pipeline Control <== in EE457

Page 2: Microprogrammed Control Unit - Engineering Class …€¦ ·  · 2013-03-04Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2

Microprogram method of designing control unit ==> suitable for “large” control applications

example: state machine with 500 statesMotorola 68020 processor uses this method

Conventional encoded state assignment control unit method ==> unwieldy for large state machines ( > 64 states)

sometimes called Hard-Wired method

Microprogrammed Control Unit method ==> more like software design

can be easily corrected/revised

Page 3: Microprogrammed Control Unit - Engineering Class …€¦ ·  · 2013-03-04Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2
Page 4: Microprogrammed Control Unit - Engineering Class …€¦ ·  · 2013-03-04Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2

Microprogram method -- was used in mechanical systems

Numerical Control Machinesautomatic weaving machines

punched paper tape with lines of holes/no-holes

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

?

A line of Holes ( ) / No-holes ( )

Page 5: Microprogrammed Control Unit - Engineering Class …€¦ ·  · 2013-03-04Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2
Page 6: Microprogrammed Control Unit - Engineering Class …€¦ ·  · 2013-03-04Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2
Page 7: Microprogrammed Control Unit - Engineering Class …€¦ ·  · 2013-03-04Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2

Presence of a HOLE ==> activate a tool/control signal

No-Hole ==> do not activate the tool / control signal

A line of Holes / No-holes ==> a micro-operation

==> a micro-instruction==> a control word

==> a state

A sequence of micro-operations==> a recipe

==> a microprogram==> a state machine

Page 8: Microprogrammed Control Unit - Engineering Class …€¦ ·  · 2013-03-04Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2

Paper Tape==> control store / control memory

==> microprogram memory / uROM

Paper Tape has width and lengthWidth ==>Length ==>

uROM has width and depthWidth ==>Depth ==>

0 1 2

012

uROM

Page 9: Microprogrammed Control Unit - Engineering Class …€¦ ·  · 2013-03-04Microprogrammed Control Unit Methods of designing a control unit 1. Encoded state assignment method 2

Paper advancing mechanismSprocket and motor

in the case of a Microprogram memoryuPC (micro-program counter)(an incrementable address register)

Straight-line sequencingSprocket and uPC

Branchingloadable uPC either it increments or it loads

012

uROM

uPC

012

01

23