Professional Documents
Culture Documents
Dedicated Microprocessors
Dedicated Microprocessors
Page 1 of 46
Contents
Dedicated Microprocessors........................................................................................................................................... 2
11.1 Manual Construction of a Dedicated Microprocessor................................................................................... 4
11.2 Examples....................................................................................................................................................... 8
11.2.1 Greatest Common Divisor..................................................................................................................... 8
11.2.2 Summing Input Numbers .................................................................................................................... 14
11.2.3 High-Low Guessing Game.................................................................................................................. 19
11.2.4 Finding Largest Number ..................................................................................................................... 25
11.3 VHDL for Dedicated Microprocessors ....................................................................................................... 30
11.3.1 FSM + D Model .................................................................................................................................. 30
11.3.2 FSMD Model ...................................................................................................................................... 35
11.3.3 Behavioral Model................................................................................................................................ 37
11.4 Summary Checklist ..................................................................................................................................... 38
11.5 Problems ..................................................................................................................................................... 38
Index ....................................................................................................................................................................... 46
Page 2 of 46
Chapter 11
Dedicated Microprocessors
Control
Inputs
Data
Inputs
Control unit
'0'
Datapath
mux
ff
Nextstate
Logic
State
Memory
Output
Logic
register
Control
Signals
Status
Signals
Control
Outputs
ALU
ff
register
8
Data
Outputs