SlideShare a Scribd company logo
1 of 33
Download to read offline
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

What's hot

NIC AND HUB CONNECTING DEVICES
NIC AND HUB CONNECTING DEVICESNIC AND HUB CONNECTING DEVICES
NIC AND HUB CONNECTING DEVICESsreelakshmikv
 
Sample elements of computer networking
Sample elements of computer networkingSample elements of computer networking
Sample elements of computer networkingRameesh Paul
 
Networking devices(siddique)
Networking devices(siddique)Networking devices(siddique)
Networking devices(siddique)Siddique Ibrahim
 
Network Components
Network ComponentsNetwork Components
Network Componentszaisahil
 
Unit 1 ppt-idc
Unit 1 ppt-idcUnit 1 ppt-idc
Unit 1 ppt-idchiya123jes
 
Neetika (ppt)
Neetika (ppt)Neetika (ppt)
Neetika (ppt)howare
 
Computer hardware and networking components
Computer hardware and networking componentsComputer hardware and networking components
Computer hardware and networking componentsManpreet Singh Bedi
 
Unit 3 ppt-idc
Unit 3 ppt-idcUnit 3 ppt-idc
Unit 3 ppt-idchiya123jes
 
Network switches, functions & role in networks
Network switches, functions & role in networksNetwork switches, functions & role in networks
Network switches, functions & role in networksIT Tech
 
Chapter05 -- networking hardware
Chapter05  -- networking hardwareChapter05  -- networking hardware
Chapter05 -- networking hardwareRaja Waseem Akhtar
 
Ccna day5-140715152501-phpapp01
Ccna day5-140715152501-phpapp01Ccna day5-140715152501-phpapp01
Ccna day5-140715152501-phpapp01Sachin Morya
 
Wa ns and routers
Wa ns and routersWa ns and routers
Wa ns and routersKevin Bhola
 
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Sachin Morya
 
Network Interface Card
Network Interface CardNetwork Interface Card
Network Interface Cardsourabh4u07
 

What's hot (20)

NIC AND HUB CONNECTING DEVICES
NIC AND HUB CONNECTING DEVICESNIC AND HUB CONNECTING DEVICES
NIC AND HUB CONNECTING DEVICES
 
Sample elements of computer networking
Sample elements of computer networkingSample elements of computer networking
Sample elements of computer networking
 
Network Adapter
Network AdapterNetwork Adapter
Network Adapter
 
Network devices
Network devicesNetwork devices
Network devices
 
Networking devices(siddique)
Networking devices(siddique)Networking devices(siddique)
Networking devices(siddique)
 
Network Devices
Network DevicesNetwork Devices
Network Devices
 
Network Components
Network ComponentsNetwork Components
Network Components
 
Unit 1 ppt-idc
Unit 1 ppt-idcUnit 1 ppt-idc
Unit 1 ppt-idc
 
Neetika (ppt)
Neetika (ppt)Neetika (ppt)
Neetika (ppt)
 
Computer hardware and networking components
Computer hardware and networking componentsComputer hardware and networking components
Computer hardware and networking components
 
Unit 3 ppt-idc
Unit 3 ppt-idcUnit 3 ppt-idc
Unit 3 ppt-idc
 
Networks
Networks   Networks
Networks
 
Network switches, functions & role in networks
Network switches, functions & role in networksNetwork switches, functions & role in networks
Network switches, functions & role in networks
 
DCN Chapter 1
DCN Chapter 1DCN Chapter 1
DCN Chapter 1
 
Chapter05 -- networking hardware
Chapter05  -- networking hardwareChapter05  -- networking hardware
Chapter05 -- networking hardware
 
Ccna day5-140715152501-phpapp01
Ccna day5-140715152501-phpapp01Ccna day5-140715152501-phpapp01
Ccna day5-140715152501-phpapp01
 
Dcs networking
Dcs networkingDcs networking
Dcs networking
 
Wa ns and routers
Wa ns and routersWa ns and routers
Wa ns and routers
 
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01
 
Network Interface Card
Network Interface CardNetwork Interface Card
Network Interface Card
 

Similar to computer organization and architecture

CPDS FUNDAMENTALS.pptx
CPDS FUNDAMENTALS.pptxCPDS FUNDAMENTALS.pptx
CPDS FUNDAMENTALS.pptxmadhurij54
 
8085 microprocessor notes
8085 microprocessor notes8085 microprocessor notes
8085 microprocessor notesAdiseshaK
 
Computer programming1
Computer programming1Computer programming1
Computer programming1A A
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 vijaydeepakg
 
Generation of Computer Network
Generation of Computer NetworkGeneration of Computer Network
Generation of Computer NetworkBathshebaparimala
 
Introduction to EMBEDDED SYSTEM.pdf
Introduction to EMBEDDED SYSTEM.pdfIntroduction to EMBEDDED SYSTEM.pdf
Introduction to EMBEDDED SYSTEM.pdfAkashBhagat32
 
microprocessor architecture
microprocessor architecture microprocessor architecture
microprocessor architecture Nadeem Hilal Wani
 
Chapter_2_Embedded Systems Design_introduction_ARM.pdf
Chapter_2_Embedded Systems Design_introduction_ARM.pdfChapter_2_Embedded Systems Design_introduction_ARM.pdf
Chapter_2_Embedded Systems Design_introduction_ARM.pdfEngrNoumanMemon
 
COA-Unit-1-Basics.ppt
COA-Unit-1-Basics.pptCOA-Unit-1-Basics.ppt
COA-Unit-1-Basics.pptRuhul Amin
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Mrunal Deshkar
 
Computer Organization and BASIC Programming
Computer Organization and BASIC     Programming     Computer Organization and BASIC     Programming
Computer Organization and BASIC Programming MuhammadAhmad844
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Designmekind
 
Introduction to Computer System-ppt-converted.pptx
Introduction to Computer System-ppt-converted.pptxIntroduction to Computer System-ppt-converted.pptx
Introduction to Computer System-ppt-converted.pptxShivanjaliChaurasia1
 

Similar to computer organization and architecture (20)

CPDS FUNDAMENTALS.pptx
CPDS FUNDAMENTALS.pptxCPDS FUNDAMENTALS.pptx
CPDS FUNDAMENTALS.pptx
 
Intro to cao &store program
Intro to cao &store programIntro to cao &store program
Intro to cao &store program
 
8085 microprocessor notes
8085 microprocessor notes8085 microprocessor notes
8085 microprocessor notes
 
8085 microprocessor notes
8085 microprocessor notes8085 microprocessor notes
8085 microprocessor notes
 
abc
abcabc
abc
 
Computer programming1
Computer programming1Computer programming1
Computer programming1
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812
 
CPU and memory
CPU and memoryCPU and memory
CPU and memory
 
computer system organization basics
computer system organization basicscomputer system organization basics
computer system organization basics
 
Generation of Computer Network
Generation of Computer NetworkGeneration of Computer Network
Generation of Computer Network
 
Introduction to EMBEDDED SYSTEM.pdf
Introduction to EMBEDDED SYSTEM.pdfIntroduction to EMBEDDED SYSTEM.pdf
Introduction to EMBEDDED SYSTEM.pdf
 
Computer basic and cpu
Computer basic and cpuComputer basic and cpu
Computer basic and cpu
 
microprocessor architecture
microprocessor architecture microprocessor architecture
microprocessor architecture
 
Chapter_2_Embedded Systems Design_introduction_ARM.pdf
Chapter_2_Embedded Systems Design_introduction_ARM.pdfChapter_2_Embedded Systems Design_introduction_ARM.pdf
Chapter_2_Embedded Systems Design_introduction_ARM.pdf
 
COA-Unit-1-Basics.ppt
COA-Unit-1-Basics.pptCOA-Unit-1-Basics.ppt
COA-Unit-1-Basics.ppt
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor
 
Computer Organization and BASIC Programming
Computer Organization and BASIC     Programming     Computer Organization and BASIC     Programming
Computer Organization and BASIC Programming
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Fundamental
FundamentalFundamental
Fundamental
 
Introduction to Computer System-ppt-converted.pptx
Introduction to Computer System-ppt-converted.pptxIntroduction to Computer System-ppt-converted.pptx
Introduction to Computer System-ppt-converted.pptx
 

Recently uploaded

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 

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