Embedded applications
Thousands of items that were traditionally not computer-related include
microprocessors. These include large and small household appliances, cars (and
their accessory equipment units), car keys, tools and test instruments, toys,
light switches/dimmers and electrical circuit
breakers, smoke alarms, battery packs, and hi-fi audio/visual components (from DVD players to phonograph turntables). Such products
as cellular telephones, DVD video system and HDTV broadcast systems fundamentally require consumer devices with powerful,
low-cost, microprocessors. Increasingly stringent pollution control standards
effectively require automobile manufacturers to use microprocessor engine
management systems, to allow optimal control of emissions over widely varying
operating conditions of an automobile. Non-programmable controls would require
complex, bulky, or costly implementation to achieve the results possible with a
microprocessor.
A microprocessor control program (embedded software) can be easily tailored to different needs of a product line, allowing
upgrades in performance with minimal redesign of the product. Different
features can be implemented in different models of a product line at negligible
production cost.
Microprocessor control of a system can provide control strategies that
would be impractical to implement using electromechanical controls or
purpose-built electronic controls. For example, an engine control system in an
automobile can adjust ignition timing based on engine speed, load on the
engine, ambient temperature, and any observed tendency for knocking—allowing an
automobile to operate on a range of fuel grades.
Structure
A block diagram of the internal architecture of the Z80 microprocessor,
showing the arithmetic and logic section, register file, control logic section,
and buffers to external address and data lines
The internal arrangement of a microprocessor varies depending on the age
of the design and the intended purposes of the processor. The complexity of an
integrated circuit is bounded by physical limitations of the number of
transistors that can be put onto one chip, the number of package terminations
that can connect the processor to other parts of the system, the number of
interconnections it is possible to make on the chip, and the heat that the chip
can dissipate. Advancing technology makes more complex and powerful chips
feasible to manufacture.
A minimal hypothetical microprocessor might only include an arithmetic logic unit (ALU) and a control logic section. The ALU performs operations such as
addition, subtraction, and operations such as AND or OR. Each operation of the
ALU sets one or more flags in a status register, which indicate the results of
the last operation (zero value, negative number, overflow. or others). The
logic section retrieves instruction operation codes from memory, and initiates
whatever sequence of operations of the ALU requires to carry out the
instruction. A single operation code might affect many individual data paths,
registers, and other elements of the processor.
As integrated circuit technology advanced, it was feasible to manufacture
more and more complex processors on a single chip. The size of data objects
became larger; allowing more transistors on a chip allowed word sizes to
increase from 4- and 8-bit words up to today's 64-bit words. Additional
features were added to the processor architecture; more on-chip registers
speeded up programs, and complex instructions could be used to make more
compact programs. Floating-point arithmetic, for example, was often not
available on 8-bit microprocessors, but had to be carried out in software.
Integration of the floating point unit first as a separate integrated circuit and then as part of the same
microprocessor chip, speeded up floating point calculations.
Occasionally, physical limitations of integrated circuits made such
practices as a bit slice approach necessary. Instead
of processing all of a long word on one integrated circuit, multiple circuits
in parallel processed subsets of each data word. While this required extra
logic to handle, for example, carry and overflow within each slice, the result
was a system that could handle, say, 32-bit words using integrated circuits
with a capacity for only 4 bits each.
With the ability to put large numbers of transistors on one chip, it
becomes feasible to integrate memory on the same die as the processor. This CPU cache has the advantage of faster
access than off-chip memory, and increases the processing speed of the system
for many applications. Generally, processor speed has increased more rapidly
than external memory speed, so cache memory is necessary if the processor is
not delayed by slower external memory.
No comments:
Post a Comment