SlideShare a Scribd company logo
Unit - 1
Basic Functional Blocks of a Computer
CPU
Memory
Input-output Subsystems
Control Unit
Unit-1 by M Indraja 1
Computer Organization And Architecture
Unit-1 by M Indraja 2
Basic Computer Model and different units of computer
CPUI/O
Devices
O/p
Devices
Memory
Central Processor Unit (CPU):
In CPU consist of 2 basic blocks
1.Control Unit
2.Execution Unit
Unit-1 by M Indraja 3
 The program control unit has a set of registers and control circuit to generate control signals.
 The execution unit or data processing unit contains a set of registers for storing data and an Arithmatic
and Logic Unit (ALU) for execution of arithmatic and logical operations.
Input Unit:
Keyboard, Mouse, Hard disk, Floppy disk, CD-ROM drive
Unit-1 by M Indraja 4
Output Unit:
Printer, Monitor, Hard disk, Floppy disk.
Memory Unit:
Memory unit is used to store the data and program. CPU can work with the information stored in memory unit.
This memory unit is termed as primary memory or main memory module. These are basically semi conductor
memories.
There ate two types of semiconductor memories -
Volatile Memory: RAM (Random Access Memory).
Non-Volatile Memory: ROM (Read only Memory), PROM (Programmable ROM), EPROM
(Erasable PROM), EEPROM (Electrically Erasable PROM).
Consider the Arithmatic and Logic Unit (ALU) of Central Processing Unit :
Consider an ALU which can perform four arithmatic operations and four logical operations
To distinguish between arithmatic and logical operation, it may use a signal line,
0 - in that signal, represents an arithmatic operation and
1 - in that signal, represents a logical operation.
In the similar manner, it may need another two signal lines to distinguish between four arithmatic
operations.
The different operations and their binary code is as follows:
Arithmatic Logical
000 ADD 100 OR
001 SUB 101 AND
010 MULT 110 NAND
011 DIV 111 ADD
Unit-1 by M Indraja 5
Consider the part of control unit, its task is to generate the appropriate signal at right moment.
There is an instruction decoder in CPU which decodes this information in such a way that computer can
perform the desired task
The simple model for the decoder may be considered that there is three input lines to the decoder and
correspondingly it generates eight output lines. Depending on input combination only one of the output signals
will be generated and it is used to indicate the corresponding operation of ALU.
In our simple model, we use three storage units in CPU,
Two -- for storing the operand and
one -- for storing the results.
These storage units are known as register.
Unit-1 by M Indraja 6
History of Computer:
First Generation (1940-50 :: Vacuum Tube):
ENIAC [1945]: Designed by Mauchly & Echert, built by US army to calculate trajectories for ballistic shells
during World War II. Around 18000 vacuum tubes and 1500 relays were used to build ENIAC, and it was
programmed by manually setting switches
UNIVAC [1950]: the first commercial computer
John Von Neumann architecture: Goldstine and Von Neumann took the idea of ENIAC and developed
concept of storing a program in the memory. Known as the Von Neumann's architecture and has been the basis for virtually
every machine designed since then.
Features:
1.Electron emitting devices
2.Data and programs are stored in a single read-write memory
3.Memory contents are addressable by location, regardless of the content itself
4.Machine language/Assemble language
5.Sequential execution
Unit-1 by M Indraja 7
Second Generation (1950-1964) :: Transistors
William Shockley, John Bardeen, and Walter Brattain invent the transistor that
reduce size of computers and improve reliability. Vacuum tubes have been replaced
by transistors.
First operating Systems:
Handled one program at a time
On-off switches controlled by electronically.
High level languages
Floating point arithmetic.
Unit-1 by M Indraja 8
Third Generation (1964-1974) :: Integrated Circuits (IC)
1.Microprocessor chips combines thousands of transistors, entire circuit on one
computer chip.
2.Semiconductor memory
3.Multiple computer models with different performance characteristics
4.The size of computers has been reduced drastically
Unit-1 by M Indraja 9
Fourth Generation (1974-Present) :: Very Large-Scale Integration (VLSI) /
Ultra Large Scale Integration (ULSI)
1.Combines millions of transistors
2.Single-chip processor and the single-board computer emerged
3.Creation of the Personal Computer (PC)
4.Use of data communications
5.Massively parallel machine
Unit-1 by M Indraja 10
Basics of Architecture and Organization:
Architecture: In architecture the attributes visible to the programmer like instruction set, number of bits used for
data representation, I/O mechanisms, addressing techniques.
Ex: if any instruction like multiplication, addition etc.
Organization: It shows the how features are implemented like control signals, interfaces, memory technology.
Ex: There is a h/w multiply unit or is it done by repeated addition.
In COA there is a families of Architecture.
There are 1. Intel x86 family share the same basic architecture
2.The IBMsystem/370 family share the same basic architecture
Unit-1 by M Indraja 11
Structure of Von Neumann Machine:
The computer system works it basically on stored program principle as introduced by “Scientist Von
Neumann” and it is also called as Von Neumann stored program concept.
1. It is having a storage unit know as main memory (ROM).
2. Main Memory storing programs and data.
3. ALU operating on binary data.(like add, sub, divd etc)
4. CU interpreting instructions from memory and executing,
5. I/O equipment operated by CU,
6. Princeton Institute for Advanced Studies (IAS) in 1952 was designed a architecture called Von Neumann
Architecture.
Unit-1 by M Indraja 12
Computer:
In computer there is two types of components. There are
Function of computer and another one is Structure of computer
Function of Computer:
All computer functions are same in these functions there are 4 categories.
1.Data Processing
2.Data Storing
3.Data Movement
4.Control.
Unit-1 by M Indraja 13
Unit-1 by M Indraja 14
Unit-1 by M Indraja 15
Unit-1 by M Indraja 16
Unit-1 by M Indraja 17
Unit-1 by M Indraja 18
Unit-1 by M Indraja 19
Unit-1 by M Indraja 20
Unit-1 by M Indraja 21
Unit-1 by M Indraja 22
RISC CISC
Acronym It stands for ‘Reduced Instruction Set Computer’.
It stands for ‘Complex Instruction Set
Computer’.
Definition
The RISC processors have a smaller set of instructions with
few addressing modes.
The CISC processors have a larger set of
instructions with many addressing modes.
Memory unit
It has no memory unit and uses a separate hardware to
implement instructions.
It has a memory unit to implement complex
instructions.
Program It has a hard-wired unit of programming. It has a micro-programming unit.
Design It is a complex complier design. It is an easy complier design.
Calculations The calculations are faster and precise. The calculations are slow and precise.
Decoding Decoding of instructions is simple. Decoding of instructions is complex.
Time Execution time is very less. Execution time is very high.
External
memory
It does not require external memory for calculations. It requires external memory for calculations.
Pipelining Pipelining does function correctly. Pipelining does not function correctly.
Code
expansion
Code expansion can be a problem. Code expansion is not a problem.
Disc space The space is saved. The space is wasted.
Applications
Used in high end applications such as video processing,
telecommunications and image processing.
Used in low end applications such as security
systems, home automations, etc.
Unit-1 by M Indraja 23
mPC: Micro Program Counter
mPM : Micro Program Memory
CW: Control Word
IR : Instruction Register
PC: Program Counter
Unit-1 by M Indraja 24
Unit-1 by M Indraja 25
Unit-1 by M Indraja 26
Unit-1 by M Indraja 27
Unit-1 by M Indraja 28
Unit-1 by M Indraja 29
Representation of Real Number:
Binary representation of 41.6875 is 101001.1011
Therefore any real number can be converted to binary number
system
There are two schemes to represent real number :
Fixed-point representation
Floating-point representation
Unit-1 by M Indraja 30
Unit-1 by M Indraja 31
Fixed-point representation:
Binary representation of 41.6875 is 101001.1011
To store this number, we have to store two information,
-- the part before decimal point and
-- the part after decimal point.
This is known as fixed-point representation where the position of decimal point is
fixed and number of bits before and
after decimal point are also predefined.
If we use 16 bits before decimal point and 8 bits after decimal point, in signed
magnitude form, the range is
One bit is required for sign information, so the total size of the number is 25 bits
( 1(sign) + 16(before decimal point) + 8(after decimal point) ).
Floating-point representation:
In this representation, numbers are represented by a mantissa
comprising the significant digits and an exponent part
of Radix R.
The format is:
Numbers are often normalized, such that the decimal point is
placed to the right of the first non zero digit.
For example, the decimal number, 5236 is equivalent to
To store this number in floating point representation, we store
5236 in mantissa part and 3 in exponent part
Unit-1 by M Indraja 32
Unit-1 by M Indraja 33
Thank you

More Related Content

PPTX
Coupling , Cohesion and there Types
PPTX
Normal forms
PPTX
Object oriented and function oriented design
PPTX
Object oriented modeling and design
PPT
OSEK / VDX
PPTX
Programmable dma controller 8237
PDF
SWE-401 - 7. Software Design Strategies
PPT
Graphs
Coupling , Cohesion and there Types
Normal forms
Object oriented and function oriented design
Object oriented modeling and design
OSEK / VDX
Programmable dma controller 8237
SWE-401 - 7. Software Design Strategies
Graphs

What's hot (20)

PDF
Software Engineering - Ch2
PDF
Fundamentals of Database Systems 6th Edition Elmasri Solutions Manual
PPT
FDS (Sixth Edition) | C1 | Databases and Database Users
PDF
10 File System
PPTX
Doubly linked list (animated)
PPT
Object Oriented Analysis and Design
PPTX
Data Transfer & Manipulation.pptx
PPT
Object Oriented Design Concept
PDF
Software Engineering - chp4- design patterns
PDF
Examinable Question and answer system programming
PPTX
CS304PC:Computer Organization and Architecture Session 11 general register or...
PPT
Database Chapter 3
PDF
2516186 oracle9i-dba-fundamentals-ii-volume-ii
PPTX
Presentation on Elementary data structures
PDF
01-Database Administration and Management.pdf
PDF
Unit 5- Architectural Design in software engineering
PPT
Design engineering
PPTX
Exception | How Exceptions are Handled in MIPS architecture
Software Engineering - Ch2
Fundamentals of Database Systems 6th Edition Elmasri Solutions Manual
FDS (Sixth Edition) | C1 | Databases and Database Users
10 File System
Doubly linked list (animated)
Object Oriented Analysis and Design
Data Transfer & Manipulation.pptx
Object Oriented Design Concept
Software Engineering - chp4- design patterns
Examinable Question and answer system programming
CS304PC:Computer Organization and Architecture Session 11 general register or...
Database Chapter 3
2516186 oracle9i-dba-fundamentals-ii-volume-ii
Presentation on Elementary data structures
01-Database Administration and Management.pdf
Unit 5- Architectural Design in software engineering
Design engineering
Exception | How Exceptions are Handled in MIPS architecture
Ad

Similar to computer organization and architecture (20)

PPTX
0578-computer-fundamentals.pptx
PPTX
CPU ARCHITECTURE and COMPUTER PROGRAMS G
PPTX
computer Architecture
PPTX
digital principles and computer organization
PPTX
CH01 - Computer Organization & Architecture - 10e_Stallings.pptx
PPTX
focse presentation section B semester 2 E C E
PDF
MI Unit-1.pdf a detailed presentation on microprocessors
PPTX
module1_CA_for use of tribal network .pptx
PDF
Computer Organization and Architecture 10th - William Stallings, Ch01.pdf
PPTX
Unit-1-Introduction.pptx computer organization and architecture
PPTX
DSE LECTURE 1 -LRW_ Introduction_to_Computer.pptx
PPTX
Memory Unit PPT
PPT
Computer Organization and Architecture.
DOCX
Bindura university of science education
PPTX
Unit I.pptx
PPTX
COA.pptx
PPTX
Computer Organization and Architecture for engineering
PPTX
UNIT -1 COMPUTER ORGANIZATION (1).pptxxc
PPTX
Computer Organization & Architecture (COA) Unit 2
0578-computer-fundamentals.pptx
CPU ARCHITECTURE and COMPUTER PROGRAMS G
computer Architecture
digital principles and computer organization
CH01 - Computer Organization & Architecture - 10e_Stallings.pptx
focse presentation section B semester 2 E C E
MI Unit-1.pdf a detailed presentation on microprocessors
module1_CA_for use of tribal network .pptx
Computer Organization and Architecture 10th - William Stallings, Ch01.pdf
Unit-1-Introduction.pptx computer organization and architecture
DSE LECTURE 1 -LRW_ Introduction_to_Computer.pptx
Memory Unit PPT
Computer Organization and Architecture.
Bindura university of science education
Unit I.pptx
COA.pptx
Computer Organization and Architecture for engineering
UNIT -1 COMPUTER ORGANIZATION (1).pptxxc
Computer Organization & Architecture (COA) Unit 2
Ad

More from IndrajaMeghavathula (9)

PDF
Networking Technologies Basic's complete notes
PPTX
Network layer u3
PPTX
Multiple access protocol
PPTX
Data link layer
PPTX
Basics of Computer Networks
PPTX
Cache memory
PPTX
Memory Unit
PDF
Arithmetic and logic unit Continue...
PDF
Arithmetic and logic unit
Networking Technologies Basic's complete notes
Network layer u3
Multiple access protocol
Data link layer
Basics of Computer Networks
Cache memory
Memory Unit
Arithmetic and logic unit Continue...
Arithmetic and logic unit

Recently uploaded (20)

PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Institutional Correction lecture only . . .
PDF
Sports Quiz easy sports quiz sports quiz
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Pharma ospi slides which help in ospi learning
PDF
Classroom Observation Tools for Teachers
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Pre independence Education in Inndia.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Cell Types and Its function , kingdom of life
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
GDM (1) (1).pptx small presentation for students
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
102 student loan defaulters named and shamed – Is someone you know on the list?
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Institutional Correction lecture only . . .
Sports Quiz easy sports quiz sports quiz
2.FourierTransform-ShortQuestionswithAnswers.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Complications of Minimal Access Surgery at WLH
Pharma ospi slides which help in ospi learning
Classroom Observation Tools for Teachers
Microbial diseases, their pathogenesis and prophylaxis
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Pre independence Education in Inndia.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Cell Types and Its function , kingdom of life
Renaissance Architecture: A Journey from Faith to Humanism
GDM (1) (1).pptx small presentation for students
STATICS OF THE RIGID BODIES Hibbelers.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
human mycosis Human fungal infections are called human mycosis..pptx

computer organization and architecture

  • 1. Unit - 1 Basic Functional Blocks of a Computer CPU Memory Input-output Subsystems Control Unit Unit-1 by M Indraja 1 Computer Organization And Architecture
  • 2. Unit-1 by M Indraja 2 Basic Computer Model and different units of computer CPUI/O Devices O/p Devices Memory
  • 3. Central Processor Unit (CPU): In CPU consist of 2 basic blocks 1.Control Unit 2.Execution Unit Unit-1 by M Indraja 3  The program control unit has a set of registers and control circuit to generate control signals.  The execution unit or data processing unit contains a set of registers for storing data and an Arithmatic and Logic Unit (ALU) for execution of arithmatic and logical operations.
  • 4. Input Unit: Keyboard, Mouse, Hard disk, Floppy disk, CD-ROM drive Unit-1 by M Indraja 4 Output Unit: Printer, Monitor, Hard disk, Floppy disk. Memory Unit: Memory unit is used to store the data and program. CPU can work with the information stored in memory unit. This memory unit is termed as primary memory or main memory module. These are basically semi conductor memories. There ate two types of semiconductor memories - Volatile Memory: RAM (Random Access Memory). Non-Volatile Memory: ROM (Read only Memory), PROM (Programmable ROM), EPROM (Erasable PROM), EEPROM (Electrically Erasable PROM).
  • 5. Consider the Arithmatic and Logic Unit (ALU) of Central Processing Unit : Consider an ALU which can perform four arithmatic operations and four logical operations To distinguish between arithmatic and logical operation, it may use a signal line, 0 - in that signal, represents an arithmatic operation and 1 - in that signal, represents a logical operation. In the similar manner, it may need another two signal lines to distinguish between four arithmatic operations. The different operations and their binary code is as follows: Arithmatic Logical 000 ADD 100 OR 001 SUB 101 AND 010 MULT 110 NAND 011 DIV 111 ADD Unit-1 by M Indraja 5
  • 6. Consider the part of control unit, its task is to generate the appropriate signal at right moment. There is an instruction decoder in CPU which decodes this information in such a way that computer can perform the desired task The simple model for the decoder may be considered that there is three input lines to the decoder and correspondingly it generates eight output lines. Depending on input combination only one of the output signals will be generated and it is used to indicate the corresponding operation of ALU. In our simple model, we use three storage units in CPU, Two -- for storing the operand and one -- for storing the results. These storage units are known as register. Unit-1 by M Indraja 6
  • 7. History of Computer: First Generation (1940-50 :: Vacuum Tube): ENIAC [1945]: Designed by Mauchly & Echert, built by US army to calculate trajectories for ballistic shells during World War II. Around 18000 vacuum tubes and 1500 relays were used to build ENIAC, and it was programmed by manually setting switches UNIVAC [1950]: the first commercial computer John Von Neumann architecture: Goldstine and Von Neumann took the idea of ENIAC and developed concept of storing a program in the memory. Known as the Von Neumann's architecture and has been the basis for virtually every machine designed since then. Features: 1.Electron emitting devices 2.Data and programs are stored in a single read-write memory 3.Memory contents are addressable by location, regardless of the content itself 4.Machine language/Assemble language 5.Sequential execution Unit-1 by M Indraja 7
  • 8. Second Generation (1950-1964) :: Transistors William Shockley, John Bardeen, and Walter Brattain invent the transistor that reduce size of computers and improve reliability. Vacuum tubes have been replaced by transistors. First operating Systems: Handled one program at a time On-off switches controlled by electronically. High level languages Floating point arithmetic. Unit-1 by M Indraja 8
  • 9. Third Generation (1964-1974) :: Integrated Circuits (IC) 1.Microprocessor chips combines thousands of transistors, entire circuit on one computer chip. 2.Semiconductor memory 3.Multiple computer models with different performance characteristics 4.The size of computers has been reduced drastically Unit-1 by M Indraja 9
  • 10. Fourth Generation (1974-Present) :: Very Large-Scale Integration (VLSI) / Ultra Large Scale Integration (ULSI) 1.Combines millions of transistors 2.Single-chip processor and the single-board computer emerged 3.Creation of the Personal Computer (PC) 4.Use of data communications 5.Massively parallel machine Unit-1 by M Indraja 10
  • 11. Basics of Architecture and Organization: Architecture: In architecture the attributes visible to the programmer like instruction set, number of bits used for data representation, I/O mechanisms, addressing techniques. Ex: if any instruction like multiplication, addition etc. Organization: It shows the how features are implemented like control signals, interfaces, memory technology. Ex: There is a h/w multiply unit or is it done by repeated addition. In COA there is a families of Architecture. There are 1. Intel x86 family share the same basic architecture 2.The IBMsystem/370 family share the same basic architecture Unit-1 by M Indraja 11
  • 12. Structure of Von Neumann Machine: The computer system works it basically on stored program principle as introduced by “Scientist Von Neumann” and it is also called as Von Neumann stored program concept. 1. It is having a storage unit know as main memory (ROM). 2. Main Memory storing programs and data. 3. ALU operating on binary data.(like add, sub, divd etc) 4. CU interpreting instructions from memory and executing, 5. I/O equipment operated by CU, 6. Princeton Institute for Advanced Studies (IAS) in 1952 was designed a architecture called Von Neumann Architecture. Unit-1 by M Indraja 12
  • 13. Computer: In computer there is two types of components. There are Function of computer and another one is Structure of computer Function of Computer: All computer functions are same in these functions there are 4 categories. 1.Data Processing 2.Data Storing 3.Data Movement 4.Control. Unit-1 by M Indraja 13
  • 14. Unit-1 by M Indraja 14
  • 15. Unit-1 by M Indraja 15
  • 16. Unit-1 by M Indraja 16
  • 17. Unit-1 by M Indraja 17
  • 18. Unit-1 by M Indraja 18
  • 19. Unit-1 by M Indraja 19
  • 20. Unit-1 by M Indraja 20
  • 21. Unit-1 by M Indraja 21
  • 22. Unit-1 by M Indraja 22 RISC CISC Acronym It stands for ‘Reduced Instruction Set Computer’. It stands for ‘Complex Instruction Set Computer’. Definition The RISC processors have a smaller set of instructions with few addressing modes. The CISC processors have a larger set of instructions with many addressing modes. Memory unit It has no memory unit and uses a separate hardware to implement instructions. It has a memory unit to implement complex instructions. Program It has a hard-wired unit of programming. It has a micro-programming unit. Design It is a complex complier design. It is an easy complier design. Calculations The calculations are faster and precise. The calculations are slow and precise. Decoding Decoding of instructions is simple. Decoding of instructions is complex. Time Execution time is very less. Execution time is very high. External memory It does not require external memory for calculations. It requires external memory for calculations. Pipelining Pipelining does function correctly. Pipelining does not function correctly. Code expansion Code expansion can be a problem. Code expansion is not a problem. Disc space The space is saved. The space is wasted. Applications Used in high end applications such as video processing, telecommunications and image processing. Used in low end applications such as security systems, home automations, etc.
  • 23. Unit-1 by M Indraja 23 mPC: Micro Program Counter mPM : Micro Program Memory CW: Control Word IR : Instruction Register PC: Program Counter
  • 24. Unit-1 by M Indraja 24
  • 25. Unit-1 by M Indraja 25
  • 26. Unit-1 by M Indraja 26
  • 27. Unit-1 by M Indraja 27
  • 28. Unit-1 by M Indraja 28
  • 29. Unit-1 by M Indraja 29
  • 30. Representation of Real Number: Binary representation of 41.6875 is 101001.1011 Therefore any real number can be converted to binary number system There are two schemes to represent real number : Fixed-point representation Floating-point representation Unit-1 by M Indraja 30
  • 31. Unit-1 by M Indraja 31 Fixed-point representation: Binary representation of 41.6875 is 101001.1011 To store this number, we have to store two information, -- the part before decimal point and -- the part after decimal point. This is known as fixed-point representation where the position of decimal point is fixed and number of bits before and after decimal point are also predefined. If we use 16 bits before decimal point and 8 bits after decimal point, in signed magnitude form, the range is One bit is required for sign information, so the total size of the number is 25 bits ( 1(sign) + 16(before decimal point) + 8(after decimal point) ).
  • 32. Floating-point representation: In this representation, numbers are represented by a mantissa comprising the significant digits and an exponent part of Radix R. The format is: Numbers are often normalized, such that the decimal point is placed to the right of the first non zero digit. For example, the decimal number, 5236 is equivalent to To store this number in floating point representation, we store 5236 in mantissa part and 3 in exponent part Unit-1 by M Indraja 32
  • 33. Unit-1 by M Indraja 33 Thank you