Architecture & Organization 1• Architecture is those attributes visible to the programmer — Instruction set, number of bits used for data representation, I/O mechanisms, addressing techn
Trang 1William Stallings
Computer Organization and Architecture
7th Edition
Chapter 1
Introduction
Trang 2Architecture & Organization 1
• Architecture is those attributes visible to the programmer
— Instruction set, number of bits used for data representation, I/O mechanisms, addressing techniques.
— e.g Is there a multiply instruction?
• Organization is how features are
Trang 3Architecture & Organization 2
• All Intel x86 family share the same basic architecture
• The IBM System/370 family share the
same basic architecture
• This gives code compatibility
— At least backwards
• Organization differs between different
versions
Trang 4Differences in organization but not architecture
leads to “families”
• Different cost and performance
• Run same code
• Families may span years of technological advancement
Trang 5Hierarchical Nature of Complex Systems
• Each level of system hierarchy consists of set of components and their
interrelationships
— Operation of components Function
— Interrelation of components Structure
• Each successively higher layer describes simplified/more abstract view of lower
levels
Trang 6Hierarchical Nature of Complex Systems
(continued)
• Breaking system into components or modules
forces designer to develop a detailed
understanding of the data that is passed between them
• Working within the hierarchy, a designer needs
to only concern him/herself with the details of his
or her module at that specific level
• Working with a well-defined set of inputs,
outputs, and function definition, designers can
completely design their module without any
knowledge of how rest of system is made
Trang 7Modular System Design
Applying a modular methodology to system
design results in:
—a more manageable project
—quicker design time by allowing multiple
people with differing expertise to participate (although up-front investment of time feels like a drawback)
—a higher quality system
—a more maintainable system
—increased module reusability
Trang 8Modular System Design (continued)
There are two methods to use toward a designing a modular system:
—Top down
—Bottom up
Trang 9Top Down System Design
• Solving a problem by dividing the system into individual functions and building a
component to satisfy each function
• Benefits of Top Down Design
— Efficient use of components
— Easier to meet performance goals of the
system specification
• Drawbacks of Top Down Design
— More expensive and time consuming
Trang 10Bottom Up System Design
• Solving a problem using an existing
system (e.g., using DLL's to create a new application)
• Cheaper in small quantities
• Design time is reduced
• Past experiences can be drawn upon
Trang 11Concept of Black Boxes
• This is the building block of the
hierarchical system design
• If inputs, outputs, and functions are well defined, the designer doesn't need to
know about anything above or below in the system
Trang 13implementation of circuits and
devices
Trang 14read/write memory ranging from machine language to high-level languages
(hardware dependent)
Trang 15contained in read only memory
Trang 17Structure & Function
• Structure is the way in which components relate to each other
• Function is the operation of individual
components as part of the structure
Trang 22Data movement to a peripheral
• Data must be passed between computer and I/O devices connected to computer
• Typically to simple devices
• Examples
— monitors and keyboards
— data acquisition
— peripheral control
Trang 23Data Movement to remote devices (data
Trang 24• Something needs to monitor operation and maintain control of data processing, data storage, and data movement
• Automated control of computer’s
resources
Trang 25Functional View
Trang 26Operations (a) Data movement
Trang 27Operations (b) Storage
Trang 28Operation (c) Processing from/to storage
Trang 29Operation (d)
Processing from storage to I/O
Trang 30Structure - Top Level
Computer
Main Memory
Input Output
Systems Interconnection Peripherals
Communication
lines
Central Processing Unit
Computer
Trang 31In-Class Exercise
• Determine which of the previous operations applies each of the following uses:
— Router system
— Hard drive controller
— Video capture or CD player
• Come up with additional examples for each
of the previous operations
Trang 32Structure - The CPU
and Login Unit
Control Unit
Internal CPU Interconnection
Registers
CPU I/O
Memory
System
Bus
CPU
Trang 33Structure - The Control Unit
CPU
Control Memory
Control Unit Registers and Decoders
Sequencing Login
Control Unit ALU
Registers
Internal
Bus
Control Unit
Trang 34In-Class Exercise
• Think back to your first computer
• Try to recall the characteristics
— Processor type
— Processor speed (Hz)
— Memory size
— Characteristics such as:
– Types of storage devices
– Cache
– Bus
– Network
Trang 35Outline of the Book (1)
• Computer Evolution and Performance
• Computer Interconnection Structures
Trang 36Outline of the Book (2)
• CPU Structure and Function
• Reduced Instruction Set Computers
• Superscalar Processors
• Control Unit Operation
• Microprogrammed Control
• Multiprocessors and Vector Processing
• Digital Logic (Appendix)
Trang 37Internet Resources
- Web site for book
• http://WilliamStallings.com/COA/COA7e.html
— links to sites of interest
— links to sites for courses that use the book
— errata list for book
— information on other books by W Stallings
Trang 38Internet Resources
- Web sites to look for
• WWW Computer Architecture Home Page
• CPU Info Center