COA ClassSlidemodule 3
COA ClassSlidemodule 3
Course Topics
1. Chapter 1: Basic Structures of Computers: Functional Units, Operational concepts, Bus
structures, Software, Performance, Computer Architecture vs Computer Organization
2. Chapter 2: Machine Instructions and Programs: Memory location and addresses, Big-
Module I endian and Little-endian representation, Memory Operations, Instructions and
instruction sequencing, Addressing modes, Assembly Language, Basic Input / Output
operations, subroutine, additional instructions
3. Chapter 6: Arithmetic: Addition and subtraction of signed Numbers, Design of Fast
Module II Adders, Multiplication of positive Numbers, Signed-operand multiplication, Fast
multiplication, Integer Division, Floating-point Numbers (IEEE754 s. . .) and operations.
4. Chapter 5: The Memory System: Basic Concepts, cache Memory, Cache memory
mapping policies, Cache updating schemes, performance consideration, Virtual
Memories, Paging and Page replacement policies, Memory Management requirement,
Module III secondary storage.
5. Chapter 7: Basic Processing Units: Fundamental concepts, Execution of complete
Instructions, Multi bus organization, Hardwired control, Micro programmed control,
RISC vs CISC architecture
Addition and subtraction of signed numbers
• Suppose we want to add
two numbers X and Y.
• The following figure shows
the logic truth table for the
sum and carry-out functions
for adding xi and yi.
• Let ci represents the carry in
the ith stage which is the
carry out of (i1)th stage.
Addition and subtraction of signed numbers
Last AND gate and OR gate require a fan-in of (n+1) for a n-bit adder.
For a 4-bit adder (n=4) fan-in of 5 is required.
Practical limit for most gates.
Problem
Find the number of delays for obtaining
c16 in the following 16-bit carry-lookahead
adder built from four 4-bit adders.
Ans:
• Number of gate delays for obtaining c4 =
3
• Number of gate delays for obtaining c8 =
3 + 2 (Since Gi and Pi are already
calculated)
• Number of gate delays for obtaining c16
=3+2+2+2=9
• Number of gate delays for obtaining all
sum bits = 9 + 1 = 10