Professional Documents
Culture Documents
03 - Handout - 1 (2) CSA
03 - Handout - 1 (2) CSA
Hardware Architecture
Computer hardware is the collection of physical parts of a computer system. It can be categorized as having
either external or internal components. External components, also called peripheral components, are those
items that are often connected to the computer in order to control either its input or output. These include
the computer case and monitor (output component), and keyboard and mouse (common input components).
Internal components include items such as the hard disk drive, motherboard, video card, and many others.
What is a Microprocessor?
• It is composed of integrated circuits that hold thousands of transistors responsible for processing the
unique set of instructions and processes.
• It is designed to execute logical and computational tasks with typical operations such as arithmetic
interprocess, device communication, input/output management, etc.
Microprocessor Components
These are the components that made microprocessors more powerful and efficient throughout its invention
and development:
1. Central Processing Unit (CPU) – It is responsible for accepting data from input devices, processing the data
into information, and transferring the information to memory and output devices.
2. Arithmetic Logic Unit (ALU) – As the name implies, its function is to perform arithmetic operations, such
as addition, subtraction, division, and multiplication, and logic operations such as AND, OR, and NOT.
3. Control Unit (CU) – Its function is to control the input and output devices, generate control signals to the
other components of the computer such as read and write signals, and perform instruction execution.
4. Registers – It is the fastest memory in a
computer that holds information.
5. Main Memory – This device is capable of
storing information temporarily.
6. Clock – It refers to a microchip that regulates
the timing and speed of all computer
functions.
7. Input/Output Devices – These are any
hardware used to communicate with a
computer.
8. Input/Output Interfaces – These are physical
devices, ports, or connections that interact
with the computer or other hardware devices. Figure 1. Microprocessor components abstraction
9. Direct Memory Access – It is a feature of some
computer bus architectures that allows data to be sent from a storage device to memory without using
the CPU.
10. Bus – It is a pathway of data or instruction from one (1) element to the other.
a. Data Bus – This bus is used to carry data to and from the memory.
b. Address Bus – This bus defines the number of addressable locations in a memory IC.
c. Control Bus – This bus carries control signals from the control unit to the computer components in
order to control the operation of each component.
Registers
In computer architecture, a
processor register provides the
fastest way for a CPU to access
data. Modern computer
architectures operate on the
principle of moving data from the
main memory into registers, and
vice versa.
• It holds a temporary value
(IN BINARY) like data,
instructions, memory
addresses or I/O address,
and special binary codes. Table 1. Comparison of registers and memory
• It can store, manipulate,
and calculate values which vary from 16-bit, 32-bit, up to 64-bit registers sizes.
Kinds of Registers
Registers assist in a particular transfer of data or an instruction to be processed. The following are the basic
kinds of registers:
• General-Purpose Registers / Accumulator – These store any transient data required by the processor.
• Program Counter Register / Instruction Pointer – This holds the address of the current instruction
being executed.
• Memory Address Register – This holds the address of a memory location.
• Memory Data Register – This holds a data value that is being stored to or retrieved from the memory
location currently addressed by the memory address register.
• Status Registers / Flags – These are used to allow the computer to keep track of special conditions
such as arithmetic carry and overflow, power failure, and internal computer error.
CPU Architecture
Generally, an architecture defines what an object looks like, behaves, processes, and responds. In the aspect
of computers, it defines how a processor operates through hardware/software and how it is being handled by
the user.
Von Neumann Architecture
• It is a program consisting of code (instructions)
and data.
• It uses a data bus to transfer data and
instructions from the memory to the CPU.
Memory holds both programs and data.
• It is still the standard architecture for all
computers and computer-based devices.
Harvard Architecture
• It uses separate buses for instructions and
data.
• The instruction address bus and instruction
bus are used for reading instructions from the
memory.
• The address bus and data bus are used for
writing and reading data to and from the
memory.
• Reduced Instruction Set Computer – It is a computer which only uses simple instructions that can be
divided into multiple instructions and perform low-level operations within a single clock cycle.
Example: ARM (iPhone)
Microprocessor Operations
These are the operations that a microprocessor has:
• Fetch – It is designed to fetch several instructions at a time in parallel.
• Decode – It identifies the opcode in which it determines the type of instruction.
• Execute – It executes the part/s for each different instruction.
Each computer has a specific operation to which it will be processed. With a different instruction set,
instructions may be processed differently. In the future, the exact parallel computing might be possible to
grasp. Most of the computer processes today are more inclined into pipelining in which it can be near to
parallel processing.
Parallel Processing
It is a method of simultaneously breaking up and running
program tasks on multiple microprocessors, thereby
reducing processing time. It can be accomplished via a
computer with two (2) or more processors or via a
computer network. It induces problems resulting in not
being synchronized.
Pipelining
It is the process of
accumulating and executing
computer instructions and
tasks from the processor via a
logical pipeline. It allows
storing, prioritizing, managing,
and executing tasks and
instructions in an orderly
process.
Process Comparison
Normal Processing Parallel Processing Pipelining
References:
Berekovic, M., Buchty, R., Hamann, H., Koch, D., & Pionteck, T. (2018). Architecture of computing systems – ARCS 2018 proceedings.
Switzerland: Springer Nature.
David Keizer. (2016, June 6). RISC vs CISC [Video file]. Retrieved from https://www.youtube.com/watch?v=_EKgwOAAWZA on
May 21, 2019
DMA. (2018, November 13). In Computer Hope. Retrieved from https://www.computerhope.com/jargon/d/dma.htm on May 22,
2019
Input/output device. (2018, November 13). In Computer Hope. Retrieved from
https://www.computerhope.com/jargon/i/iodevice.htm on May 22, 2019
CPU. (2019, April 13). In Computer Hope. Retrieved from https://www.computerhope.com/jargon/c/cpu.htm on May 22, 2019
Clock. (2017, October 2). In Computer Hope. Retrieved from https://www.computerhope.com/jargon/c/clock.htm on May 22, 2019
Computerphile. (2017, March 3). Inside the CPU - Computerphile [Video file]. Retrieved from
https://www.youtube.com/watch?v=IAkj32VPcUE on May 24, 2019
craigndave. (2017, June 19). OCR A'Level CISC vs RISC [Video file]. Retrieved from
https://www.youtube.com/watch?v=BJpMmq9gQE8 on May 24, 2019
David Keizer. (2016, June 3). RISC vs CISC [Video File]. Retrieved from https://www.youtube.com/watch?v=_EKgwOAAWZA on May
24, 2019
Easy Tech Tips. (2014, December 18). Parallel computing explained in 3 minutes [Video file]. Retrieved from
https://www.youtube.com/watch?v=q7sgzDH1cR8 on May 24, 2019
Elahi, A. (2018). Computer systems - Digital design, fundamentals of computer architecture and assembly language. Switzerland:
Springer Nature.
Englander, Irv. (2014). The architecture of computer hardware, systems software & networking (5th ed.). New Jersey: Wiley.
Patterson, D. & Hennessy, J. (2017). Computer organization and design – The hardware/software interface. Massachusetts: Elsevier.
Computer - Fifth Generation. (n.d.). In TutorialsPoint. Retrieved from
https://www.tutorialspoint.com/computer_fundamentals/computer_fifth_generation.htm on May 22, 2019
Undy, S. (n.d.). Massive Parallelism for Mission-Critical Applications - Advanced Explicitly Parallel Instruction Computing (EPIC)
Architecture. Retrieved from https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/itanium-
9500-massive-parallelism-mission-critical-computing-paper.pdf on May 24, 2019
[Vaishvik Satyam]. (2017, March 29). Difference between CISC and RISC Architecture [Video file]. Retrieved from
https://www.youtube.com/watch?v=07cpxBfy7JI on May 24, 2019
Yadin, A. (2016). Computer systems architecture. Florida: CRC Press.
What is the difference between the Von Neumann architecture and the Harvard architecture?. (n.d.). In Quora. Retrieved from
https://www.quora.com/What-is-the-difference-between-the-Von-Neumann-architecture-and-the-Harvard-architecture
on May 22, 2019
Parallel Processing. (n.d.). In Techopedia. Retrieved from https://www.techopedia.com/definition/4598/parallel-processing on May
22, 2019
What is computer hardware?. (n.d.). In Quora. Retrieved from https://www.quora.com/What-is-computer-hardware on May 22,
2019
Microprocessor. (n.d.). In Techopedia. Retrieved from https://www.techopedia.com/definition/2874/microprocessor on May 24,
2019