Professional Documents
Culture Documents
(4.1 Introduction
Most PC system motherboards are similar in their architecture, and are based around three main
devices:
• Processor. This provides the main processing element for the system.
• System controller. This provides the interface between the processor and its DRAM mem-
ory, SRAM level-2 cache (if not integrated with the processor) and the PCI bus.
• PCI bridge device. This allows a bridge between the PCI bus and other buses, such as ISA,
IDE, and USB.
Figure C4.1 shows an example PC architecture, which uses an on-motherboard, level-2 cache.
With the SC242 Pentium package, the level-2 cache and its controller are integrated into the
processor package. It can be seen that the system controller has one of the most important func-
tions as it interfaces the processor to its memory and its buses. Each bus runs at different speeds,
and possibly uses different supply voltages. For example, the system bus typically uses a 3.3 V or
a 2.5 V supply (to reduce power dissipation) and the PCI, IDE and ISA buses use 5 V supplies.
Level-2
cache
Cache bus
System
DRAM
System Controller DRAM
Processor bus bus
Level-l
cache
I AGP!
bus
PCI bus
Keyboard
Interrupt
~
Serial ports
ISA bus
Ultra Parallel ports
PCI bridge
Power
managment
1 1/0
Floppy disk
Infrared port
I Flash PS/2 mo use
DMA ! IDE! USB! BIOS
signals bus bus X -bus
• System speed. This is the clock speed of the main system devices, such as the system con-
troller, the DRAM and the level-2 cache. Typical motherboard board speeds are 50MHz,
66 MHz, 100 MHz, 133 MHz and 200 MHz.
• Processor speed. This is typically a multiple of the system clock (such as 1 GHz).
• PCI bus. This typically operates at 33 MHz, and can transfer 32 bits at a time, giving a
transfer rate of 132MB/s.
• ISA bus. This runs at 8 MHz and can transfer over 16-bits, giving a transfer rate of
16MB/s.
• USB. This transfers at a rate of 12Mbps (for USB Vetsion 1) or 480Mbps (for USB Ver-
sion 2).
• AGP bus. This runs at 66MHz, and can run at a rate of 266Msamples/sec (using four
samples per clock period), which gives a maximum data rate of 1,066MB/s (x4 AGP).
The future is likely to involve a migration from legacy buses, such as ISA, the serial port, the
parallel port and the IDE bus, towards plug-and-play buses such as USB. With USB Version 2,
there is the capacity for up to 480 Mbps. This should allow for most low-and medium-speed
devices to communicate with the main system; Firewire could be used for high-speed audio and
video applications.
The following sections outline some Pentium-based motherboards. A common factor is the re-
duction of the support for ISA slots, and the increase in the support for PCI and AGP. Faster
system clocks are also a feature with the traditional clock speed of 66 MHz increasing to
100 MHz, and even 200 MHz.
(4.2 Intel HX
An example board is the Intel 430HX motherboard, which supporrs most Pentium processors
and has the following component parts:
• PCiset components- 82438 System Controller (TXC) and 82371SB PCI ISA Xcelerator
HAO A3 DO HDO
t t
HAl A4 D1 HDl
-HBEO -BEO
-HBEl -BEl -FERR -HFERR
-HBE2 -BE2
-HBE3 -BE3
-HBE4 -BE4
-HBES -BES -BFO -HBFO
-HBE6 -BE6
-BE?
-BFl -HBFl
-HBE7
-ITM -HITM
-HBOFF -BOFF
-HA20M -A20
-HINTR -INTR
-HNMI -NMI -ADS -HADS
-HIGNNE -IGNNE D/-C -HD/ -C
-HKEN -KEN W/-R -HW/ -R
-HFLUSHA -FLUSH M/-10 -HM/- IO
-HAHOLD AHOLD
-HEADS -EADS
-HBRDY -BRDY
HRESET RESET
HINV INV
-HBUSCHK -BUSCHK
Pentiwn II
Figure C4.3 illustrates the main connections of the PCiset (the TXC and PIIX3 devices). The
TCX allows for a host-to-PCI bridge, whereas the PIIX3 device supports:
• PCI-to-ISA bridge.
• Fast IDE.
• APIC interface.
• USB host/hub controller and power management.
The 430HX board has 3 V and 5 V buses. PCI bus connections are 5 V and the Pentium bus is
3V.
• Enhanced seven-channel DMA with two 8237 controllers. This is supported with the hand-
shaking lines DRQO-DRQ7 and DRQO#-DRQ7#.
• ISA-to-PCI bridge.
• Fast IDE support for up to four disk drives (two masters and two slaves). It supports mode
PC Motherboards 489
four timings, which gives transfer rates of up to 22MB/s.
• I/0 APIC (advanced programmable interrupt controller) support.
• Implementation of PCI 2.1.
• Incorporates 82C54 timer for system timer, refresh request and speaker output tone.
• Non-maskable interrupts (NMI).
• PCI clock speed of 25/33 MHz. Motherboard configurable clock speed (normally 33 MHz).
• Plug-and-play support with one steerable interrupt line and one programmable chip select.
The motherboard interrupt MIRQO can be steered to any one of 11 interrupts (IRQ3-
IRQ7, IRQ9-IRQ12, IRQ14 and IRQ15).
• Steerable PCI interrupts for PCI device plug-and-play. The PCI interrupt lines (PIRQA-
PIRQD) can be steered to one of 11 interrupt (IRQ3-IRQ7, IRQ9-IRQ12, IRQ14 and
IRQ15).
• Support for PS/2-type mouse and serial port mouse. IRQ12/M can be enabled for the PS/2-
type mouse or disable for a serial port mouse.
• Support for five ISA slots. Typical applications for ISA include 10 Mbps Ethernet adaptor
cards, serial/parallel port cards, sound cards, and so on.
• System power management. Allows the system to operate in a low power state without being
powered down. This can be triggered by a software, hardware or external event.
• Math coprocessor error function. The FERR# line goes active (LOW) when a math coproc-
essor error occurs. The PIIX3 device automatically generates an IRQ13 interrupt and sets the
INTR line to the processor. The PXII3 device then sets the IGNNE# active and INTR inac-
tive when there is a write to address FOh.
• Two 82C59 controllers with 14 interrupts. The interrupts lines IRQ1, IRQ3-IRQ15 are
available (IRQO is used by the system time and IRQ2 by the cascaded interrupt line).
• Universal serial bus with root hub and two USB ports. With the USB the host controller
transfers data between the system memoty and USB devices. This is achieved by processing
data structures set up to by the host software and generated the transaction on USB.
Fast IDE
USB
lnterruot HI NT
! AD[31:0]
C/BE#{3:0]
DMA PCI bus
Speaker 82371SB
Reset PIRQA PIRQB PIRQC PIRQD
PCII/OIDE
Xcelerator PCICLK, FRAME#, TROY#, IRDY#,
I
82091AA /· (PIIX3) STOP#, DEVSEL#, SERR#, PAR, IDSEL,
AlP ISA PHOLD#, PHOLDA#, LOCK#, PREQ#{3:0],
·'
bus PGNT#[3:0], PHLD#
PC Motherboards 491
AD17 176 DRQO 87 -SMEMW 22
AD18 175 DRQ1 30 -SMEMR 19
AD19 174 DRQ2 12 -row 24
AD20 173 DRQ3 25 -IOR 23
AD21 172 DRQ5 91 -REFRESH 31
AD22 171 DRQ6 95 T/C 62
AD23 168 DRQ7 99 osc
AD24 166 -DACKO 85 -MEMCS16 70
AD25 165 -DACK1 29 -IOCS16 71
AD26 164 -DACK2 60 -MASTER
AD27 163 -DACK3 21 IOCHK 6
AD28 162 -DACK5 89 IOCHRDY 18
AD29 161 -DACK6 93 -SBHE (DD12)
AD30 160 -DACK7 97 -MEMR 88
AD31 159 RSTISA MEMW 90
USB
Signal Pin
USBP1- 143
USBP1+ 142
USBPO- 145
USBPO+ 144
The address lines (ADO-AD22) connect to the TXC IC and the available interrupt lines at
IRQ1, IRQ2-IRQ12, IRQ14 and IRQ15 (IRQO is generated by the system timer and IRQ2 is
the cascaded interrupt line). The PS/2-type mouse uses the IRQ12/M line.
LOCK# 85
PHOLD# 64
PC Motherboards 493
PHLDA# 65
PAR 92
SERR# 93
Cache memory Parity Address
!l!g lines
Signal Pin Signal Pin Signal Pin Signal Pin
CTAGO 207 MPO 133 MD32 74
CTAGl 260 MPl 123 MD33 75
CTAG2 261 MP2 146 MA2 317 MD34 76
CTAG3 281 MP3 113 MA3 297 MD35 76
CTAG4 238 MP4 132 MA4 277 MD36 76
CTAGS 282 MPS 124 MAS 257 MD37 76
CTAG6 302 MP6 134 MA6 237 MD38 76
CTAG7 322 MP7 122 MA7 298 MD39 76
CTAGS 303 MAS 258
CTAG9 323 MA9 319
CTAGlO 324 MAlO 318
MAll 278
82091AA (API)
r--
A0[31:0] OSKCHG#
LA[23:17]
SIDE!#
C/BE#[3:0] 00[15:0] IDE Disk I
FRAME# I
Control lines drive
I
TRDY# !
'------
FODEN
IRDY# SA[IO:O]
STOP# SD[7:0]
RII#
DEVSEL# OWS# CTSI#
SERR# IOCHRDY
H0[63:0] I
Secondary I
PHOLO# AEN serial
I
HA[31:0] !
PHLOA# XI OW# port OCOI#
HBE#[7:0] TXC HFERR# XI OR#
~~#
PIIX3
TIC RIO#
Control CTSO#
PCIRST# IRQ[l5:0]
I
PIRQ[3:0] ORQ[7:0] I
Primary I
~:0] OACK#[7:0] serial !
port OCOO#
RSTDRV
~~OJ
HINTR IOCSI6#, IOCHK#
~
P0[7:0]
MEMR#, MEMW#
STR#
HSTPC BALE, MEMCS16
~
Parallel I
REFRESH#, SYSCLK port
I
I
SMEMW#, SMEMR# !
AlP SLCT
SMEMR#,
PC Motherboards 495
(4.2.4 DRAM interface
The DRAM interface supports from 4-512MB with eight RAS lines (RASO-RAS7) and a 64-
bit data path with 8 parity bits. It can use either a 3.3 V or a 5 V power supply and both standard
page mode and extended data out (EDO) memory are supported with a mixture of memory sizes
for 1MB, 2MB and 4MB-deep SIMMs and symmetrical addressing for 16MB-deep SIMMs.
Each SIMM has 12 input address lines and a 32-bit data output. They are normally available
with 72 pins (named tabs) on each side. These pins can read the same signal because they are
shorted together on the board. For example, tab 1 (pin 1) on side A is shorted to tab 1 on side B.
Thus, the 144 tabs give only 72 usable signal connections.
Figure C4.6 shows how the DRAM memory is organized. It shows banks 1 and 2 (but does
not show banks 3 and 4). Each bank has two modules, such as modules 0 and 1 are in bank 0.
The bank is selected with the MRAS lines, for example, bank 1 is selected with MRASO and
MRAS1, bank 1 by MRAS2 and MRAS3, and so on. An even-numbered module gives the lower
32 bits (MDO-MD31) and the odd number modules give the upper 32 bits (MD32-MD63).
Each module also provides 4 parity bits (MPO-MP3 and MP4-MP7).
DIMMs have independent signal lines on each side of the module and are available with 72
(36 tabs on each side), 88 (44 tabs on each side), 144 (72 tabs on each side), 168 (84 tabs on
each side) or 200 tabs (100 tabs on each side). They give greater reliability and density and are
used in modern high-performance PC servers.
~E -w MWE -w
MDO-MD 31 MDO-MD31
__.. __..
MAO-MAll Module 0 MPO-P3
MAO-MAll Module 2 MPO-P3
Bank 1 Bank 2
• Processor speed - the processor, TXC and SRAM run at the system frequency {such as
66MHz).
• PCI bus speed- TCX, PIIX3 and PCI slots. Typically the PCI bus runs at 33MHz.
• 24 or 48 MHz- USB.
• 12 MHz- keyboard.
• 24 MHz- floppy clock.
• 14 MHz- ISA bus OSC.
• 8 MHz - ISA bus clock.
.--
~~~:21
MEMC SI6#
MEMR#
MEMW#
AEN
IOCIIRDY
IOCHK#
SYSCLK
BALE
ISA lOR#
lOW#
SMEMR#
SMEMW#
OWS#
SA[7:0]
PIIX3
~r-
0012/SBHE#
'---
M P.ffi)6~(~A[I9:8]
u LA22/CS3S
LA21/CS1P
X
.---- LA20/CS3P
LA[l9: 17]/DA[2:0]
~'--
DIOR#
DIOW#
IDE DDR~1:01
DDA 1:0 #
lORD
SOE#
SDIR
PD13
'---
PC Motherboards 497
DRE0[7:5,3:0l
DMA DACKT7:5.3:0]
TC
REFRESH#
PIIX3
• Counter 0 - connects to the IRQO line and provides a system timer interrupt for a time-of-
day, diskette time-out, and so on. The input to the counter is a I4.2I8I8MHz clock
(OSC). This is then used to increment a I6-bit register, which rolls over every 55 ms.
• Counter I - generates a refresh request signal.
• Counter 2 - generates the speaker tone.
The PC uses IRQO as the system timer and IRQ2 by the programmable interrupt controller.
The interrupt unit also supports interrupt steering. The four PCI active low interrupts
(PIRQ#[D:A]) can be routed internally in the PIIX3 to one of 1I interrupts (IRQI5, IRQI4,
IRQI2-IRQ9, IRQ7-IRQ3).
Software (called SMM code) controls the transitions between the power-on state and the fast- off
state. PIIX3 invokes this software by generating an SMI (system management interrupt) to the
CPU (asserting the sMI signal). The SMM code places the system in either the power on state or
the fast off state.
(4.3 TX Motherboard
The Intel 430HX motherboard only supports up to 128MB of memory and has a relatively
small second-level cache (256kB). The lntel430TX board has many enhanced devices, such as
standardized USB connections and enhanced super 1/0 device. Figure C4.9 shows the main
layout. The 430TX board uses 168-pin DIMM sockets for memory addition. It supports both
EDO DRAM and SDRAM (synchronous DRAM). SDRAM synchronous data transfers using
the system dock. This simplifies memory timing, leading to an increase in memory transfer. The
430TX motherboard supports a 64-bit data path to memory.
The 430TX board uses the 82430TX PCI chipset, which has:
• 82439TX Xcelerated Controller (MTXC), which replaces the TXC (82439HX) in the HX
board.
• 82371AB PCI/ISA IDE Xcelerator (PIIX4), which replaces the PIIX3 (82371SB) in the HX
board. This is a 324-pin BGA that integrates PCI-to-ISA bridge (two 82C37 DMA control-
lers, two 82C59 interrupt controllers, an 82C54 timer/counter and a real-time dock),
PCI/IDE interface, USB host/hub function and power management functions.
PC Motherboards 499
(4.3.1 PIIX4
The PIIX4 supports two types of PCI DMA protocol: PC/PCI DMA, which uses dedicated
request and grant signals to permit PCI devices to request transfers associated with specific DMA
channels; and distribute DMA, which is based on monitoring CPU accesses to the 8237 control-
ler (this was not implemented on the PIIX3). The architecture of the TX chipset is given in
Figure C4.10.
Audio Audio
codec (OP4-ML )
···············---------
D Level 2 cache ;
SRAM Pentium
D
processor
Video
capture
PCI processor 82430TX
connectors System
Controller
TV-out
ISA device
connectors DIMM
82430TX
PCI/ISA/IDE
D
Flash
Xcelerator (PIIX4)
PC87307UL
memory 1/0 Controller
device
U,.,l·l
-f
atht:
~
DMA J
•
TC. DREQ[7~~
I
(REFRESH!~,
DACK£7:0), 1\fQ[A:q. 50[7~) X-daobus
ISA bus(SO( IS:O), SA(ll:O).
GNTJAq)
IOCSI6#, LA(ll:l 7). SBHE#,
I
MEMCSR. MEMRII. MEMWo.
AEN. lOCH ROY. IOCHK.#. Per-.,henl componmts.
I
SYSCU<. BALE. lOR#, IOWrl. XD£7:0). CMOS. KeyboMd concro8er
SMEHR#, SHEMW#, ZEROWS#. XOE#. and Fblll BIOS
IRQI .IRQ[12:l). IRQI4. 1RQIS) XDIRII
IR port
(IRRX.IRTX
MEDID I) 1!.
Ultn 1/0 Keybo:wdlmouse
1 1 1
(KBCU<#, KBDAT#,
HSCLK#. MSDAT#)
Floppy bu• (INDEX!~, OIR#, p .,,nel bu• (P0{7:0. SUNil, R$-lll bus (RX. TX. RTSrl.
STIP#, WOATA#, WGATE#, IN ITII. AFD#, STIW. BUSY. CI'S#, DTRII. OSR#. DCD#.
TI\KO#, w m;, ROATA#, ACK.#. PE SLCT. ERR#) IU#)
SUDEI.,, DSKCHG#. MTRO#.
MTI\ 1#, DRVSELIW, DRVSELI #.
ORVOENcti>. DRVOEN I#)
The PIIX4 also supports ultra DMA/33 synchronous DMA mode transfers up to 33MB/s.
Ultra DMA is a newer protocol for the IDE hard drive interface, which doubles the burst data
rate from 16.6MB/s (as supported by the PIIX3). Ultra DMA widens the path to the hard drive
by transferring twice as much data per clock cycle, so doubling the performance. The ultra DMA
protocol lets host computers send and receive data faster, removing bottlenecks associated with
data transfers.
In addition to speed improvements, the protocol brings new data integrity capabilities to the
IDE interface, such as improved timing margins and data protection verification. Ultra DMA
protocol also allows drives and system to retain backward compatibility with the previous ATA
standard.
Real-time clock
The real-time clock (RTC) provides a data-and-time keeping device with alarm features and
battery- backed operation. The RTC counts seconds, minutes, hours, days, day of the week,
date, month and year. It counts 256 bytes of battery-backed SRAM in two banks. The RTC
module requires an external oscillator source of 32.768kHz connected between TXCXl and
RTCX2.
PC Motherboards 50 1
(4.3.2 1/0 controller
The PC87306B 1/0 controller is similar to the 82091AA (AlP) used in the 430HX hoard. It
has:
• Floppy disk interface - provides support for several different floppy disk capacities and sizes.
• Multimode parallel port - supports for output-only compatibility mode, bidirectional
mode, EPP mode and ECP mode.
• Two FIFO serial ports giving transfers rates up to 921 kbps.
• Real-time clock - provides time-of-day, 100-year calendar and alarm features.
• Keyboard and mouse controller- keyboard and mouse interfaces (as well as power- on/reset
password protection).
• Infrared support- connection to infrared transmitter/receiver.
ccs Cache chip select - set active upon power-up and allows access to the
cache.
TWE Tag write enable - allows new state and tag addresses to be written into
the cache.
COE Cache output enable - puts the cache data onto the data bus.
GWE Global write enable - causes all bytes to be written to.
CADS Cache address strobe - cache loads the address register from the address
pins.
Figure C4.11 shows the interface between the MTXC and the second-level cache. Note that four
32kx32 devices make up the 512kB (4x32x4) SRAM cache. Only two are shown in Figure
C4.11, as the other two are connected in parallel with the two shown.
--
MTXC 16KX 6 Taq RAM
HCLK) CLK
HA[17:3) A(14 :0)
COE# OE#
CCS# CS1#
---
CADS# ADSC#
CADV# ADV#
ADSP#
-
ADS#)
HA 16 CS2 D(31 :24) -+ HD(63:56)
GNDJ CS2# D[23 :16) -+ HO( 55:46)
GWE#
BWE#
GWE#
BWE#
0(15 :6)
0(7 :0)
..__ -+
-+
HO(47:40)
HO[ 39:32)
HBE[7:4)# BE(3 :0)#
~
0[23 :16) HD(23:16J
GWE# D[15:6) HD(15:6)
BWE#
BE[3:0)#
0(7:0) r--- HD(7:0)
HBE[3:0)#
Bit Description
7:6 Secondary cache size- 00 (disabled), 01 (256k), 10 (512k), 11 (reserved).
5:4 SRAM cache rype- 00 (pipelined burst SRAM), 01 (reserved), 10 (reserved), 11 (two
banks of pipelined burst).
3 NA disable- 1 (disable), 0 (enabled); normally enabled.
2 Reserved.
PC Motherboards 503
Secondary cache force miss or invalidated (SCFMI). When set to a 1, the level2 hit/miss
facility is disabled, else it is enabled.
0 First-level cache enable (FLCE)- 1 (enable), 0 (disable). When it is set to a 1, the control
responds to processor cycles with KEN# active. Normal mode for FLCE, SCFMI is 1, 0.
Bit Description
7:6 Reserved.
5 Defines whether DRAM cache is present- 1 (present), 0 (not present).
4:0 DRAM cache refresh timer value.
• Memory and I/0 bridge controller (MIOC- 82451NX, 540-pin PLGA). This connects
the processor to the memory and PCI bus, using a 100 MHz bus.
Chipset Features
440LX • First chipset to introduce AGP.
AGPset • Quad port acceleration (to support
up to four processors).
• Distributed arbitration.
PC Motherboards 505
The 450NX PCiset can use either the PIIX3 or PIIX4E as its South bridge to provide IDE,
USB, ISA, DMA, and so on.
• PCI bridge (PB- 82454). This is a single-device host bus-to-PCI bridge. It has a synchro-
nous interface with the Pentium Pro processor bus and supports a derived clock for the
synchronous PCI interface. The PB derives either a 30 or 33 MHz PCI clock output from
the Pentium Pro processor bus clock.
• Memory controller (MC). The MAC consists of an 82453 DRAM controller (DC), an
82452 data path (DP), and four 82451 memory interface components (MIC), as illustrated
in Figure C4.12. The DC provides control for the DRAM memory subsystem, the DP pro-
vides the data path, and the four MICs are used to interface the MC datapath with the
DRAM memory subsystem. The memory configuration can be either two-way interleaved
or non-interleaved. The memory can consist of four-way interleaved, two-way interleaved,
or non-interleaved. Asymmetric DRAM is supported by up to 2 bits of asymmetry (such as
12 row address lines and 10 column address lines). The maximum memory size is 4GB for
the four-way interleaved configuration, 2GB for the two-way interleaved configuration, and
1GB for the non-interleaved configuration, with a 64-bit data path to main memory.
Host bu s DC
Pentium (D RAM
Pro co nero ller)
I Main
H
memory
~
DP
~ (Data
path)
MIC (x4)
Pentium
+--
T
MC
Pro
DC
I
-r
Main
memory
Pentium
Pro
--
DP
- MIC (x4)
~
··------ ------------···--···················-···--···-·-··--···-······················
PCI bus
L
PB
~ (PC I bridge)
PC l-ISA
Pentium
Pro 8 ~
bridge f-+ ISA bus
u.J
"'Q
C)
Q
PB PCI bus
'--+ (PCI bridge)
PC Motherboards 507
I SD[7:0]
~
A B
i ~ +12V
LS245
XD[7:0]
v.. po Jump B
XDIR# DIR
XOE# G i.?GND
I Mbit/2Mbit
Flash ~ + 12V
po
PIIX4
RPII JumpC
I
"'
SAI7/SAI8
I 2 ~
3
SA 17/SAI8
Jump A
MEMW# WE#
MEMRII OEII
BIOSCS# ju mpB
CEll
1- 2 Progr.>m'PnP
2 - 3 Non PnP
Jump A JumpC
I - 2 I Mbll Hash I -2 Program
2 - 3 2Mbit flash 2- l PnP
Figure C4.13 Interface to Flash