Download Microelectronics : Systems and Devices

Transcript
Inside the CPU
67
Out of order execution: If a calculation has several steps in it, the
values to be used at a given step depend on values obtained in previous
steps. The steps must be executed in the correct order. However, in a
system with two or more processors, it is possible for an idle processor
to check ahead to find an instruction that does not depend on previous
calculations, and execute that instruction ahead of time. The result will
then be ready when required.
Activity 4.1 Selecting a processor
Select a microprocessor or microcontroller that would be
suitable for:
(a) switching traffic lights, with presettable delays at each
stage.
(b) controlling an automatic weighing machine. Weights
are displayed on a liquid crystal display.
(c) a hand-held stock logger, such as is used in
supermarkets for shelf stock-taking.
(d) controlling a printer that is attached to a computer.
(e) monitoring the water level in a tank and warning when
the rate of rise is too fast.
Use manufacturers’ data sheets and other reference
materials to help you make your choice. Make a list of the
reasons for your choice.
Activity 4.2 Inside the CPU
Investigate the internal structure of a microprocessor or
microcontroller, using the manufacturers’ data sheets and
other reference materials. Draw a diagram to show the
main units and the way data flows between them. Show
the ports and indicate the direction(s) of flow of signals.
Write a brief account of the internal structure, outlining
what each unit does.
List the flags of the status register (or equivalent register)
and explain what each flag means.
Note any features of the device which suit it for special
applications. Note any features that give the device high
operating speed.