Professional Documents
Culture Documents
Updated COA
Updated COA
Idno
1.Abraham
2.James
3.Teshale
4.Temasgen
5.Yeshem
1
DIGITAL COMPONENT OF
COMPUTER ARCHITECTURE AND
ORGANIZATION
TABLE OF CONTENT
1) INTEGRATED CIRCUIT
1.1 Integrated circuit
1.2 Component of integrated circuit
1.3 Types of integrated circuit
1.4 Advantage of integrated circuit
1.5 Application of integrated circuit
2
2) DECODER
2.1 Introduction to decoder
3) MULTIPLEXER
3.1 Introduction to multiplexer
3.2 Key component and functionality of multiplexer
4) REGITER
4.1 Introduction to register
4.2 Types of regiter
5) BINARY COUNTER
5.1 Introduction to binary counter
5.2 Types of binary counter
5.3 component and operation
5.4 Application of binary counter
6) MEMORY UNIT
6.1 Introduction to memory unit
6.2 Types of memory
6.3 Memory hierarchy
6.4 Memory management
6.5 Memory technology and innovation
INTRODUCTION
Digital components form the essential building blocks of modern electronic systems,
enabling a wide array of functionalities from simple data processing to complex
computational tasks. This introduction provides an overview of six critical digital
components: integrated circuits, decoders, multiplexers, registers, binary counters,
and memory units.
3
The various gates are interconnected inside the chip to form the required circuit.
Each IC has a numeric designation printed on the surface of the package for identification.
Small Scale Integration (SSI) devices contain several independent gates in a single package.
The inputs and outputs of the gates are connected directly to the pins in the package.
Large Scale Integration (LSI) devices contain between 200 and few thousand gate in a single
package Very Large Scale Integration (VLSI) devices contain thousands of gate in a single
package
ICs can be classified based on their functionality, integration level, and application:
Analog ICs: Handle continuous signals. Examples include operational amplifiers (op-
amps), voltage regulators, and analog-to-digital converters (ADCs).
Digital ICs: Handle discrete signals. Examples include microprocessors, memory
chips, and logic gates.
Mixed-Signal ICs: Combine analog and digital functions on a single chip. Examples
include analog-to-digital converters (ADCs) and digital-to-analog converters (DACs).
4
1.5 Based on Integration Level
Manufacturing Process
5
Cost Efficiency: Lowers the cost of manufacturing complex circuits due to mass
production.
Power Consumption: Reduces power consumption compared to discrete component
circuits.
ICs are ubiquitous in modern technology and are used in various applications:
Conclusion
Integrated circuits are the backbone of modern digital electronics, enabling the creation of
compact, high-performance, and cost-effective electronic devices. Their development has
driven advancements in technology across various fields, from computing and
telecommunications to healthcare and automotive industries. Understanding ICs'
functionality, types, manufacturing, and applications is essential for grasping the complexity
and capabilities of contemporary electronic systems.
6
2. DECODERS
2.1 introduction to decoder
A decoder is a combinational circuit that converts binary information from ‘n’ input lines to a
maximum of 2 n unique output lines. It is used to decode the binary information to some
other number system (decimal or hexadecimal).
A decoder is a combinational circuit that converts binary information from ‘n’ input lines to a
maximum of 2^n unique output lines.
It is used to decode the binary information to some other number system (decimal or
hexadecimal).
Decoding - the conversion of an n-bit input code to an m-bit output code with n m 2 n
such that each valid code word produces a unique output code
Circuits that perform decoding are called decoders Decoders Extract “Information” from
the code.
A decoder is a combinational logic circuit that converts binary information from n input lines
to a maximum of 2^n unique output lines. It is an essential component in digital electronics
and is commonly used in various applications such as memory systems, data multiplexing,
and address decoding in microprocessors.
The primary function of a decoder is to enable one specific output line based on the binary
value present on its input lines. For example, a 2-to-4 decoder will have 2 input lines (A and
B) and 4 output lines (Y0, Y1, Y2, Y3). The output line that corresponds to the binary value
present on the input lines will be activated, while the rest of the output lines will remain
inactive.
Decoders can be classified into two main types based on their functionality: binary decoders
and BCD decoders. Binary decoders are used to decode binary information, while BCD
(Binary Coded Decimal) decoders are specifically designed to decode decimal numbers
encoded in binary form.
Binary decoders are further categorized based on the number of input lines and output lines
they have. Common types include 2-to-4 decoders, 3-to-8 decoders, and 4-to-16 decoders.
The number of output lines in a decoder is determined by the formula 2^n, where n is the
number of input lines.
7
The operation of a decoder is based on the truth table that defines the relationship between
the input and output lines. The truth table specifies which output line will be activated for
each possible combination of input values. For example, a 2-to-4 decoder will have the
following truth table:
To design a decoder circuit, Boolean algebra and Karnaugh maps are commonly used to
simplify the logic expressions for each output line. This helps in reducing the number of logic
gates required and optimizing the circuit for better performance.
8
3 .MULTIPLEXER
A multiplexer selects information from an input line and directs the information to an
output line
A multiplexer (or "mux") is a digital switching device that selects one of many input signals
and forwards the selected input to a single output line. Essentially, a multiplexer functions as
a multiple-input, single-output switch. It is widely used in digital circuits to manage the flow
of data.
1. Inputs: A multiplexer has multiple input lines. The number of inputs (N) is usually a
power of 2, such as 2, 4, 8, 16, etc.
2. Select Lines: A multiplexer has select lines (or control lines) that determine which
input to select and send to the output.
For example, a 4-to-1 multiplexer (4 inputs) requires 2 select lines.
3. Output: There is a single output line where the selected input signal is sent.
4. Enable Input (Optional): Some multiplexers include an enable input that must be
active for the multiplexer to function. When the enable input is inactive, the output
remains in a defined state (such as low or high impedance).
4.REGISTER
a register is a small, fast storage area within a computer's CPU or other digital circuit.
Registers are used to hold data temporarily during the execution of instructions. They are
integral to the functioning of CPUs and other digital systems, playing a critical role in
processing and managing data.
9
4.1 Types of Registers:
Usage Example:
The Program Counter (PC) contains the address of the next instruction.
This address is used to fetch the instruction from memory into the Instruction
Register (IR).
The instruction is decoded, and any operands required are fetched into General-
Purpose Registers (GPRs).
The CPU performs the required operation, storing the result back in a register or
memory.
The Program Counter (PC) is updated to point to the next instruction, and the cycle
repeats.
Registers are essential for the efficient functioning of CPUs, enabling rapid data processing
and instruction execution.
10
5.BINARY COUNTER
A binary counter is a digital device used in electronics and computing that counts in binary
numbers. It is an essential component in many digital systems for tasks such as timing,
sequencing, and frequency division. Binary counters can be designed to count up, count
down, or count in a specific sequence.
Basic Concept:
11
5.1 Types of Binary Counters:
Flip-Flops:
Each flip-flop stores a single bit of the binary number. Common types used in
counters include JK, D, and T flip-flops.
The state of the flip-flop changes based on the clock signal and the type of
flip-flop used.
Clock Input:
The clock signal triggers the state change in the flip-flops. In synchronous
counters, all flip-flops are triggered by the same clock signal.
Control Logic:
Additional logic gates may be used to control the counting sequence, enabling
features such as preset, reset, and enable
12
Digital Clocks: Used to keep track of time in binary-coded decimal (BCD)
format.
The combination of these operations ensures the counter increments its binary value by 1
with each clock pulse.
Conclusion:
6. MEMORY UNIT
The memory unit in computer architecture and organization is a critical component that stores
data and instructions necessary for processing. It plays a vital role in the overall performance
and functionality of a computer system. In this detailed overview, we'll explore various
aspects of the memory unit, including its types, structure, hierarchy, and management.
The memory unit is a part of the computer system responsible for storing data and
instructions. It interacts with the CPU, input/output devices, and other system components to
facilitate data storage and retrieval. The memory unit can be broadly classified into two
13
categories: primary memory (volatile) and secondary memory .
Primary Memory
Primary memory, also known as main memory or RAM (Random Access Memory), is
directly accessible by the CPU. It is used for storing data temporarily while the computer is
running. Primary memory is volatile, meaning its contents are lost when the power is turned
off.
RAM (Random Access Memory): Used for temporary storage while the computer is
operational. It is fast and allows for both read and write operations.
DRAM (Dynamic RAM): Needs periodic refreshing to retain data.
SRAM (Static RAM): Faster than DRAM, does not require refreshing.
ROM (Read-Only Memory): Non-volatile memory that stores critical startup
instructions and firmware. It is typically read-only, though some types like EEPROM
can be rewritten.
PROM (Programmable ROM): Can be programmed once.
EPROM (Erasable PROM): Can be erased and reprogrammed using UV
light.
EEPROM (Electrically Erasable PROM): Can be erased and reprogrammed
electrically.
Secondary memory provides long-term storage for data and programs. It is non-volatile,
meaning the data persists even when the computer is turned off.
Hard Disk Drives (HDDs): Magnetic storage devices with large capacity and slower
access times compared to RAM.
Solid State Drives (SSDs): Faster than HDDs, using flash memory with no moving
parts.
Optical Discs (CDs, DVDs, Blu-rays): Use laser technology to read and write data.
USB Flash Drives: Portable and use flash memory for storage.
Magnetic Tapes: Used for archival storage and backups.
14
6.4. Memory Hierarchy
The memory hierarchy is a structure that uses multiple types of memory with different speeds
and capacities to optimize performance and cost. The hierarchy typically includes:
Registers: Small, fastest memory located within the CPU. Used for temporary storage
of immediate data.
Cache Memory: Intermediate storage between RAM and CPU. Designed to speed up
access to frequently used data.
L1 Cache: Located within the CPU, smallest and fastest.
L2 Cache: Larger and slower than L1, but still within the CPU or on the
motherboard.
L3 Cache: Shared among multiple cores, larger and slower than L2.
Main Memory (RAM): Larger and slower than cache, used for general-purpose
storage while the computer is running.
Secondary Storage: Largest and slowest, used for long-term storage of data and
programs.
A. Memory Allocation
B. Paging
Paging divides memory into fixed-size blocks called pages. It helps in efficient memory
utilization and management.
Page Table: Keeps track of the mapping between virtual addresses and physical
addresses.
Page Fault: Occurs when a requested page is not in memory, triggering a fetch from
secondary storage.
C. Segmentation
Segmentation divides memory into variable-sized segments based on logical divisions like
functions or data structures. Each segment has its own base address and limit.
15
Segment Table: Maps logical addresses to physical addresses.
D. Virtual Memory
Virtual memory extends the available physical memory using disk space. It allows larger
programs to run on systems with limited RAM.
Memory access refers to the process of reading or writing data to and from memory locations.
Addressing methods determine how memory locations are identified and accessed.
A.Addressing Modes
B. Memory Interleaving
Memory interleaving increases the speed of access by spreading the memory addresses across
multiple memory modules.
DDR (Double Data Rate) SDRAM: Transfers data on both rising and falling edges
of the clock signal.
GDDR (Graphics DDR): Specialized for graphics processing units (GPUs).
16
B) Non-Volatile Memory
NAND Flash: Used in SSDs, known for high density and durability.
3D XPoint: Developed by Intel and Micron, offers high speed and endurance.
C) Emerging Technologies
MRAM (Magnetoresistive RAM): Combines the speed of SRAM with the non-
volatility of flash.
ReRAM (Resistive RAM): Uses resistance changes to store data.
FeRAM (Ferroelectric RAM): Uses ferroelectric material to achieve non-volatility.
Conclusion
The memory unit in computer architecture and organization is a complex and crucial
component that significantly affects system performance. Understanding its types, hierarchy,
management techniques, and the latest technologies helps in designing efficient and powerful
computing systems. As technology advances, memory units continue to evolve, providing
faster, larger, and more reliable storage solutions
17