1 Introduction21
1 Introduction21
1
Course Objective: To impart knowledge of the basic
structure of digital computer, its operation, design of
basic processors, memory organization and its interface
with various memory & input/output devices.
2
List of References:
1. Hamacher, Vranesic, Zaky, “Computer Organization”, McGraw Hill
2. M. Morris Mano, “Computer System Architecture”, Pearson Education
3. Andrew S. Tanenbaum and Todd Austin, “Structured Computer Organization”,
Pearson Education
4. N D Jotwani, “Computer system organization”, McGraw Hill
5. R.S.Gaonkar, “Microprocessor Architecture, Programming and Applications
with 8085”, Penram International
6.Computer organization and design by David Patterson and john hennessy
3
Course Outcomes (COs): After successful completion of the course, the
students will be able to…
1.Understand the organization of the control unit, arithmetic and logical unit,
memory unit and I/O unit.
2.Apply knowledge of the processor’s internal registers and operations for
assembly programming to provide solutions of given problems.
3.Compare execution time of instructions in terms of machine cycles and T
states.
4.Design a basic central processing unit.
5.Design interfacing of memory and I/O modules with CPU.
6.Compare performance of different types of computer architectures.
4
Computer architecture & Organization
5
The term organization includes the high-level aspects of a
computer's design, such as the memory system, the
memory interconnect, and the design of the internal
processor or CPU (central processing unit—where
arithmetic, logic, branching, and data transfer are
implemented).
For example, two processors with the same instruction
set architectures but very different organizations are the
AMD Opteron 64 and the Intel Pentium 4. Both processors
implement the x86 instruction set, but they have very
different pipeline and cache organizations.
E.g. multiplication instruction is there or not is
architecture but how it built is organization
word architecture covers all three aspects of computer
design—instruction set architecture, organization, and
hardware.
6
•The components from which computers are built, i.e.,
computer organization.
7
Architecture is the external view of a computer that is essential to
properly understood by anyone who is likely to program a computer
using machine or assembly languages
A knowledge of organization can help one to understand
the internal operations that are carried out by a
computer while program is being executed
Organization deals with the internal view of the
computer
8
9
10
Why to study this subject?
11
Block diagram of computer
What is a computer?
Memory
Arithmetic
Input
Instr1 & Logic
Instr2
Instr3
Data1
Output Data2 Control
I/O Processor
Stores
information: Control unit coordinates
Output unit sends various actions
•Instructions,
results of processing: •Input,
•To a monitor display, •Data
•Output
•To a printer •Processing
14
15
limitation
16
17
18
19
Microprocessor
20
Micropocessor
21
Information in a computer -- Instructions
22
Information in a computer -- Data
23
Input unit
Binary information must be presented to a computer in a specific format. This
task is performed by the input unit:
- Interfaces with input devices.
- Accepts binary information from the input devices.
- Presents this binary information in a format expected by the computer.
- Transfers this information to the memory or processor.
Real world Computer
Memory
Keyboard
Audio input
Input Unit
……
Processor
24
Memory unit
Memory unit stores instructions and data.
Recall, data is represented as a series of bits.
To store data, memory unit thus stores bits.
Two types: primary and secondary (storage) memory
RAM is made of registers and each register has group of flip-
flops or FET known as memory cells. The number of bits
stored in register is called memory word
Processor reads instructions and reads/writes data from/to the
memory during the execution of a program.
In practice, a group of bits is fetched at a time.
Group of bits stored or retrieved at a time is termed as “word”
Number of bits in a word is termed as the “word length” of a
computer.
In order to read/write to and from memory, a processor should
know where to look:
“Address” is associated with each word location.
25
Memory unit (contd..)
Processor reads/writes to/from memory based on the
memory address:
Access any word location in a short and fixed amount of
time based on the address.
Random Access Memory (RAM) provides fixed access time
independent of the location of the word.
Access time is known as “Memory Access Time”.
26
Memory unit (contd..)
28
Output unit
•Computers represent information in a specific binary form. Output units:
- Interface with output devices.
- Accept processed results provided by the computer in specific binary form.
- Convert the information in binary form to a form understood by an
output device.
Memory Printer
Graphics display
Speakers
……
Output Unit
Processor
29
Control unit
30
How are the functional units connected?
Bus
31