CHN Mod 2
CHN Mod 2
MODULE II
Motherboard organisation
Computer Motherboard : The motherboard serves as a single platform to connect all of the parts
of a computer together. It connects the CPU, memory, hard drives, optical drives, video card, sound
card, and other ports and expansion cards directly or via cables. It can be considered as the
backbone of a computer.
Form Factor : The form factor is the specification of a motherboard - the dimensions, power
supply type, location of mounting holes, number of ports on the back panel, etc. The types of the
form factor of a motherboard are dependent on the evolution of technology.
AT IBM 1984 8.5’’× 11–13’’ It was the first motherboard form factor to
(Advanced use the now-standard ISA bus. The AT form
Technology) factor was used in the IBM PC/AT, which
was released in 1984. The PC/AT was the
first personal computer to use an Intel 80286
processor. The AT form factor continued to
be used in some PCs until the late 1990s
when it was replaced by the ATX form factor.
Baby-AT IBM 1985 8.5’’× 10–13’’ The Baby-AT form factor is essentially the same
form factor as the original IBM XT motherboard.
Baby-AT motherboards is slightly smaller than AT
motherboard.
ATX INTEL 1995 12’’× 9.6’’ Standard desktop, mini-tower, and full-tower
systems; most common form factor today;
most flexible design for power users, low-end
servers / workstations, and higher-end home
systems; ATX boards support up to seven
expansion slots.
Mini-ATX INTEL 1995 11.2’’× 8.2’’ A slightly smaller version of ATX that fits
into the same case as ATX. Many so-called
ATX motherboards are actually mini-ATX
motherboards; mini-ATX boards support up
to six expansion slots.
Micro-ATX INTEL 1997 9.6’’× 9.6’’ A smaller version of ATX, used in Mid-range
desktop or mini-tower systems.
Flex-ATX INTEL 1999 9’’×7.5’’ Smallest version of ATX, used in expensive
or low-end small desktop or mini-tower
systems; entertainment or appliance systems.
Mini-ITX VIA 2002 6.7’’x 6.7’’ Minimum-size flex-ATX version, used in set-
(Information top boxes and compact/small form factor
Technology comput ers; highly integrated with one PCI
Extended) expansion slot. .
ATX motherboard :
A motherboard is one of the most essential parts of a computer system. It holds together many of
the crucial components of a computer, including the central processing unit (CPU), memory and
connectors for input and output devices. The base of a motherboard consists of a very firm sheet of
non-conductive material, typically some sort of rigid plastic. Thin layers of copper or aluminum
foil, referred to as traces, are printed onto this sheet. These traces are very narrow and form the
circuits between the various components. In addition to circuits, a motherboard contains a number
of sockets and slots to connect the other components.
The motherboard connects the various parts of a computer system together. The typical parts
are given below :
• CPU socket: The processor is directly soldered onto the socket. Since high speed
processors generate a lot of heat, there are heat sinks and mounting points for fans right next
to the CPU socket.
• Power connector: To distribute power to the processor and other components.
• Chipset: A chip forms an interface between the processor, the main memory and other
components, this is referred to as the Northbridge. This chip also contains a large heat sink.
A memory controller is located on the northbridge, which gives the processor fast access to
the memory.The northbridge also connects to the AGP or PCI Express bus and to the
memory itself A second chip controls the input and output (I/O) functions. It is not
connected directly to the processor but to the Northbridge. This I/O controller is referred to
as the Southbridge. Other busses connect the southbridge to the PCI bus, the USB ports and
the ID(PATA) or SATA hard disk connections.. The Northbridge and Southbridge combined
are referred to as the chipset.
• DRAM chips: Slots for the system's main memory, typically in the form of DRAM chips.
• Connectors: It provide the physical interface between input and output devices and the
motherboard. The Southbridge handles these connections.
• Hard Drive Slots: Slots for one or more hard drives to store files. The most common types
of connections are Integrated Drive Electronics (IDE) and Serial Advanced Technology
Attachment(SATA).
• Read-Only Memory (ROM) chip : ROM contains the firmware, or startup instructions for
the computer system. This is also called the BIOS.
• Video or Graphics card slot: To connect hardware in the form of the Accelerated Graphics
Port (AGP) and Peripheral Component Interconnect Express (PCIe).
• PCI slots : Additional slots to connect hardware in the form of Peripheral Component
Interconnect (PCI) slots.
Evolution of Microprocessors:
We can categorize the microprocessor according to the generations or according to the size of the
microprocessor:
• First Generation (4 - bit Microprocessors): The first generation microprocessors were
introduced in the year 1971-1972 by Intel Corporation. It was named Intel 4004 since it was
a 4-bit processor. It was a processor on a single chip. It could perform simple arithmetic and
logical operations such as addition, subtraction, Boolean OR and Boolean AND. It had a
control unit capable of performing control functions like fetching an instruction from storage
memory, decoding it, and then generating control pulses to execute it.
• Second Generation (8 - bit Microprocessor): The second generation microprocessors were
introduced in 1973 again by Intel. It was a first 8 - bit microprocessor which could perform
arithmetic and logic operations on 8-bit words. It was Intel 8008, and another improved
version was Intel 8088.
Later new generations with improved 64-bit processors like Celeron, Dual, Quad, Octa Core
processors etc.. are present
Comparison of Microprocessors :
Computer Memories: A memory is just like a human brain. It is used to store data and instructions.
Computer memory is the storage space in the computer, where data is to be processed and
instructions required for processing are stored. The memory is divided into large number of small
parts called cells. Each location or cell has a unique address.
power is switched off. It is generally made up of semiconductor device. These memories are
not as fast as registers. The data and instruction required to be processed resides in the main
memory. It is divided into two subcategories RAM and ROM.
2. Secondary Memory: This type of memory is also known as external memory or non-
volatile memory. It is slower than the main memory. These are used for storing
data/information permanently. CPU directly does not access these memories, instead they
are accessed via input-output routines. The contents of secondary memories are first
transferred to the main memory, and then the CPU can access it. For example, disk, CD-
ROM, DVD, etc.
NOTE :
RAM (Random access memory): It is the internal memory of the CPU for storing data, program,
and program result. It is a read/write memory which stores data. RAM is a Volatile memory i.e. data
stored in it is lost when we switch off the computer or if there is a power failure. Hence, a backup
Uninterruptible Power System (UPS) is often used with computers. Access time in RAM is
independent of the address, that is, each storage location inside the memory is as easy to reach as
other locations and takes the same amount of time. Data in the RAM can be accessed randomly.
SRAM chips use a matrix of 6-transistors and no capacitors. Transistors do not require power to
prevent leakage, so SRAM need not be refreshed on a regular basis. There is extra space in the
matrix, hence SRAM uses more chips than DRAM for the same amount of storage space, making
the manufacturing costs higher. SRAM is thus used as cache memory and has very fast access.
Dynamic RAM (DRAM): DRAM, unlike SRAM, must be continually refreshed in order to
maintain the data. This is done by placing the memory on a refresh circuit that rewrites the data
several hundred times per second. DRAM is used for most system memory as it is cheap and small.
All DRAMs are made up of memory cells, which are composed of one capacitor and one transistor.
Since real capacitors leak charge, the information eventually fades unless the capacitor charge is
refreshed periodically. Because of this refresh requirement, it is a dynamic memory as opposed to
SRAM and other static memory. The advantage of DRAM is its structural simplicity: only one
transistor and a capacitor are required per bit, compared to six transistors in SRAM. This allows
DRAM to reach very high density.
NOTE:
SRAM DRAM
• SRAM memory cell composed of a • DRAM memory cell composed of one
matrix of 6-transistors capacitor and one transistor.
• No need to refresh • It must be continually refreshed in order
to maintain the data.
• Faster in operation • Slower in operation
• Small memory size. • Large memory size.
• High power consumption • Less power consumption
• Expensive • Less expensive
Types of SDRAM:
• SDR SDRAM (Single data rate SDRAM): It can accept one command and transfer one
word of data per clock cycle. Typical clock frequencies are 100 and 133 MHz.
• DDR SDRAM (Double data rate SDRAM): Compared to the preceding single data rate
SDR SDRAM, the DDR SDRAM interface makes higher transfer rates possible by more
strict control of the timing of the electrical data and clock signals. Enables the chip to
transfer twice the memory data (two consecutive words) on each clock cycle. Since it is
difficult to further increase the internalclock speed of memory chips, these chips increase
data rate by transferring data in larger blocks. The interface uses double pumping
(transferring data on both the rising and falling edges of the clock signal) to lower the clock
frequency.
◦ DDR2 SDRAM transfers 4 consecutive words per internal clock cycle.
◦ DDR3 SDRAM transfers 8 consecutive words per internal clock cycle.
◦ DDR4 SDRAM transfers 16 consecutive words per internal clock cycle.
• RDRAM (Rambus DRAM): It is a type of computer device active memory developed and
licensed by Rambus Inc. RDRAM is typically used for video memory on graphics acclerator
cards, for cache memory (located on the CPU), and for system memory in high-performance
workstations and servers. An improvement to RDRAM called Direct Rambus (DRDRAM)
allows for even faster data transfer rates.
Memory Refreshing: Memory refresh is a process that largely defines the characteristics of
dynamic random access memory (DRAM), which is the most used computer memory type. The
process involves the periodic reading of information from a certain section of the memory and the
immediate rewriting of the read information to the very same area without making any changes. It is
a background maintenance process that is necessary for operation of DRAMs. When in operation,
each of the memory cells needs to be refreshed repeatedly. In a DRAM semiconductor chip, small
capacitors store each bit of data by the presence or absence of an electric charge. Over the passage
of time, these charges tend to leak away, which would mean that loss of charge is equivalent to the
loss of data. In order to counter this, external circuitry is designed to read the data and then rewrite
it immediately, thereby restoring the charge on the capacitor to its normal level. Every memory
refresh cycle is also done as per a succeeding area of memory cells and eventually refreshing every
cell in a full cycle. The process happens automatically in the background. Memory read and write
operations are also not available during the process of a refresh cycle, however, in modern memory
chips the time for overhead is so small that it usually does not noticibly slow down memory
operation.
Q) Explain memory refresing ? (7 marks)
Q) Describe memory refreshing and its necessity ? (6 marks)
Q) State the need of memory refreshing in RAM? (2 marks)
Memory modules: A memory module is a printed circuit board on which memory integrated
circuits are mounted on a computer motherboard. Memory modules are categorized, according to its
size and pin configuration as,
• SIMM(Single Inline Memory Module)
• DIMM(Double Inline Memory Module)
• RIMM(Rambus Inline Memory Module)
SIMM (Single Inline Memory Module): A SIMM, or single in-line memory module, is a type of
memory module containing random access memory used in computers from the early 1980s to the
late 1990. The first variant of SIMMs(SIMM-30) has 30 pins and provides 8 bits of data. The
second variant of SIMMs(SIMM-72) has 72 pins and provides 32 bits of data.
DIMM(Double Inline Memory Module): A DIMM or dual in-line memory module comprises a
series of dynamic random-access memory integrated circuits. These modules are mounted on a
printed circuit board and designed for use in personal computers, workstations and servers. DIMMs
began to replace SIMMs. While the contacts on SIMMs on both sides are redundant, DIMMs have
separate electrical contacts on each side of the module. Another difference is that standard SIMMs
have a 32-bit data path, while standard DIMMs have a 64-bit data path. Variants of DIMM slots
support DDR, DDR2 and DDR3 RAM.
RIMM(Rambus Inline Memory Module): The memory module used with RDRAM chips. It is
similar to a DIMM package but uses different pin settings. Rambus trademarked the term RIMM as
an entire word. It is the term used for a module using Rambus technology. RIMM modules are
commonly used on the Intel Pentium 4 motherboards. Unlike most other computer memory,
computers that support RIMM require a continuous signal. If a memory socket is left empty, the
computer will not work properly. Therefore, users must utilize C-RIMM modules in any slots that
do not have RIMM modules. RIMM memory is expensive and slower then DIMMs. RIMM that use
16-bit data bus has 2 notches and 184-pins
Cache Memory: Cache memory is a very high speed semiconductor memory (small size RAM)
which can speed up the CPU. It is
a supplementary memory system that temporarily stores frequently used instructions and data for
quicker processing by the central processor of a computer. It acts as a buffer between the CPU and
the main memory. The data and programs are transferred from the disk to cache memory by the
operating system, from where the processor can access them. The cache memory lies in the path
between the processor and the memory. The cache memory therefore, has lesser access time than
main memory and is faster than the main memory but have limited capacity. When a computer
processor accesses its internal memory, it first checks to see if the information it needs is stored in
the cache. If it is, the cache returns the data to the processor. If the information is not in the cache,
the processor retrieves it from the main memory.
Types of cache memory: Cache memory is fast and expensive. Traditionally, it is categorized as
"levels" that describe its closeness and accessibility to the microprocessor.
There are three general cache levels:
• L1 cache, or primary cache, is extremely fast but relatively small, and is usually embedded
in the processor chip as cache. The Size of the L1 cache very small comparison to others
that is between 2KB to 64KB, it depent on computer processor. It is a embedded register in
the processor.The Instructions that are required by the processor that are firstly searched in
L1 Cache.
• L2 cache, or secondary cache, is often more capacious than L1.The Size of the L2 cache is
more capacious than L1 that is between 256KB to 512KB. L2 cache may be embedded on
the processor, or it can be on a separate chip or co-processor and have a high-speed
alternative system bus connecting the cache and processor. That way it doesn't get slowed by
traffic on the main system bus. After searching the instructions in L1 Cache, if not found
then it searched into L2 cache by computer microprocessor.
• Level 3 (L3) cache is specialized memory developed to improve the performance of L1 and
L2. L1 or L2 can be significantly faster than L3, though L3 is usually double the speed of
DRAM. The L3 cache is larger in size but also slower in speed than L1 and L2, it’s size is
between 1MB to 8MB. With multicore processors, each core can have dedicated L1 and L2
cache, but they can share a common L3 cache.
Q) Explain the need for cache memory & its classification ? (6 marks)
Q) Discuss different levels of cache memory ? (6 marks)
Q) Why cache is used and describe its classifications? (6 marks)
Q) How cache memory improves processor’s speed and state the different types of cache
memory ? (6 marks)
Advantages:
• Cache memory is faster than main memory.
• It consumes less access time as compared to main memory.
• It stores the program that can be executed within a short period of time.
• It stores data for temporary use.
Disadvantages:
• Cache memory has limited capacity.
• It is very expensive.
ROM(READ ONLY MEMORY): The memory from which we can only read but cannot write on
it. This type of memory is non-volatile. The information is stored permanently in such memories
during manufacture. A ROM stores such instructions that are required to start a computer. This
operation is referred to as bootstrap.
MROM(Masked ROM): The very first ROMs were hard-wired devices that contained a pre-
programmed set of data or instructions. These kind of ROMs are known as masked ROMs, which
are inexpensive.
PROM(Programmable Read Only Memory): PROM is read-only memory that can be modified
only once by a user. The user buys a blank PROM and enters the desired contents using a PROM
program. Inside the PROM chip, there are small fuses which are burnt open during programming. It
can be programmed only once and is not erasable.
EPROM (Erasable and Programmable Read Only Memory): EPROM can be erased by
exposing it to ultra-violet light for a duration of up to 40 minutes. Usually, an EPROM eraser
achieves this function. During programming, an electrical charge is trapped in an insulated gate
region. The charge is retained for more than 10 years because the charge has no leakage path. For
erasing this charge, ultra-violet light is passed through a quartz crystal window (lid). This exposure
to ultra-violet light dissipates the charge. During normal use, the quartz lid is sealed with a sticker.
EEPROM (Electrically Erasable and Programmable Read Only Memory): EEPROM is
programmed and erased electrically. It can be erased and reprogrammed about ten thousand times.
Both erasing and programming take about 4 to 10 ms (millisecond). In EEPROM, any location can
be selectively erased and programmed. EEPROMs can be erased one byte at a
cannot be changed or deleted by an end-user without using special programs, and remains on that
device whether it's on or off. Firmware is held in non-volatile memory devices such as ROM,
EPROM, or flash memory. BIOS is a classic example of a Firmware which is connected to the
motherboard.
NOTE : Software's are generally a set of instructions to instruct a computer. Firmware's are
generally a type of software used to control hardware devices.
BIOS(Basic Input/Output System): The BIOS is a firmware stored in a chip on your computer's
motherboard. It is the first program that runs when you turn on your computer. When the computer
power ON, the CPU approaches the BIOS to find out all Input-Output devices and to look over if all
hardware connections are properly functioning. BIOS is the one which loads the operating system
in to the computer memory, thus completing the booting process.
BIOS is a part of the motherboard. It is stored in the permanent memory called non-volatile Read-
only Memory or Erasable Programmable Read-only Memory (EPROM) chip or Flash Memory on
the Motherboard of a computer. EPROM and Flash memory is used to upgrade the BIOS program
as we can change the contents of EPROM and Flash memory.
Once the booting process is complete, the BIOS acts as an intercessor between the Input-Output
devices and the processor. All hardware details of the computer are known and managed by the
BIOS. Whenever IO device changes, the information needs to be communicated to the BIOS.
Main Functions of BIOS:
• Power-On Self-test (POST): The primary function of BIOS is to check whether computer
hardware is functioning properly and there is no issues with the hardware. It is done by
POST. If POST fails, computer generates BIOS issues an error message which may be text
on the display screen and a different beep sounds to indicate the error. The pattern of beeps
may be a variable numbers of short beeps or a mixture of long and short beeps, depending
on what type of BIOS is installed.
• Bootstrap Loader: Once POST is done, BIOS looks for capable operating system. If found,
it will pass control to the operating system. This is called Booting.
• BIOS Drivers: BIOS drivers are low level drivers. Low level drivers are a collection of
programs which are stored in non-volatile erasable memory chips. They give basic
information about computer hardware and also give basic operational control over computer
hardware.
• BIOS setup or CMOS setup: BIOS setup is a configuration program that allows us to
configure computer hardware settings like passwords, time and date.
NOTE : When you start your computer, you may see a message like "Press F2 for setup."
This setup is your BIOS configuration interface.
NOTE: Your BIOS memory is non-volatile, it retains its information even when your computer
has no power because your computer needs to remember its BIOS settings even when it's turned
off. That's why the CMOS has its own dedicated power source, which is the CMOS battery.
Expansion cards: An expansion card, also known as an expansion board, adapter card or accessory
card, is a printed circuit board that can be inserted into an electrical connector, or expansion slot, on
a computer motherboard, backplane or riser card to add functionality to a computer system via the
expansion bus. Expansion cards allowed a processor system to be adapted to the needs of the user,
allowing variations in the type of devices connected, additions to memory, or optional features to
the central processor. Expansion cards can often be installed or removed in the field, allowing a
degree of user customization for particular purposes. Some expansion cards take the form of
"daughterboards" that plug into connectors on a supporting system board. Expansion cards contain
edge connectors that are used to create an electronic link between motherboard and an expansion
card. The expansion slot is a socket that is mounted on a motherboard to insert circuit board.
Video Card(Graphics Card): A video card connects to the motherboard of a computer system and
generates output images to display. Video cards are also referred to as graphics cards. Video cards
include a processing unit, memory, a cooling mechanism and connections to a display device. A
video card is a printed circuit board (like a motherboard) and contains its own processing unit and
memory. It is like a kind of computer in itself. This essentially takes the load off the motherboard's
processor and memory to process images. The processing unit on a video card is referred to as a
graphics processing unit (GPU). This is very similar to a CPU, but its design is optimized to work
with images. The memory on a video card called VRAM or Video RAM is very similar to the
regular RAM on a motherboard. A video card connects to the motherboard of a computer system
using a slot, typically an Accelerated Graphics Port (AGP) or a Peripheral Component Interconnect
Express (PCIe) connection. High-performance video cards generate a lot of heat. Video cards
therefore need to employ heat sinks, which consist of metal strips to distribute the heat evenly and
dissipate the heat into the surrounding air. A heat sink is often located right on top of the GPU.
Sometimes a fan is added for additional cooling.
Sound Card(audio card): A sound card is an internal expansion card that provides input and
output of audio signals to and from a computer under control of computer programs. The term
sound card is also applied to external audio interfaces used for professional audio applications.
Typical uses of sound card functionality include providing the audio component for multimedia
applications such as music composition, editing video or audio, presentation, education and
entertainment (games) and video projection. Sound cards are also used for computer-based
communication such as voice over IP and teleconferencing.
Sound cards use a digital-to-analog converter (DAC), which converts recorded or generated digital
signal data into an analog format. The output signal is connected to an amplifier, headphones, or
external device. Most sound cards have a line in connector for an analog input from a sound source
that has higher voltage levels than a microphone. In either case, the sound card uses an analog-to-
digital converter to digitize this signal. Some cards include a sound chip to support production of
synthesized sounds, usually for real-time generation of music and sound effects using minimal data
and CPU time. The card may use direct memory access to transfer the samples to and from main
memory, from where a recording and playback software may read and write it to the hard disk for
storage, editing, or further processing.
Types of Modem :
• External Modem: It is attached to the system unit as an external device through telephone
line. It is connected to the telephone wall jack by another cable. External modem is
connected to computer using serial cable to COM1 or COM2 port. It requires external power
supply. It is easy to setup. External modem is expensive.
• Internal Modem: It is a circuit board that is inserted into an expansion slot on the
motherboard. Internal modem cannot be moved from one computer to anther easily. It is
difficult to setup than other types of modem. It is less expensive than external modem.
• Wireless Modem: It transmits the data signals through air instead of cable. It also known as
radiofrequency modem. It is designed to work with cellular technology and wireless local
area networks.