Professional Documents
Culture Documents
Chapter 1
Chapter 1
INTRODUCTION
How the computer works from an How to design and optimize computer
engineering perspective systems to achieve specific goals
Deals with low level design issues Deals with high level design issues
( Logic and Circuits) ( system and computer)
Data operation (DO): In this state, the CPU performs the actual
operation specified by the instruction. This may involve
performing arithmetic or logical operations on the operands
retrieved in the previous step.
Operand store (OS): In this state, the CPU stores the result of
the operation back into memory or registers, depending on the
nature of the instruction. This completes the execution of the
instruction
Interrupts
An interrupt is a signal sent to the processor by a device or
program, indicating that an event has occurred that requires the
processor's attention.
Interrupt check (IC): In this state, the CPU checks for any
pending interrupts. If an interrupt is pending, the CPU saves the
current state of the system and moves to the interrupt service
routine (ISR).
The CPU interacts with memory and I/O devices in different ways,
depending on the operation being performed. Some examples of
operations include:
Instruction Fetch
Data Read
Data Write
I/O Read
I/O Write
Bus Interconnection
Data Bus: This type of bus is used to transfer data between the
components of the computer system, such as the CPU and the
memory. The data bus is a bidirectional bus, meaning that data
can be transferred in both directions - from the CPU to the
memory and from the memory to the CPU. The number of
wires in the data bus determines the maximum amount of data
that can be transferred between the CPU and the memory.
The width of the data bus determines the amount of data that can
be transferred between the components of the system in a single
cycle. For example, a 32-bit data bus can transfer 32 bits (or 4
bytes) of data at a time. The wider the data bus, the faster the data
can be transferred between components.
Bus Width: The bus width refers to the number of data lines on
the bus, which determines how much data can be transferred at
a time. A wider bus allows for faster data transfer, but also
requires more power and more complex hardware.
Q. What is PCI?