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

What's hot

NIC AND HUB CONNECTING DEVICES
NIC AND HUB CONNECTING DEVICESNIC AND HUB CONNECTING DEVICES
NIC AND HUB CONNECTING DEVICES
sreelakshmikv
 
Sample elements of computer networking
Sample elements of computer networkingSample elements of computer networking
Sample elements of computer networking
Rameesh Paul
 
Network Adapter
Network AdapterNetwork Adapter
Network Adapter
Ankit Agrawal
 
Network devices
Network devicesNetwork devices
Network devices
NoorNawaz12
 
Networking devices(siddique)
Networking devices(siddique)Networking devices(siddique)
Networking devices(siddique)
Siddique Ibrahim
 
Network Components
Network ComponentsNetwork Components
Network Components
zaisahil
 
Unit 1 ppt-idc
Unit 1 ppt-idcUnit 1 ppt-idc
Unit 1 ppt-idc
hiya123jes
 
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 components
Manpreet Singh Bedi
 
Unit 3 ppt-idc
Unit 3 ppt-idcUnit 3 ppt-idc
Unit 3 ppt-idc
hiya123jes
 
Networks
Networks   Networks
Networks
pavishkumarsingh
 
Network switches, functions & role in networks
Network switches, functions & role in networksNetwork switches, functions & role in networks
Network switches, functions & role in networks
IT Tech
 
DCN Chapter 1
DCN Chapter 1DCN Chapter 1
DCN Chapter 1
MsKavithaEstherRajak
 
Chapter05 -- networking hardware
Chapter05  -- networking hardwareChapter05  -- networking hardware
Chapter05 -- networking hardware
Raja Waseem Akhtar
 
Ccna day5-140715152501-phpapp01
Ccna day5-140715152501-phpapp01Ccna day5-140715152501-phpapp01
Ccna day5-140715152501-phpapp01
Sachin 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-phpapp01
Sachin Morya
 
Network Interface Card
Network Interface CardNetwork Interface Card
Network Interface Card
sourabh4u07
 

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.pptx
madhurij54
 
Intro to cao &store program
Intro to cao &store programIntro to cao &store program
Intro to cao &store program
Mahesh Kumar Attri
 
8085 microprocessor notes
8085 microprocessor notes8085 microprocessor notes
8085 microprocessor notes
AdiseshaK
 
8085 microprocessor notes
8085 microprocessor notes8085 microprocessor notes
8085 microprocessor notes
Prof. Dr. K. Adisesha
 
Computer programming1
Computer programming1Computer programming1
Computer programming1
A A
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 vijaydeepakg
 
CPU and memory
CPU and memoryCPU and memory
CPU and memory
Wajiha Muhammad Ismail
 
Generation of Computer Network
Generation of Computer NetworkGeneration of Computer Network
Generation of Computer Network
Bathshebaparimala
 
Introduction to EMBEDDED SYSTEM.pdf
Introduction to EMBEDDED SYSTEM.pdfIntroduction to EMBEDDED SYSTEM.pdf
Introduction to EMBEDDED SYSTEM.pdf
AkashBhagat32
 
Computer basic and cpu
Computer basic and cpuComputer basic and cpu
Computer basic and cpu
Not Yet working. I am Still studying
 
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.pdf
EngrNoumanMemon
 
COA-Unit-1-Basics.ppt
COA-Unit-1-Basics.pptCOA-Unit-1-Basics.ppt
COA-Unit-1-Basics.ppt
Ruhul 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
 
Fundamental
FundamentalFundamental
Fundamental
MAQ Institute
 
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
ShivanjaliChaurasia1
 

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

Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 

Recently uploaded (20)

Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 

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