Module - 1-1
Module - 1-1
Module - 1-1
Organization
Dr. Swagat Kumar Samantaray
School of Computing Science & Engineering
VIT Bhopal University
INSTRUCTIONS FOR CLASS
COURSE DETAIL
Course Code :CSE2003 Number of Unit:6
Course Type :LT
Credits:4
COURSE OBJECTIVES:
• to provide basic concepts of computer architecture
and organization
• to impart the knowledge of implementation of
arithmetic operations in the computer.
• to develop a deeper understanding of the hardware
environment upon which all processing are carried
out.
• to provide knowledge about internals of memory
system, interfacing techniques and subsystem
devices.
2
MODULE-1-2
3
MODULE-3
Memory System
Memory systems hierarchy-Main memory organization-Types of Main memory : SRAM ,
DRAM and its characteristics and performance – latency –cycle time -bandwidth- memory
interleaving
Cache memory: Address mapping-line size-replacement and policies- coherence
Virtual memory: Paging (Single level and multi-level) – Page Table Mapping – TLB
Reliability of memory systems: Error detecting and error correcting systems.
Tutorial on design aspects of memory system
4
MODULE-
4-5-6
External storage systems and Pipelining
Organization and structure of disk drives: Electronic- magnetic and optical technologies, RAID
Architectures.
Pipelining – Data Hazards – Instructional hazards – Performance Case Study on RAID
architectures used in Industry
Multiprocessor Architectures
Introduction – Characteristics – Multi core Architecture – Parallel Processing - Flynn
Classification – Inter Connection Structures –Memory Organization
5
Text Books
6
Reference Books
7
“
What is Computer Architecture and Organization?
8
Computer Architecture Computer Organization
9
Benefits and Importance of studying Computer Organization and Architecture.
• COA is necessary to understand the designing and functioning of the various components to
process information digitally.
• COA study focuses on the Interface between hardware and software.
• COA tells the way of operating hardware components and their interconnections in Computer.
• COA provides an organized way of working with different hardware components together in one
place.
• Computer organization says, “How to do?” and computer architecture says, “What to do?”.
• COA provides detailed knowledge of the system components, Circuit designs, Structure of
Instruction, Computer arithmetic, Assembly programming, processor control, logical design, and
performance method.
• COA proves that different computer organizations can use the same architecture. For example,
Intel and AMD make X86 CPU (processor is of 86 bits), but INTEL makes its organization on X86,
and AMD makes its own, which means the processor is 86 bits. Still, internal circuits, working,
interconnections will be different.
• COA subject helps the computer engineers to understand the components functioning, working,
characteristics, performance, and their interactions.
10
Course Roadmap
Introduction to computer systems Data Representation External storage systems
and Computer Arithmetic and Pipelining
5
1 3
2 6
4
Multiprocessor
Architectures
11
Class Schedule
MON B11
TUE B11
WED B11
THU B11
12
EVALUTION PATTERN
No of No of Attendance
No of Quiz-5 No of Activity-5 Assignment-3
Tutorial-5
13
14
Quiz Solution
1.Out of what material are computer chips made? (1 Point)
Plastic
Silicon
Olestra 7.The programs written in assembly
2.Convert Decimal number 56₁₀ to Binary (1 Point) language is coverted into machine
101000 instruction by___________.(1 Point)
111000
Compiler
110011
Interpreter
3.What does CPU stand for ?(1 Point) Assembler
Core Processing unit
Converter
Computer Processing Unit
Central Processing unit 8.How many bits is eqal to 1 byte?(1 Point)
4.Who is” The Father of Computing”(1 Point) 4
Charles Babbage 8
August Kerckhoffs 16
John von Neumann 32
5.Which one of these device is not a secondary memory 9.A flip flop stores __________(1 Point)
device ? (1 Point) 1 bit of information
Hard Disk 2 bit of Information
Pen drive 3 bit of information
SD Card All the above
CPU 10.What does ROM stand for(1 Point)
6.Which programming languages are you comfortable with? (1 Random only Memory
Point) Read On Memory
C
Read only memory
Python
Both
15
1
Introduction to Computer
Architecture
Introduction to computer systems - Overview of Organization and Architecture -
Functional components of a computer -Registers and register files-Interconnection of
components- Organization of the von Neumann machine and Harvard architecture-
Performance of processor
16
Computer Types
Digital
Computer
MICRO Mini
Computer Computer
Super
Mainframes
Computers
17
Microcomputer
• The Commodore 64, also known as the C64 or the CBM 64, is an 8-bit home
computer introduced in January 1982 by Commodore International.
18
Mini Computer
1. Henderson, Rebecca M.; Newell, Richard G., eds. (2011). Accelerating Energy Innovation: Insights from Multiple Sectors. Chicago:
University of Chicago Press. p. 180. ISBN 978-0226326832.
19
Mainframes
20
Super Computer
1. "IBM Blue gene announcement". 03.ibm.com. 26 June 2007. Retrieved 9 June 2012.
2. "Intrepid". Argonne Leadership Computing Facility. Argonne National Laboratory. Archived from the original on 7 May 2013.
Retrieved 26 March 2020.
21
Digital Computers
22
Digital Computers
Param shivay
24
Quiz- Solution
Pratyush
4.which supercomputer beat chess grandmaster Garry Kasparov.(1 Point)
Deep Blue
5.Supercomputer built by the Indian Space Research Organisation (ISRO)
(1 Point)
Pleiades
SAGA-220
25
Name the computers most suited for these tasks
Super computer
Complex scientific research
Weather forecasting
Gaming computer
Playing games
26
India Super Computer
India's Journey of Supercomputers began in the '80s when the USA refused to give supercomputer to
India.
The father of India’s supercomputer
first supercomputer PARAM 8000
27
Basic Structure of Computers
28
Functional Units
object Program
Compiler
source program
31
Input Unit
32
Memory Unit
□ Store programs and data
□ Two classes of storage
□ Primary storage
■ Fastest
■ Programs must be stored in memory while they are being
executed
■ Large number of semiconductor storage cells
■ Processed in words Address : To provide easy access to
any word
■ RAM and memory access time
■ Memory hierarchy – cache, main memory
□ Secondary storage
■ larger Module-III Memory System
■ cheaper
⊡ In Computing, a Word is the natural unit of data
used by a particular processor design.
⊡ Word addressing means that address of memory
on a computer uniquely identify words of
memory.
34
Arithmetic and Logic Unit
( ALU)
36
Control Unit
37
Basic functional
units of a computer
38
Operations of a
computer
39
This instruction adds the operand at the memory location LOCA
with the operand at the register R0 in the processor and place
the sum result into the register R0.
40
Assignment Solution
Need to perform an Logical AND Operation between two data which is available at memory
location LOCX and loctaion LOCY. Write an assembly program to do the logical AND operation
and store the result in memory location LOCZ ( Hint: Use Internal Registers). Also write down
the stpes to do the operation.
R0
Address Data/operand
LOCY 10101111 R2
LOCX 11011101
LOCZ
41
Registers and register files-
Interconnection of components
42
Registers
⊡ In Computer Architecture, the Registers are very fast computer
memory which are used to execute programs and operations
efficiently.
⊡ The sole purpose of having register is fast retrieval of data for
processing by CPU.
⊡ Different registers in Processor
□ Instruction Register (IR)
□ Program Counter ( PC)
□ General Purpose Register (R0 – Rn-1)
⊡ Different registers for Memory
□ Memory Address Register ( MAR)
□ Memory Data Register (MDR)
43
Processor and Memory
Interconnection
MEMORY
MAR MDR
CONTROL
PC R0 Processor
R1
.
.
IR ALU
.
Rn-1
44
Registers
⊡ Instruction Register (IR):
□ The IR holds the instruction which is just about to be executed.
□ The instruction from PC is fetched and stored in IR.
□ As soon as the instruction in placed in IR, the CPU starts executing the
instruction and the PC points to the next instruction to be executed.
⊡ Program Counter (PC):
□ Program Counter (PC) is used to keep the track of execution of the program.
□ It contains the memory address of the next instruction to be fetched.
□ PC points to the address of the next instruction to be fetched from the main
memory when the previous instruction has been successfully completed.
□ PC also functions to count the number of instructions.
⊡ General Purpose Registers:
□ These are numbered as R0, R1, R2….Rn-1, and used to store temporary data
during any ongoing operation.
□ Its content can be accessed by assembly programming.
45
Memory Registers
⊡ Memory Address Registers (MAR):
It holds the address of the location to be accessed
from memory.
46
0x1004 MOV
0x1003 AND X,Y
0x1002 STORE
0x1001 MOV
0x1000 ADD x y
0x0000 23
MEMORY
47
Typical Operating Steps
48
Typical Operating
Steps…
49
Typical Operating Steps…
PROGRAM
Input 0x1002 XXXX
UNIT
Device 0x1001 XXXX ALU
0x1000 ADD x y
0x0000
99
MEMORY
0x1001 DECODE
0x1000 0x1000 ADD x y ADD x y &
EXECUTE
PC MAR MDR IR
50
Bus Structures
52
53
54
Single Bus Structure
56
Buffer
⊡ The buffer registers with the devices to hold the information during
transfer.
⊡ Example : Consider the transfer of an encoded character from
processor to a Character Printer
□ The Processor sends the character over the bus to the printer
buffer.
□ Once the Buffer is loaded , the printer is start printing with out
ant further intervention by processor.
Advantages:
□ The buffer registers smooth out timing difference among
processors, memories and I/O device during sequence of data
transfer .
□ Allow processor to switch rapidly from one device to another
57
Thank You
58