Unit-2 Motherboard and Smps
Unit-2 Motherboard and Smps
SMPS
5.Interrupt Controller
• Interrupts are generated to capture the microprocessor's attention and temporarily divert it to
a different process.
• The interrupt controller handles 8 maskable interrupts.
• The interrupt request lines are designated with numbers 2 to 7 with decreasing priority.
• The Non-maskable interrupt (NMI) logic generates the NMI signal. It is generated on
detection of
l) RAM parity error in motherboard
2) RAM parity error in daughter boards which have the RAM as expansion memory
3) Co-Processor error if coprocessor is installed
6. ROM and RAM Logic
• The PC memory is a block where any byte of information is directly available
by calling its address.
• The ROM stores the POST (Power On Self Test) and BIOS.
• The use of dynamic RAM in PC needs refreshing the memory.
• The DMA channel 0 is used for it.
7. Direct Memory Access Controller (DMA Controller-8237)
• To speed up the system performance the main processor is to be relieved
from time consuming jobs like moving blocks of memory (bulk data) between
main memory and I/O devices.
• The DMA controller handles these tasks separately.
• Once it receives instructions from the CPU the DMA takes the command and
does all the memory transfer operations.
8.Timer/counter Logic ( Programmable Interval timer 8253)
• There are main three timers on motherboard.
1) Time 0 : Used to interrupt the processor at the rate of 18.2 clock cycle per
second to maintain the system time and date
2) Time 1: Used to generate DMA request signals for performing refresh
cycles at every 15 microseconds.
3) Time 2: Used to generate various tones by the speaker.
South Bridge:
• The South Bridge is one of the two chips in the core logic chipset on a personal computer (PC)
motherboard, the other being the North Bridge.
• The South Bridge typically implements the slower capabilities of the motherboard in a North
Bridge/South Bridge chipset computer architecture.
• The South Bridge can usually be distinguished from the North Bridge by not being directly connected
to the CPU rather the North Bridge ties the South Bridge to the CPU.
• Through the use of controller integrated channel circuitry, the North Bridge can directly link signals
from the I/O units to the CPU for data control and access.
• A south bridge chipset handles all of a computer's I/O functions such as USB, audio, serial, the system
BIOS, the ISA bus, the interrupt controller and the IDE channels.
Bus slots
• Expansion of Buses
• Expansion buses connect devices to the motherboard using the motherboard's data bus.
• They allow the flow of data between internal and external devices that make up the computer system.
• Early computers moved data between devices and the processor at about the same rate as the processor.
• As processor speeds increased the movement of data through the bus became a bottleneck.
• Therefore, the design capability of the buses needed to evolve, too.
• Designers divided the external data bus into two parts:
1. System bus: This supports the CPU. RAM. And other motherboard components and runs at
speeds that support the CPU.
2. Expansion bus: This supports any add-on devices by means of the expansion slots and runs at a
steady rate, based on the specific bus design.
Bus organization & Bus standards
• Bus standards are necessary to connect external peripherals to the system and they are work on proper clock
cycle speed.
• Bus Width
• A bus is a channel over which information flows.
• The wider the bus the more information can flow over the channel.
• For example a wider highway can carry more cars than a narrow one.
• Bus speed
• The speed of the bus reflects how many bits of information can be sent across each wire per second.
• This would be analogous to how fast the car is driving on our analogical highway.
• Most buses transmit one bit of data per line, per clock cycle, although newer high performance buses like AGP
may actually move two bits of data per clock cycle, doubling performance.
• Bus Bandwidth
• Bandwidth also called throughput, refers to the total amount of data that can theoretically be transferred on the
bus in a given unit of time.
• Using the highway analogy, if the bus width is the number of lanes, and the bus speed is how fast the cars are
driving, and then the bandwidth is the product of these two and reflects the amount of traffic that the channel
can convey per second.
• Bus Interfacing
• On a system that has multiple buses, circuitry must be provided by the
chipset to connect the buses and allow devices on one talk to devices on the
other.
• This device is called a “bridge”, the same name used to refer to a piece of
networking hardware that connects two dissimilar networks.
• Bus Mastering
• On the higher-bandwidth buses, a great deal of information is flowing
through the channel every second. Processor is required to control the
transfer of this information.
• The processor is a “middleman” and it is far more efficient to “cut out” the
middleman and perform the transfer directly.
• It is done by having capable devices take control of the bus and do the work
themselves; devices that can do this are called bus masters.
BUS Organization
• A bus is a collection of wires, thorough which data is transmitted from one part of a
computer to another.
• When used in reference to personal computers, the term bus usually refers to internal bus.
• This is a bus that connects all the internal computer components to the CPU and the main
memory.
• There is also an expansion bus that enables expansion boards to access the CPU and
memory.
• Most modern PC’s have at least four buses.
• The Processor bus This is the highest level bus that the chipset uses to send
information to and from the processor.
• The Cache Bus Higher level architectures, such as those used by the Pentium Pro
and Pentium II employ a dedicated bus for accessing the system cache.
• This is sometime called a backside bus.
• The Memory Bus This is a second level system bus that connects the memory
subsystem to the chipset and the processor. In some systems, the processor and the
memory buses are the same thing.
• The Local IO Bus This is a high speed input/output bus used for connecting
performance critical peripherals to the memory, chipset and processor. For
example, video cards, disk storage devices, high speed network interfaces generally
use a bus of this sort.
• The two most common local IO buses are VESA local bus and PCI bus.
• The Standard IO Bus This bus is used for slower peripherals like mice, modems,
regular sound cards, low speed networking. It is also compatible with older devices.
Industry Standard Architecture (ISA) Bus
• ISA stands for Industry Standard Architecture which is the most common bus in the PC
world.
• The ISA bus is still stay in the newest computers. Despite the fact that it is largely
unchanged since it was expanded to 16 bits.
• The ISA bus eventually became a narrow to performance and was enlarge with additional
high- speed buses.
• There are still many devices for which the ISA's speed is more than sufficient (an example
of standard moderns).
• The original ISA bus on the IBM PC was 8 bits wide, reflecting the 8 bit data width of the Intel
8088 processor's system bus, and ran at 4.77 MHz.
• With the speed of the first 8088s. The IBM AT was introduced which was use the Intel 80286.
• The ISA bus provides reasonable throughput for low-bandwidth devices and virtually assures
compatibility with almost every PC on the market.
• The ISA bus has divided in two units, internal unit and external unit, which are work with the
other devices.
• The internal ISA bus: This is used on the simple ports, like keyboard, diskette drive serial and
parallel ports.
• The External expansion bus: This can be connected with l6 bit ISA adapters.
Peripheral Component Interconnect (PCl) Local Bus
• The most popular local I/O bus, the Peripheral Component Interconnect
(PCI) bus was developed by Intel and introduced in 1993.
• It is geared specifically to fifth and sixth generation systems, although the
latest generation 486 motherboards use PCI as well.
• Data width=32 bit
• Speed=33 Mhz
• Throughput= 264 MB/sec
• The device installed on PCI slots are: wifi adapter, TV tuner, satellite receiver
and various controller.
• PCI Bus performance-
• The PCI bus provides superior performance to the VESA local bus. PCI is the highest performance than
general I/O bus currently used into PCs. This is clue to several factors:
1. Burst Mode: The PCI bus can transfer information in a burst mode.
2. Bus Mastering: PCI supports full bus mastering. which leads to improved performance.
3. High Bandwidth Options: The PCI bus specification version 2.1 calls for expandability to 64 bits
and 66 MHz speed; if implemented this would quadruple bandwidth over the current design.
• PCI Expansion Slots- The PCI bus offers more expansion slots than most VLB implementations. Most PCI
systems support 3 or 4 PCI slots. Also, the PCI bus offers a great variety of expansion cards compared to VLB.
The most commonly found cards are video cards, high-speed networking cards. Hard disk drives are also on
the PCI bus but are normally connected directly to the motherboard on a PCI system.
• PCI Internal Interrupts- The PCI bus uses its own internal interrupt system for dealing with requests from
the cards on the bus.
• PCI Plug and Play- PCI systems were the first to popularize the use of Plug and Play. The PCI bus is part of the
Plug and Play standard developed by Intel with co-operation from Microsoft and many other companies. The
PCI chipset circuitry handles the identification of cards and works with the operating system and BIOS to
automatically set resource allocations for compatible peripheral cards.
Some detailed specifications are presented in
the table below:
Type Working Topology Bus Type Clock Speed Transmission Speed
32-bit: 133MB/s,
32-bit 33MHz 266MB/s
PCI Parallel transmission
64-bit 66MHz 64-bit: 266MB/s,
533MB/s
66MHz
533MB/s;
100MHz
PCI-X Parallel transmission 64-bit 800MB/s;
133MHz
1066MB/s
(Up to 533MHz)
PCI-E
Serial transmission 8-bit 2.5GHz 4GB/s
(PCIe 1.0 8x version)
Accelerated Graphics Port
• In the early days of PCI, the major market for that technology was the high performance display
adapter.
• Today, the PCI market includes NICs, sound cards, Ultra Direct Memory Access (UDMA) controllers,
and DVD (digital video disc) interfaces.
• The variety of devices posed a problem for display-card designers: Having more cards on a single
bus slowed down the performance, just when the increasing popularity of 24-bit graphics and 3D
rendering called for greater demands on the display system.
• The AGP removes all the display data traffic from the PCI bus and gives that traffic its own pipe.
• It also provides a direct path to the system memory for handling graphics. This procedure is
referred to as Direct Memory Execute (DIME).
• Data width=32 bit
• Speed=66 Mhz and above
• Throughput= 528 MB/sec
• Directly connected to motherboard
• Design to provide fast access to video
• AGP connectors are found only on Pentium Il-based and later computers or on similar CPUs from
non-Intel vendors.
AGP PCI
PCI is a bus
AGP is a port
PCI bus normally has a clock speed of 66
AGP normally has a clock speed of 33 MHz MHz
AGP normally has a transfer PCI normally has a transfer rate of 132
rate of 2, 133 MB/s MB/s
PCI has a local memory and relies solely
AGP has a non local memory and is able to
on the memory of memory directly.
access the system
the video card.
• The newest addition to the general PC bus collection, the USB connects external peripherals
such as mouse devices, printers, modems, keyboards, joysticks, scanners, And digital cameras to
the computer.
• The USB port is a thin slot, most new motherboards offer two located near the keyboard.
• They can also be provided through an expansion card.
• USB supports isochronous (time-dependent) and asynchronous (intermittent) data transfers.
• Isochronous connections transfer data at a guaranteed fixed rate of delivery.
• This is required for more demanding multimedia applications and devices.
• ✓Data width = 1 bit
• ✓Speed = 3 MHz
• ✓Throughput:
• ✓USB 1.1 = 12 MB/sec
• ✓USB 2.0 = 60 MB/sec
• ✓USB 3.0 = 640 MB/sec
• USB is hot swappable. Hot swappable means that devices can be added
and removed easily while the computer is still running without having to
reboot.
• USB devices may be daisy chained. 127 devices can be connected through
a single USB Port.
Personal Computer Memory Card Industry Association (PC Card)
• The Personal Computer Memory Card Industry Association was founded to
provide a standard bus for laptop computers. So it is basically used in the
small computers.
• Small Computer System Interface:
• Short for Small Computer System Interface, a parallel interface standard used
by Apple Macintosh computers, PC's and Unix systems for attaching
peripheral devices to a computer.
VESA Local Bus (VLB)
• This new interface offers several advantages: a hot swap capability (the
ability to add and remove components while the machine is running),
small and inexpensive connectors, and a simple cable design.
• What it did:
• MCA was a 16- or 32-bit bus that replaced the ISA bus in IBM computers.
• It was faster than the ISA bus, running at 10 MHz.
• MCA supported bus mastering, which placed a mini-processor on each expansion
card.
• MCA automatically configured adapter cards, so users didn't need to adjust
jumpers.
• Plug-in cards were software configurable, so users needed to do minimal
intervention to configure them.
Characteristics
• The VL-bus ran at speeds up to 40 MHz
• The motherboard could have up to three VL-bus slots
• VLB connectors were usually inline with ISA connectors