UNIT 1 PC Hardware and Installation
UNIT 1 PC Hardware and Installation
UNIT 1 PC Hardware and Installation
The original digital computer systems ran programs on a single CPU (or simply
“processor”). Thus, in order to understand the operation of present and future
1
architectures, it is important to first look back and consider the characteristics of the first
practical modern computing system: The Von Neumann machine.
Von Neumann architecture, also known as the Princeton architecture, is a
computer architecture which comprises an ALU (arithmetic logic unit), a single
shared memory for programs and data, a single memory bus, input/output, and control
unit. The author is John von Neumann, a researcher at Princeton University’s Institute
for Advanced Studies, was the first modern design for a computer based on the stored
program concept originally developed by Babbage. The block diagram of the Von
Neumann computer shown in Figure 1 clearly shows input and output devices as well
as the single memory used to store both data and program instructions. The control unit
and arithmetic/logic unit (ALU) of the Von Neumann machine are key parts of the CPU
in modern microprocessors (internal registers were added later to provide faster storage
for a limited amount of data).
The von Neumann machine cycle is illustrated in Figure 2. This is the process
that must be carried out for each instruction in a stored computer program. When all the
steps are complete for a given instruction, the CPU is ready to process the next
instruction. The CPU begins by fetching the instruction (reading it from memory). The
instruction is then decoded— that is, the hardware inside the CPU interprets the bits and
determines what operation needs to be done; the address (location) of the operand(s) (the
data to be operated on) is also determined. The operands are fetched from registers,
memory locations, or an input device and sent to the ALU, where the requested operation
is performed. Finally, the results are stored in the specified location (or sent to an output
device), and the processor is ready to start executing the next instruction.
2
Figure 2. Von Neumann Machine Cycle
3
labeled INBOX and OUTBOX which are used for receiving and outputting data. In the
center of the room, there is a work area containing a simple two function (addition and
subtraction) calculator known as the Accumulator and a resettable counter known as the
Program Counter. The Program Counter holds the address of the next instruction the
Little Man will carry out. This Program Counter is normally incremented by 1 after each
instruction is executed, allowing the Little Man to work through a program sequentially.
Click this link https://www.youtube.com/watch?v=kCyyZI1GgsQ&t=155s and watch
the video to better understand LMC.
Data Bus
Function of a data bus is to send data from one device to another. The system
bus connects the CPU with the main memory and, in some systems, with the level 2
(L2) cache. Other buses, such as the IO buses, branch off from the system bus to
provide a communication channel between the CPU and the other peripherals (See
Figure 3).
The system bus combines the functions of the three main buses, which are as follows:
• The control bus carries the control, timing and coordination signals to manage
the various functions across the system.
• The address bus is used to specify memory locations for the data being
transferred.
• The data bus, which is a bidirectional path, carries the actual data between the
processor, the memory and the peripherals.
The design of the system bus varies from system to system and can be specific to a
particular computer design or may be based on an industry standard. One advantage of
using the industry standard is the ease of upgrading the computer using standard
components such as the memory and IO devices from independent manufacturers .
System bus characteristics are dependent on the needs of the processor, the speed,
and the word length of the data and instructions. The size of a bus, also known as its
width, determines how much data can be transferred at a time and indicates the number
of available wires. A 32-bit bus, for example, refers to 32 parallel wires or connectors
that can simultaneously transmit 32 bits.
4
Figure 3. Bus Interconnection Scheme
5
Figure 3. Memory Hierarchy (Conceptual)
Lesson 4. PC Architecture
A modern personal computer system consists of one or more CPUs and a number
of device controllers connected through a common bus that provides access between
components and shared memory (see Figure 4). Each device controller is in charge of a
specific type of device (for example, a disk drive, audio device, or graphics display). It
is both simple and complicated. It is simple in the sense that over the years, many of the
components used to construct a system have become integrated with other components
into fewer and fewer actual parts. It is complicated in the sense that each part in a modern
system performs many more functions than did the same types of parts in older systems.
The components and peripherals necessary to assemble a basic modern PC system are
listed in Table 1.
Component Description
Motherboard A motherboard is a Printed Circuit Board (PCB) that allows
communication between various components of the system.
Processor The processor is often thought of as the “engine” of the computer.
It’s also called the CPU
Memory (RAM) The system memory is often called RAM (for random access
memory). This is the primary working memory, which holds all the
programs and data the processor is using at a given time.
Case/chassis The case is the frame or chassis that houses the motherboard, power
supply, disk drives,
Power supply The power supply feeds electrical power to the internal components
in the PC.
Hard drive The hard disk is the primary high-capacity storage media for the
system.
Keyboard The keyboard is the primary device on a PC that is used by a human
to communicate with
CD or DVD drive CD (compact disc) and DVD (digital versatile disc) drives are
relatively high-capacity,
Mouse Although many types of pointing devices are on the market today,
the first and most
Video card The video card controls the information you see on the monitor.
Sound card A sound card enables the PC to generate complex sounds.
Network/modem Most prebuilt PCs ship with a network interface and possibly a
modem.
The motherboard is the core of the system. It really is the PC; everything else is
connected. A motherboard consists of a chipset. Northbridge and southbridge are two
chips in that chipset (See Figure 5). High-speed components are connected to the
northbridge while lower speed components are connected to the southbridge.
The Northbridge is an integrated circuit responsible for communications
between the CPU interface, AGP, and the memory. Unlike the southbridge, the
northbridge is directly connected to these components. It acts as a "bridge" for the
southbridge chip to communicate with the CPU, RAM, and graphics controller. Today,
the northbridge is a single-chip that is north of the PCI bus, however, early computers
may have had up to three separate chips that made up the northbridge.
The southbridge is an IC on the motherboard responsible for the hard
drive controller, I/O controller and integrated hardware. Integrated hardware can include
8
the sound card and video card if on the motherboard, USB, PCI, ISA, IDE, BIOS,
and Ethernet.
A motherboard is the most complicated component in a computer. When you put
together a computer from parts, generally you start with deciding on which processor
and motherboard you will use. Everything else follows these two decisions. All about
Motherboard and PC components will be discussed on the later chapters.
9
10