Computer Architecture and Organization (CAO) : Visvesvaraya National Institute of Technology
Computer Architecture and Organization (CAO) : Visvesvaraya National Institute of Technology
Credits: 3
SYLLABUS
Chapter 1
Chapter 2
Chapter 3
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 12
COURSE PLAN
Topics No. of classes
Examples 1
Interrupts 2
Total classes: 14
Evaluation Plan (of 100 Marks):
1. Embedded computers
1. Industrial
2. Home automation
3. Appliances
4. Telecommunication products
5. Vehicles
2. Personal Computers
1. Home
2. Educational institutions
3. Business
4. Individual use
3. Servers and Enterprise systems
1. Large databases
2. Shared by large number of users
3. Institutional servers
4. Organizational Servers and so on.
4. Supercomputers & Grid computers
1. Weather forecasting
2. Engineering design
3. Simulation
4. Scientific work
5. Information searching
6. Numerical computation and so on.
1.2 Functional Units:
Computer consists of five functionally independent main parts:
1. Input
2. Memory
3. Arithmetic and logic
4. Output
5. Control Units
Arithmetic
Input and logic unit
Memory
Primary Memory
Primary memory aka main memory.
Fast memory operates at electronic speeds
Programs must be stored in this memory while they are
being executed.
Memory consists of large number of semiconductors storage
cells, capable of storing one bit of information.
These cells are rarely read or written individually.
Instead, handled in groups of fixed size called words.
Number of bits in each word – known as word length of the
computer; 16, 32 or 64 bits.
To provide easy access to any word in the memory, a distinct
address is associated with each word location.
Addresses are consecutive numbers – starting from 0,
identify successive location.
A particular address is accessed by specifying its address
and issuing a control command to the memory that starts
the storage or retrieval process.
A memory in which any location can be accessed in a short
and fixed amount of time after specifying its address is
called random – access memory (RAM).
Time required to access one word – memory access time.
Time is independent of the location of the word being
accessed.
Ranges – few nanoseconds (ns) to about 100 ns for current
RAM units.
Cache Memory
Adjunct to the main memory - smaller and faster RAM
unit called – a cache.
Used – hold sections of a program currently being
executed, along with any associated data.
Cache – tightly coupled with the processor, contained on
the same integrated chip.
Purpose – facilitate high instruction execution rates.
Start of the program – cache is empty
Program instructions and associated data stored - main
memory.
Execution proceed – instructions are fetched into the
processor chip.
Copy of each – placed in the cache.
Whenever data required for execution - data are fetched -
copy of the data placed in the cache.
Repeated instructions– such as loop instructions fetched
quickly as copy of them already exists in the cache.
Same goes for the data.
Secondary Storage
Primary Memory tends to be expensive & does not retain
information when power is turned off.
Secondary storage
Less expensive
Used – large amount of data and many programs, particularly
information that is accessed infrequently.
Access time longer than primary storage.
Examples – magnetic disks, optical disks (DVD and CD),
flash memory devices.
Example: Printer
Most printers employ – either photocopying
techniques (laser printers) or ink jet streams.
Such printers may generate output at speeds of 20 or
more pager per minute.
Printers are mechanical devices – quite slow
compared to the electronic speed of the processor.
Some units – graphic displays – performs the role of
input as well as output through the touch screen
capability.
This dual role of such units is the reason for using I/O
units in many cases.
2. 6 - bit
12 and 15 (add and sub)