microprocessors, lecture 2 - sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... ·...
TRANSCRIPT
![Page 1: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/1.jpg)
PC buses and Interfaces
Microprocessors, Lecture 2:
![Page 2: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/2.jpg)
Introduction
2
The anatomy of a modern personal computer (PC)
Common PC buses and interfaces
![Page 3: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/3.jpg)
Motherboard
3
![Page 4: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/4.jpg)
MotherboardIn personal computers, a motherboard is the central printed circuit board (PCB) used to connect many of the system components.
All busses external to the CPU are on the motherboard
The motherboard includes connector sockets for the CPU and many I/O peripherals
4
![Page 5: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/5.jpg)
Motherboard
5
Connects all the components of a computer togetherSupplies power to (and allows data to flow among) all componentsA series of different slots which cables and cards fit intoAll parts are compatible with the motherboard else the machine will not workIn particular, the motherboard must be matched to the CPU, especially in the bus speed
![Page 6: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/6.jpg)
Motherboard Components
6
The first IBM PC motherboard had only a processor and card slots
Users plugged components like floppy drive controllers and memory into the slots
Today, motherboards typically boast a wide variety of built-in features
On-chip storage and memory controllers, sound, network adaptor, modem, …..
![Page 7: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/7.jpg)
Motherboard Components
7
Some functionalities are added by expansion cardsModem, sound, TV, Ethernet, graphics,….
![Page 8: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/8.jpg)
Common Motherboard Components
8
Processor socket: where processor is plugged inBIOS: Basic Input/Output System, a chip that controls most basic operationsPCI and PCI-express slots: Peripheral Component Interconnect, for external devicesAGP slot: Accelerated Graphics Port, dedicated port for video cardSATA and IDE connectors: attachments for hard drives, by serial plug (SATA) or parallel ribbon (IDE)ClockMemory slotsNorthbridge and Southbridge: chipset that connect the processor to everything elseLogic and connectors to control USB, PS2, serial port, parallel port, Ethernet LAN, audio….
![Page 9: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/9.jpg)
9 9
PS/2 Mouse& Ps/2 Keyboard Connector
DIMM Memory Sockets
LPT 1 Printer Port
ATX Power Connector
CPU Socket 370
AGP Expansion SlotCMOS Battery
BIOS Chip
PCI Expansion Slots
Floppy Drive Controller
USB Port
ChipSet
Motherboard Components- 10 years ago
![Page 10: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/10.jpg)
10 10
Modern Motherboard Components
![Page 11: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/11.jpg)
Very old motherboard components- grand-motherboard!
![Page 12: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/12.jpg)
Form Factor
12
![Page 13: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/13.jpg)
Motherboard Form Factors
13
Determines motherboard size, featuresDimensions, power supply type, location of mounting holes, number of ports on the back panel
Ensure that parts are interchangeable across vendors and generations
Compatibility with power supplies, cases, expansion cards, …
![Page 14: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/14.jpg)
Motherboard Form FactorsMost popular form factors:
ATX, MicroATX, FlexATX, BTX, NLXAT is the oldest form factor introduced by IBM in the 80sATX and ATX-mini are the current popular standards
By Intel since 1997The latest update to the ATX standard was released in 2007
ATX
micro-ATX
ATX: 305 × 244 mmATX-mini: 244 × 244 mm
![Page 15: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/15.jpg)
Motherboard Form Factors
15
ATX motherboard AT motherboard
![Page 16: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/16.jpg)
CPU Sockets
16
![Page 17: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/17.jpg)
17
Processor SocketsWhere the CPU is inserted on the motherboard
Provides mechanical and electrical connections between a CPU and motherboard
Allows the CPU to be replaced without soldering
![Page 18: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/18.jpg)
Processor Socket Types
18
Based on the CPU package type: PGA and LGA
Pin grid array (PGA)Pins aligned in uniform rows around socket
Land grid array (LGA)Uses lands rather than pinsThe pins on the socket rather than the CPU
![Page 19: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/19.jpg)
Processor Sockets
19
Zero Insertion Force (ZIF) sockets are used to keep chips
Side lever lifts processor up and out of the socket
A covering plate is also used to keep LGA chips
![Page 20: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/20.jpg)
Standard Sockets
20
Several standard socketsEach compatible with a family or several families of processorsBased on the CPU dimensions and power, ground, and IO pins
LGA 775 (Socket T) is the Intel desktop CPU socket for Pentium 4 and Core 2 Due processors
LGA 1156 (Socket H) is the Intel desktop CPU socket for Core i7 processors
![Page 21: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/21.jpg)
Standard Sockets
21
LGA 775 (Socket T) for Pentium 4 and Core 2 Due
LGA 1366 (Socket H) for Core i7
AM2 for modern AMD processors (Athlon, Optron, Phenom)
940 pin, PGA
![Page 22: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/22.jpg)
PCB Bus tracks near a Pentium 4
22
![Page 23: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/23.jpg)
Sockets for Intel processors
23
![Page 24: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/24.jpg)
Sockets for AMD processors
24
![Page 25: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/25.jpg)
Functional View
25
![Page 26: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/26.jpg)
The Simple Top Level ModelLogically speaking, the computer has one bus used to allow all components to communicate.
Early designs, such as the PDP-11, had only one bus. For these slow machines, it worked well.
26
![Page 27: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/27.jpg)
Realistic OrganizationsThe design on the previous slide is logically correct, but it will not work!
It is too slow. Problem: A single system level bus cannot handle the load
Modern applications demand fast video; this requires a fast bus to the video chip.The memory system is always a performance bottleneck. We need a dedicated memory bus in order to allow acceptable performance
27
![Page 28: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/28.jpg)
I/O Devices sorted by bandwidth
10 B/s 100 B/s 1kB/s 10 kB/s 100 kB/s 1 MB/s 100 MB/s 10 GB/s
AudioMouseKeyboard
Joystick
Scanner
HDD
Video
TV CameraCD Rom
![Page 29: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/29.jpg)
Fast and very fast ComponentsMemoryHard Disk
Video Card
CPU
![Page 30: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/30.jpg)
Slow Components
![Page 31: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/31.jpg)
Modern designs
31
Define 2 buses: one for high speed devices and one for low-speed
Fast components are connected to NorthbridgeSlow components are connected to Southbridge
The combination of the North and Southbridge in a computer is called the chipset.
![Page 32: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/32.jpg)
Also known as MCH –Memory Controller HubBridges connection from CPU to RAM and Video Bus (AGP/PCI-X)Connects to South BridgeIn some instances the Northbridge and Southbridge functions were combined
Nvidia GeForce 320M in the 2009/2010 Macbook
Northbridge
![Page 33: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/33.jpg)
Also known as ICH –I/O Controller Hub
Bridge connection from Northbridge to slower devices like USB devices, PCI, IDE(SATA/PATA), BIOS, onboard sound and more
Southbridge
![Page 34: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/34.jpg)
Organization
![Page 35: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/35.jpg)
Organization
35
![Page 36: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/36.jpg)
Front-side Bus
36
Front-side bus (FSB): Connects CPU to the Northbridge
FSB is a major selling point for motherboards in the market today
Back-side bus: connects the CPU to the cache
If the cache is on-board
![Page 37: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/37.jpg)
Very Fast
Fast
Slow
Further hierarchy
![Page 38: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/38.jpg)
Three Layer Buses
Further hierarchy:In some implementations very low-speed devices are connected to the Southbridge via another bridge: SuperIO
![Page 39: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/39.jpg)
Main components of Intel Chipset: Pentium 4
Northbridge:DDR memoryGraphics
Southbridge: I/OPCI busDisk controllersUSB controllersAudioSerial I/OInterrupt controllerTimers
![Page 40: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/40.jpg)
Very Modern System Configuration
40
System with Intel® Core™ i7 Processor
In modern CPUs (Intel Core i7, AMD Phenom,…) the memory controller is integrated into the CPU
Memory is directly connected to the CPU
Simpler Northbridge
![Page 41: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/41.jpg)
Very Modern System Configuration
41
Platform Controller Hub: Southbridge + the remaining parts of Northbridge that has not moved to CPU
![Page 42: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/42.jpg)
Very Modern System Configuration
42
![Page 43: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/43.jpg)
PCI bus
43
Peripheral Component Interconnect
Introduced by Intel in 1993
32 or 64 bit
Working at 33 and 66 MHz
PCI-X works at
133 MHz
![Page 44: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/44.jpg)
PCI-Express
44
Replace the older PCI, PCI-X, and AGP bus standardsHigh-speed serial connectionA lane is a serial point-to-point communication channel between two PCI-e portsA link is composed of 1or more lanes: 1,2,4,8,16,32 lanesPCI-e 16x for VGA, 1x for slower devicesVery high speed
PCI-e v1: 250 MB/3 per lanePCI-e v2: 500 MB/s per lanePCI-e v3: 1GB/s per lane
PCI Express ×4PCI Express ×16PCI Express ×1PCI Express ×16Conventional PCI (32-bit)
![Page 45: Microprocessors, Lecture 2 - Sharifce.sharif.edu/courses/93-94/2/ce513-1/resources/root... · 2015-05-04 · Motherboard 5 yConnects all the components of a computer together ySupplies](https://reader034.vdocuments.net/reader034/viewer/2022042022/5e79c60aa0de244ed46223b8/html5/thumbnails/45.jpg)
Buses and Expansion SlotsPeripheral Component Interconnect (PCI)
Improved several timesCategories
Conventional PCI, PCI-X, PCI Express