SlideShare a Scribd company logo
1 of 25
Course : AIT 204
Course Title : Computer Organization and Architecture (COA)
Course Credits : 3 + 0
Course Teacher : Dr. Y R Ghodasara & Prof. K C Kamani
College of Agricultural Information Technology
Anand Agricultural University
Anand
Unit III
2
MotherBoard
• The whole computer is built up around a motherboard, and it is the most important component in the PC.
• The motherboard is a large printed circuit board, which has lots of chips, connectors and other electronics
mounted on it.
Data Exchange in Motherboard
• Inside the PC, data is constantly being exchanged between or via the various devices..
• Most of the data exchange takes place on the motherboard itself, where all the components are connected
to each other:
3
• In relation to the PC’s external devices, the motherboard functions like a central railway station.
• All traffic (in or out) ends up in motherboard.
• Motherboard contains following components.
• BIOS Chipset
• CPU Socket
• RAM Slots
• Expansion Slots
• Connectors
• Ports
• CMOS Battery
• Jumpers
External Devices Connection in Motherboard
4
Chipset Layout
of Motherboard
FSB Front Side Bus
PCI Peripheral Component Interconnect
LPC Low Pin Count
CMOS Complementary Metal Oxide
Semiconductor
IDE Integrated Drive Electronics
BIOS Basic Input Output System
SATA Serial ATA (Advance Technology
Attachment)
USB Universal Serial Bus
5
The Chipset
• A chipset refers to a group of integrated circuits, or chips, that are designed to work together.
• They are usually marketed as a single product.
• The term chipset often refers to a specific pair of chips on the motherboard: the northbridge and the
southbridge.
• The northbridge links the CPU to very high-speed devices, especially main memory and graphics
controllers.
• The southbridge connects to lower-speed peripheral devices.
• The southbridge actually contains some on-chip integrated peripherals, such as Ethernet, USB, and
audio devices.
• A chipset is usually designed to work with a specific family of microprocessors. Because it controls
communications between the processor and external devices, the chipset plays a crucial role in
determining system performance.
• Current manufacturers of chipsets : NVIDIA, AMD, VIA Technologies, SiS, Intel and Broadcom.
Chipset Block Diagram
6
CPU (Central Processing Unit)/ Microprocessor
• CPU contains following sub components.
• ALU
• CU
• Set of Registers to store data temporary.
• The CPU Speed is depend on the Clock Rate ( Clock Speed ). Higher the Clock speed, Higher
number of Instructions executed by the CPU.
• CPU is connected with memory using three separate Buses (inside FSB).
• Data Bus ( To transfer data from memory to cpu and vice versa. )
• Address Bus ( To transfer address from cpu to memory )
• Control Bus ( To transfer control like Read Data, Write Data etc.)
7
Moore’s Law
Gordon Moore(1970) predicted that the number of transistors in processors (and hence their speed) would be
able to be doubled every 18 months.
8
CPU Category Based on How Data is stored in Memory
Big Endian Processor
The most significant byte (MSB) value,
which is 0Ah in our example, is stored at
the memory location with the lowest
address.
Examples : Apple Processors (Power G4,G5)
ARM Processors
Little Endian Processor
The least significant byte (LSB) value, 0Dh,
in our example, is stored at the memory
location with the lowest address.
Examples : Intel Processors
AMD Processors
9
CPU Category Based on Instruction Set
RISC Processor
Reduced Instruction Set Computer
Small set of simple Instructions
Processor Design is Simple
Size of Instruction (in bits) is same for
different operations.
Examples : ARM Processors
Motorola Processors
CISC Processor
Complex Instruction Set Computer
Large set of complex Instructions
Processor Design is Complex
Size of Instruction (in bits) may vary for different
operations.
Examples : Intel Processors
AMD Processors
10
Instruction Pipelining
Execution of any instruction in Processor is divided into four stages.
Stage 1 : Instruction Fetch (IF)
Stage 2 : Instruction Decode (ID)
Stage 3 : Execute Instruction (EX)
Stage 4 : Write Back Result (WB)
Hence it is possible to keep different instruction in different stages.
IF ID EX WBInstruction 1
Clock Cycle 1 2 3 4
11
12
Illustrated example
13
Time Execution
0 Four instructions are waiting to be executed
1 •the green instruction is fetched from memory
2
•the green instruction is decoded
•the purple instruction is fetched from memory
3
•the green instruction is executed (actual operation is performed)
•the purple instruction is decoded
•the blue instruction is fetched
4
•the green instruction's results are written back to the register file or memory
•the purple instruction is executed
•the blue instruction is decoded
•the red instruction is fetched
5
•the green instruction is completed
•the purple instruction is written back
•the blue instruction is executed
•the red instruction is decoded
6
•The purple instruction is completed
•the blue instruction is written back
•the red instruction is executed
7
•the blue instruction is completed
•the red instruction is written back
8 •the red instruction is completed
9 All four instructions are executed
Instruction execution without Pipelining
Clock Cycle 1 2 3 4 5 6 7 8 9 10 11 12
IF ID EX WB IF ID EX WB IF ID EX WB
Instruction 1 Instruction 2 Instruction 3
Instruction execution With Pipelining
Clock Cycle 1 2 3 4 5 6 7 8 9 10 11 12
IF ID EX WB
IF ID EX WB
IF ID EX WB
An instruction pipeline is a technique used in the design of computers and other digital electronic devices to
increase their instruction throughput (the number of instructions that can be executed in a unit of time).
Instruction 1
Instruction 2
Instruction 3
14
Random Access Memory (RAM)
RAM
SRAM DRAM
1. Static Random Access Memory
2. Fast to access
3. Less Dense
4. Cost wise Expensive
5. Flip Flop use as storage element
6. Used in Cache Memory
7. Consumes more power
1. Dynamic Random Access Memory
2. Slow to access
3. More Dense
4. Cost wise Cheap
5. Capacitor use as storage element
6. Used in Main Memory
7. Consumes less power
15
DRAM
SD RAM DDR RAM
1. Synchronous Dynamic RAM
2. Can run with higher clock speed
3. Data can be fetch per clock cycle (high edge)
1. Double Data Rate RAM
2. Can run with higher clock speed
3. Double data can be fetch per clock cycle
(high edge + low edge)
16
The Memory Hierarchy
• Use a small array of SRAM
– For the CACHE (hopefully for most accesses)
• Use a bigger amount of DRAM
– For the Main memory
• Use a really big amount of Disk storage
– For the Virtual memory (i.e. everything else)
Famous Picture of Food Memory
Hierarchy
Cache
Main Memory
Disk Storage
Cost Latency Access
Freq.
CPU
A Favorite Cache Analogy
• Hungry! must eat!
– Option 1: go to refrigerator
• Found eat!
• Latency = 1 minute
– Option 2: go to store
• Found purchase, take home, eat!
• Latency = 20-30 minutes
– Option 3: grow food!
• Plant, wait … wait … wait … , harvest, eat!
• Latency = ~250,000 minutes (~ 6 months)
• Crazy fact: ratio of growing food:going to the
store = 10,000
ratio of disk access:DRAM access =
Rehashing our terms
• The Architectural view of memory is:
– What the machine language sees
– Memory is just a big array of storage
• Breaking up the memory system into different
pieces – cache, main memory (made up of
DRAM) and Disk storage – is not architectural.
– The machine language doesn’t know about it
– The processor may not know about it
– A new implementation may not break it up into the same pieces (or break it up
at all).
Caching needs to be Transparent!
CACHE MEMORY
Cache is small high speed memory usually Static RAM (SRAM) that contains the most recently accessed pieces of main memory.
In today’s systems , the time it takes to bring an instruction (or piece of data) into the processor is very long when compared to the
time to execute the instruction. For example, a typical access time for DRAM is 60ns. A 100 MHz processor can execute most
instructions in 1 CLK or 10 ns. Therefore a bottle neck forms at the input to the processor. Cache memory helps by decreasing the
time it takes to move information to and from the processor. A typical access time for SRAM is 15 ns. Therefore cache memory
allows small portions of main memory to be accessed 3 to 4 times faster than DRAM (main memory).
Locality of Reference
The concept is that at any given time the processor will be accessing memory in a small or localized region of memory. The cache
loads this region allowing the processor to access the memory region faster. This means that over 90% of the memory accesses
occurs out of the high speed cache.
Memory Technology Access Time Cost ( Dollar per GB )
SRAM 15-20ns $2000 – 3000
DRAM 60-70ns $20 – 100
Magnetic Disk 5,00,000 ns $2 - 3
why not replace main memory DRAM with SRAM? The main reason is cost. SRAM is several times more expensive than DRAM. Also,
SRAM consumes more power and is less dense than DRAM.
21
Basic Cache Model
Cache Memory sits between CPU and Main Memory.
Cache Memory related terms.
Cache Hits : When the cache contains the information requested, the transaction is said to be a cache hit.
Cache Misses ; When the cache does not contain the information requested, the transaction is said to be a cache miss.
Dirty Data : When data is modified within cache but not modified in main memory, the data in the cache is called
“dirty data”.
Stale Data : When data is modified within main memory but not modified in cache,the data in the cache is called
“ stale data”.
22
Cache Organization in Pentium Processor
When developing a system with a Pentium processor, it is common to add an external cache. External cache is the second
cache in a Pentium processor system, therefore it is called a Level 2 (or L2) cache. The internal processor cache is referred
to as a Level 1 (or L1) cache. The names L1 and L2 do not depend on where the cache is physically located,( i.e., internal or
external). Rather, it depends on what is first accessed by the processor(i.e. L1 cacheis accessed before L2 whenever a
memory request is generated). Figure shows how L1 and L2 caches relate to each other in a Pentium processor system.
23
VIRTUALMEMORY
When user starts any program in computer, program is loaded in the main memory of a
computer.
In multitasking operating system, user can open more than one program at a time.
Physical RAM(main memory) is limited for each computer.
When user starts multiple programs, sometimes all programs can not be arranged in main
memory. In this situation modern operating systems use small partition of a hard disk as
memory. This partition of a hard disk is known as Swap Space / Swap Partition / Virtual
Memory.
Any process stored in virtual memory space can not be directly executed by the
processor. That’s why it is necessary to bring that process in main memory for execution.
This is known as process swapping.
When any process transfers from physical memory to virtual memory this transfer is
known as swap out.
When any process transfers from virtual memory to physical memory this transfer is
known as swap in.
Process swapping is controlled by an operating system program called Memory Manager.
24
Operating System
Process 1
Process 2
Process 3
Process 4
Process 5
Physical RAM
Virtual RAM
swap out
swap in
swap partition
Concept of Virtual Memory
25

More Related Content

What's hot

Computer Fundamentals Chapter 07 pam
Computer Fundamentals Chapter  07 pamComputer Fundamentals Chapter  07 pam
Computer Fundamentals Chapter 07 pamSaumya Sahu
 
2. the memory systems (module2)
2. the memory systems (module2)2. the memory systems (module2)
2. the memory systems (module2)Ajit Saraf
 
Designing Information Structures For Performance And Reliability
Designing Information Structures For Performance And ReliabilityDesigning Information Structures For Performance And Reliability
Designing Information Structures For Performance And Reliabilitybryanrandol
 
memory hierarchy
memory hierarchymemory hierarchy
memory hierarchysreelakshmikv
 
Computer System Architecture Lecture Note 8.1 primary Memory
Computer System Architecture Lecture Note 8.1 primary MemoryComputer System Architecture Lecture Note 8.1 primary Memory
Computer System Architecture Lecture Note 8.1 primary MemoryBudditha Hettige
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chipsAnuj Modi
 
Memory modules
Memory modulesMemory modules
Memory modulesSana Sini
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memoryDeepak John
 
05 internal memory
05 internal memory05 internal memory
05 internal memoryAmmara Naseem
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory HierarchyTrinity Dwarka
 
Computer System Architecture Lecture Note 8.2 Cache Memory
Computer System Architecture Lecture Note 8.2 Cache MemoryComputer System Architecture Lecture Note 8.2 Cache Memory
Computer System Architecture Lecture Note 8.2 Cache MemoryBudditha Hettige
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organizationBadrinath Kadam
 
Block diagram of motherboard
Block diagram of motherboardBlock diagram of motherboard
Block diagram of motherboardShreyJagad
 

What's hot (19)

Computer Fundamentals Chapter 07 pam
Computer Fundamentals Chapter  07 pamComputer Fundamentals Chapter  07 pam
Computer Fundamentals Chapter 07 pam
 
2. the memory systems (module2)
2. the memory systems (module2)2. the memory systems (module2)
2. the memory systems (module2)
 
Designing Information Structures For Performance And Reliability
Designing Information Structures For Performance And ReliabilityDesigning Information Structures For Performance And Reliability
Designing Information Structures For Performance And Reliability
 
memory hierarchy
memory hierarchymemory hierarchy
memory hierarchy
 
cache
cachecache
cache
 
Computer System Architecture Lecture Note 8.1 primary Memory
Computer System Architecture Lecture Note 8.1 primary MemoryComputer System Architecture Lecture Note 8.1 primary Memory
Computer System Architecture Lecture Note 8.1 primary Memory
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chips
 
Memory modules
Memory modulesMemory modules
Memory modules
 
notes2 memory_cpu
notes2 memory_cpunotes2 memory_cpu
notes2 memory_cpu
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
05 internal memory
05 internal memory05 internal memory
05 internal memory
 
P1 Unit 3
P1 Unit 3 P1 Unit 3
P1 Unit 3
 
Ch13
Ch13Ch13
Ch13
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
Computer System Architecture Lecture Note 8.2 Cache Memory
Computer System Architecture Lecture Note 8.2 Cache MemoryComputer System Architecture Lecture Note 8.2 Cache Memory
Computer System Architecture Lecture Note 8.2 Cache Memory
 
Arduino Programming Basic
Arduino Programming BasicArduino Programming Basic
Arduino Programming Basic
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organization
 
Block diagram of motherboard
Block diagram of motherboardBlock diagram of motherboard
Block diagram of motherboard
 

Similar to Coa presentation3

06. System unit of computer
06. System unit of computer06. System unit of computer
06. System unit of computerTimesRide
 
5.6 Basic computer structure microprocessors
5.6 Basic computer structure   microprocessors5.6 Basic computer structure   microprocessors
5.6 Basic computer structure microprocessorslpapadop
 
ITWorkshop Task 1 Computer hardware & software for B.Tech R15
ITWorkshop Task 1 Computer hardware & software for B.Tech R15 ITWorkshop Task 1 Computer hardware & software for B.Tech R15
ITWorkshop Task 1 Computer hardware & software for B.Tech R15 PPavankalyankumar
 
L21-Introduction-to-IO.ppt
L21-Introduction-to-IO.pptL21-Introduction-to-IO.ppt
L21-Introduction-to-IO.pptsanaiftikhar23
 
Information processing cycle
Information processing cycleInformation processing cycle
Information processing cycleuniversity of sindh
 
11. Computer Systems Hardware 1
11. Computer Systems   Hardware 111. Computer Systems   Hardware 1
11. Computer Systems Hardware 1New Era University
 
Computers for Scenarios
Computers for ScenariosComputers for Scenarios
Computers for ScenariosAnnaBradford
 
Group 3
Group 3Group 3
Group 3agarland
 
Components of the System Unit.pdf
Components of the System Unit.pdfComponents of the System Unit.pdf
Components of the System Unit.pdfODINARARCH
 
Introduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides pptIntroduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides pptOsama Yousaf
 
Chap2 5e u v2 - theory
Chap2 5e u v2 - theoryChap2 5e u v2 - theory
Chap2 5e u v2 - theorydd25251
 
301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilogSrinivas Naidu
 
Understanding And Managing Memory
Understanding And Managing MemoryUnderstanding And Managing Memory
Understanding And Managing Memoryisma ishak
 
ARM Processor architecture
ARM Processor  architectureARM Processor  architecture
ARM Processor architecturerajkciitr
 
Computer hardware
Computer hardwareComputer hardware
Computer hardwareSuprabha Sahoo
 
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDLIRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDLIRJET Journal
 
Mother board (Part's of Motherboard)
Mother board (Part's of Motherboard)Mother board (Part's of Motherboard)
Mother board (Part's of Motherboard)Coder Tech
 
Unit I Memory technology and optimization
Unit I Memory technology and optimizationUnit I Memory technology and optimization
Unit I Memory technology and optimizationK Gowsic Gowsic
 

Similar to Coa presentation3 (20)

Computer hardware ppt1
Computer hardware ppt1Computer hardware ppt1
Computer hardware ppt1
 
06. System unit of computer
06. System unit of computer06. System unit of computer
06. System unit of computer
 
5.6 Basic computer structure microprocessors
5.6 Basic computer structure   microprocessors5.6 Basic computer structure   microprocessors
5.6 Basic computer structure microprocessors
 
ITWorkshop Task 1 Computer hardware & software for B.Tech R15
ITWorkshop Task 1 Computer hardware & software for B.Tech R15 ITWorkshop Task 1 Computer hardware & software for B.Tech R15
ITWorkshop Task 1 Computer hardware & software for B.Tech R15
 
L21-Introduction-to-IO.ppt
L21-Introduction-to-IO.pptL21-Introduction-to-IO.ppt
L21-Introduction-to-IO.ppt
 
Information processing cycle
Information processing cycleInformation processing cycle
Information processing cycle
 
11. Computer Systems Hardware 1
11. Computer Systems   Hardware 111. Computer Systems   Hardware 1
11. Computer Systems Hardware 1
 
Computers for Scenarios
Computers for ScenariosComputers for Scenarios
Computers for Scenarios
 
Group 3
Group 3Group 3
Group 3
 
Motherboard
MotherboardMotherboard
Motherboard
 
Components of the System Unit.pdf
Components of the System Unit.pdfComponents of the System Unit.pdf
Components of the System Unit.pdf
 
Introduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides pptIntroduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides ppt
 
Chap2 5e u v2 - theory
Chap2 5e u v2 - theoryChap2 5e u v2 - theory
Chap2 5e u v2 - theory
 
301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog
 
Understanding And Managing Memory
Understanding And Managing MemoryUnderstanding And Managing Memory
Understanding And Managing Memory
 
ARM Processor architecture
ARM Processor  architectureARM Processor  architecture
ARM Processor architecture
 
Computer hardware
Computer hardwareComputer hardware
Computer hardware
 
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDLIRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
IRJET- Design And VLSI Verification of DDR SDRAM Controller Using VHDL
 
Mother board (Part's of Motherboard)
Mother board (Part's of Motherboard)Mother board (Part's of Motherboard)
Mother board (Part's of Motherboard)
 
Unit I Memory technology and optimization
Unit I Memory technology and optimizationUnit I Memory technology and optimization
Unit I Memory technology and optimization
 

Recently uploaded

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 

Recently uploaded (20)

Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 

Coa presentation3

  • 1. Course : AIT 204 Course Title : Computer Organization and Architecture (COA) Course Credits : 3 + 0 Course Teacher : Dr. Y R Ghodasara & Prof. K C Kamani College of Agricultural Information Technology Anand Agricultural University Anand Unit III
  • 3. • The whole computer is built up around a motherboard, and it is the most important component in the PC. • The motherboard is a large printed circuit board, which has lots of chips, connectors and other electronics mounted on it. Data Exchange in Motherboard • Inside the PC, data is constantly being exchanged between or via the various devices.. • Most of the data exchange takes place on the motherboard itself, where all the components are connected to each other: 3
  • 4. • In relation to the PC’s external devices, the motherboard functions like a central railway station. • All traffic (in or out) ends up in motherboard. • Motherboard contains following components. • BIOS Chipset • CPU Socket • RAM Slots • Expansion Slots • Connectors • Ports • CMOS Battery • Jumpers External Devices Connection in Motherboard 4
  • 5. Chipset Layout of Motherboard FSB Front Side Bus PCI Peripheral Component Interconnect LPC Low Pin Count CMOS Complementary Metal Oxide Semiconductor IDE Integrated Drive Electronics BIOS Basic Input Output System SATA Serial ATA (Advance Technology Attachment) USB Universal Serial Bus 5
  • 6. The Chipset • A chipset refers to a group of integrated circuits, or chips, that are designed to work together. • They are usually marketed as a single product. • The term chipset often refers to a specific pair of chips on the motherboard: the northbridge and the southbridge. • The northbridge links the CPU to very high-speed devices, especially main memory and graphics controllers. • The southbridge connects to lower-speed peripheral devices. • The southbridge actually contains some on-chip integrated peripherals, such as Ethernet, USB, and audio devices. • A chipset is usually designed to work with a specific family of microprocessors. Because it controls communications between the processor and external devices, the chipset plays a crucial role in determining system performance. • Current manufacturers of chipsets : NVIDIA, AMD, VIA Technologies, SiS, Intel and Broadcom. Chipset Block Diagram 6
  • 7. CPU (Central Processing Unit)/ Microprocessor • CPU contains following sub components. • ALU • CU • Set of Registers to store data temporary. • The CPU Speed is depend on the Clock Rate ( Clock Speed ). Higher the Clock speed, Higher number of Instructions executed by the CPU. • CPU is connected with memory using three separate Buses (inside FSB). • Data Bus ( To transfer data from memory to cpu and vice versa. ) • Address Bus ( To transfer address from cpu to memory ) • Control Bus ( To transfer control like Read Data, Write Data etc.) 7
  • 8. Moore’s Law Gordon Moore(1970) predicted that the number of transistors in processors (and hence their speed) would be able to be doubled every 18 months. 8
  • 9. CPU Category Based on How Data is stored in Memory Big Endian Processor The most significant byte (MSB) value, which is 0Ah in our example, is stored at the memory location with the lowest address. Examples : Apple Processors (Power G4,G5) ARM Processors Little Endian Processor The least significant byte (LSB) value, 0Dh, in our example, is stored at the memory location with the lowest address. Examples : Intel Processors AMD Processors 9
  • 10. CPU Category Based on Instruction Set RISC Processor Reduced Instruction Set Computer Small set of simple Instructions Processor Design is Simple Size of Instruction (in bits) is same for different operations. Examples : ARM Processors Motorola Processors CISC Processor Complex Instruction Set Computer Large set of complex Instructions Processor Design is Complex Size of Instruction (in bits) may vary for different operations. Examples : Intel Processors AMD Processors 10
  • 11. Instruction Pipelining Execution of any instruction in Processor is divided into four stages. Stage 1 : Instruction Fetch (IF) Stage 2 : Instruction Decode (ID) Stage 3 : Execute Instruction (EX) Stage 4 : Write Back Result (WB) Hence it is possible to keep different instruction in different stages. IF ID EX WBInstruction 1 Clock Cycle 1 2 3 4 11
  • 13. 13 Time Execution 0 Four instructions are waiting to be executed 1 •the green instruction is fetched from memory 2 •the green instruction is decoded •the purple instruction is fetched from memory 3 •the green instruction is executed (actual operation is performed) •the purple instruction is decoded •the blue instruction is fetched 4 •the green instruction's results are written back to the register file or memory •the purple instruction is executed •the blue instruction is decoded •the red instruction is fetched 5 •the green instruction is completed •the purple instruction is written back •the blue instruction is executed •the red instruction is decoded 6 •The purple instruction is completed •the blue instruction is written back •the red instruction is executed 7 •the blue instruction is completed •the red instruction is written back 8 •the red instruction is completed 9 All four instructions are executed
  • 14. Instruction execution without Pipelining Clock Cycle 1 2 3 4 5 6 7 8 9 10 11 12 IF ID EX WB IF ID EX WB IF ID EX WB Instruction 1 Instruction 2 Instruction 3 Instruction execution With Pipelining Clock Cycle 1 2 3 4 5 6 7 8 9 10 11 12 IF ID EX WB IF ID EX WB IF ID EX WB An instruction pipeline is a technique used in the design of computers and other digital electronic devices to increase their instruction throughput (the number of instructions that can be executed in a unit of time). Instruction 1 Instruction 2 Instruction 3 14
  • 15. Random Access Memory (RAM) RAM SRAM DRAM 1. Static Random Access Memory 2. Fast to access 3. Less Dense 4. Cost wise Expensive 5. Flip Flop use as storage element 6. Used in Cache Memory 7. Consumes more power 1. Dynamic Random Access Memory 2. Slow to access 3. More Dense 4. Cost wise Cheap 5. Capacitor use as storage element 6. Used in Main Memory 7. Consumes less power 15
  • 16. DRAM SD RAM DDR RAM 1. Synchronous Dynamic RAM 2. Can run with higher clock speed 3. Data can be fetch per clock cycle (high edge) 1. Double Data Rate RAM 2. Can run with higher clock speed 3. Double data can be fetch per clock cycle (high edge + low edge) 16
  • 17. The Memory Hierarchy • Use a small array of SRAM – For the CACHE (hopefully for most accesses) • Use a bigger amount of DRAM – For the Main memory • Use a really big amount of Disk storage – For the Virtual memory (i.e. everything else)
  • 18. Famous Picture of Food Memory Hierarchy Cache Main Memory Disk Storage Cost Latency Access Freq. CPU
  • 19. A Favorite Cache Analogy • Hungry! must eat! – Option 1: go to refrigerator • Found eat! • Latency = 1 minute – Option 2: go to store • Found purchase, take home, eat! • Latency = 20-30 minutes – Option 3: grow food! • Plant, wait … wait … wait … , harvest, eat! • Latency = ~250,000 minutes (~ 6 months) • Crazy fact: ratio of growing food:going to the store = 10,000 ratio of disk access:DRAM access =
  • 20. Rehashing our terms • The Architectural view of memory is: – What the machine language sees – Memory is just a big array of storage • Breaking up the memory system into different pieces – cache, main memory (made up of DRAM) and Disk storage – is not architectural. – The machine language doesn’t know about it – The processor may not know about it – A new implementation may not break it up into the same pieces (or break it up at all). Caching needs to be Transparent!
  • 21. CACHE MEMORY Cache is small high speed memory usually Static RAM (SRAM) that contains the most recently accessed pieces of main memory. In today’s systems , the time it takes to bring an instruction (or piece of data) into the processor is very long when compared to the time to execute the instruction. For example, a typical access time for DRAM is 60ns. A 100 MHz processor can execute most instructions in 1 CLK or 10 ns. Therefore a bottle neck forms at the input to the processor. Cache memory helps by decreasing the time it takes to move information to and from the processor. A typical access time for SRAM is 15 ns. Therefore cache memory allows small portions of main memory to be accessed 3 to 4 times faster than DRAM (main memory). Locality of Reference The concept is that at any given time the processor will be accessing memory in a small or localized region of memory. The cache loads this region allowing the processor to access the memory region faster. This means that over 90% of the memory accesses occurs out of the high speed cache. Memory Technology Access Time Cost ( Dollar per GB ) SRAM 15-20ns $2000 – 3000 DRAM 60-70ns $20 – 100 Magnetic Disk 5,00,000 ns $2 - 3 why not replace main memory DRAM with SRAM? The main reason is cost. SRAM is several times more expensive than DRAM. Also, SRAM consumes more power and is less dense than DRAM. 21
  • 22. Basic Cache Model Cache Memory sits between CPU and Main Memory. Cache Memory related terms. Cache Hits : When the cache contains the information requested, the transaction is said to be a cache hit. Cache Misses ; When the cache does not contain the information requested, the transaction is said to be a cache miss. Dirty Data : When data is modified within cache but not modified in main memory, the data in the cache is called “dirty data”. Stale Data : When data is modified within main memory but not modified in cache,the data in the cache is called “ stale data”. 22
  • 23. Cache Organization in Pentium Processor When developing a system with a Pentium processor, it is common to add an external cache. External cache is the second cache in a Pentium processor system, therefore it is called a Level 2 (or L2) cache. The internal processor cache is referred to as a Level 1 (or L1) cache. The names L1 and L2 do not depend on where the cache is physically located,( i.e., internal or external). Rather, it depends on what is first accessed by the processor(i.e. L1 cacheis accessed before L2 whenever a memory request is generated). Figure shows how L1 and L2 caches relate to each other in a Pentium processor system. 23
  • 24. VIRTUALMEMORY When user starts any program in computer, program is loaded in the main memory of a computer. In multitasking operating system, user can open more than one program at a time. Physical RAM(main memory) is limited for each computer. When user starts multiple programs, sometimes all programs can not be arranged in main memory. In this situation modern operating systems use small partition of a hard disk as memory. This partition of a hard disk is known as Swap Space / Swap Partition / Virtual Memory. Any process stored in virtual memory space can not be directly executed by the processor. That’s why it is necessary to bring that process in main memory for execution. This is known as process swapping. When any process transfers from physical memory to virtual memory this transfer is known as swap out. When any process transfers from virtual memory to physical memory this transfer is known as swap in. Process swapping is controlled by an operating system program called Memory Manager. 24
  • 25. Operating System Process 1 Process 2 Process 3 Process 4 Process 5 Physical RAM Virtual RAM swap out swap in swap partition Concept of Virtual Memory 25