1.introduction21
1.introduction21
CREDITS - 4 (LTP:3,0,1)
0
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.
1
Examination
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
Computer Architecture refers to those attributes of a
system that have a direct impact on the logical execution of
a program. Examples:
o the instruction set, instruction formats, opcodes, registers
o the number of bits used to represent various data types
o I/O mechanisms
o memory addressing techniques
The architecture of a computer is the set of resources seen
by the computer programmer. It includes general purpose
registers, the status word, the instruction set, the address
space, etc.
6
Computer Organization refers to the operational units and their
interconnections that realize the architectural specifications.
Examples are things that are transparent to the programmer:
o control signals
o interfaces between computer and peripherals
o the memory technology being used
All Intel x86 family share the same basic architecture. 80x86 ISA
This gives code compatibility
o At least backwards
Organization differs between different versions
7
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.
8
The components from which computers are built, i.e.,
computer organization.
•In contrast, computer architecture is the science of
integrating those components to achieve a level of
functionality and performance.
•It is as if computer organization examines the bricks, nails,
and other building material
•While computer architecture looks at the design of the
house.
9
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
10
Show the relation between organization, architecture, system programs and
application program
Architecture is interface between hardware and software
11
12
Why to study this subject?
13
Block diagram of computer
What is a computer?
15
Functional units of a computer
Input unit accepts Arithmetic and logic unit(ALU):
information: •Performs the desired
•Human operators, operations on the input
•Electromechanical devices information as determined
•Other computers by instructions in the memory
Memory
Arithmetic
Input
Instr1 & Logic
Instr2
Instr3
Data1
Output Data2 Control
I/O Processor
Stores
information: Control unit coordinates
Output unit sends various actions
results of processing: •Instructions,
•Data •Input,
•To a monitor display, •Output
•To a printer •Processing
16
17
limitation
18
Motherboard : the main PCB is called mother board consists of various chips
Chip is a single piece of semiconductor material (silicon) upon which electronics
circuit and logic gates are fabricated. The resulting product is called IC
19
20
21
Microprocessor
22
Micropocessor
23
Information in a computer -- Instructions
24
Information in a computer -- Data
25
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
26
Memory unit
28
Memory unit (contd..)
29
Arithmetic and logic unit (ALU)
30
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
31
Control unit
32
How are the functional units connected?
Bus
33