COA Module1
COA Module1
Soumya Majumdar
Text/Reference books
● Arithmetic and Logic Unit (ALU): part of the CPU that handles calculations CPU may need,
e.g. Addition, Subtraction, Comparisons, Logical Operations, Bit Shifting Operations, and
Arithmetic operations
● Buses: Data bus, Data address bus, Instruction bus, Instruction address bus
● Operational Registers used for storing addresses of different types of instructions.
Example- Memory Address Register and Memory Data Register
● Program Counter has the location of the next instruction to be executed.
Harvard Architecture
● Data Bus: It carries data among the main memory system, processor, and I/O devices.
● Data Address Bus: It carries the address of data from the processor to the main memory
system.
● Instruction Bus: It carries instructions among the main memory system, processor, and
I/O devices.
● Instruction Address Bus: It carries the address of instructions from the processor to the
main memory system.
Advantage of Harvard Architecture
● Harvard architecture has two separate buses for instruction and data.
● So, CPU can access instructions and read/write data at the same time.
Differences b/w Von Neumann & Harvard Architecture
Von Neumann Harvard
Ancient computer architecture based on stored Modern computer architecture based on Harvard
program computer concept Mark I relay based model
Same physical memory address used Separate physical memory address used
Common bus for data and instruction transfer Separate bus for data and instruction transfer
Two clock cycles required for execution of single One clock cycle required for execution of single
instruction instruction
Can’t access instruction and read/write at same Can access instruction and read/write at same time
time
Used in personal computers and small computers Used in microcontrollers and signal processing