Computer Organization Unit 1: Overview
Computer Organization Unit 1: Overview
unit 1 : Overview
1.1 Overview
Why study computer organization and design?
Designbetter programs, including system software such as
compilers, operating systems, and device drivers.
Optimize program behavior.
Evaluate (benchmark) computer system performance.
Understand time, space, and price tradeoffs.
1.1 Overview
• Computer organization
– physical aspects of computer systems.
– E.g., circuit design, control signals, memory types.
– How does a computer work?
• Computer architecture
– Logical aspects of system as seen by the programmer.
– E.g., instruction sets, instruction formats, data types,
addressing modes.
– How do I design a computer?
Computer Architecture
Computer Organization
• Attributes of a system visible to the • Instruction set, number of
programmer bits used to represent
• Have a direct impact on the logical various data types, I/O
execution of a program mechanisms , and
techniques for addressing
Architectural memory
Computer
attributes
Architecture
include:
Organizationa Computer
• Hardware details transparent to thel attributes Organization • The operational units
programmer, control signals, include: and their
interfaces between the computer interconnections that
and peripherals, memory realize the architectural
technology used specifications
1.2 Computer Components
Registers
Provide storage internal to the CPU
CPU Interconnection
Some mechanism that provides for communication among
the control unit, ALU, and registers
1.3 The Computer Level Hierarchy
.
Performance via Prediction
• Performance via Prediction
Following the saying that it can be better to ask for
forgiveness than to ask for permission, the final great
idea is prediction.
•In some cases it can be faster on average to guess and
start working rather than wait until you know for sure,
assuming that the mechanism to recover from a
misprediction is not too expensive
and your prediction is relatively accurate.
.
Hierarchy of Memories
• Programmers want memory to be fast, large, and
cheap, as memory speed often shapes performance,
capacity limits the size of problems that can be solved,
and the cost of f memory today is often the majority of
computer cost.
•Architects have found that they can address these
conflicting demands with a hierarchy of memories, with
the fastest, smallest, and most expensive memory per
bit at the top of the hierarchy
and the slowest, largest, and cheapest per bit at the
bottom.
.
Dependability via Redundancy
• Dependability via Redundancy
Computers not only need to be fast; they need to
be dependable. Since any physical
device can fail, we make systems dependable by
including redundant components that
can take over when a failure occurs and to help
detect failures.