Computer Organization & Architechture CB320
Computer Organization & Architechture CB320
ORGANIZATION &
ARCHITECHTURE
CB320
Abstraction
Definition
Computer Organization and Architecture is the
study of internal working, structuring and
implementation of a computer system.
Computer Architecture is concerned with
structure and behaviour of various functional
modules of computer and how they interact to
provide processing needs of the user.
Computer Organization is concerned with the
way the hardware components are connected
together to form a computer system
Contd..
Computer Architecture helps us to understand
the functionalities of a system.
Architecture involves Logic (Instruction sets,
Addressing modes, Data types, Cache
optimization)
Computer Organization tells us how exactly all
the units in the system are arranged and
interconnected.
Organization involves Physical Components
(Circuit design, Adders, Signals, Peripherals)
Course Objectives
To learn
How computers work, basic principles
x+0=x,x+1=1,x•1=x,x•0=0
Idempotent Law: x + x =x , x • x = x
Commutative Law: x + y = y + x , x • y = y • x
Associative Law: x + (y + z) = (x + y) + z ,
x • ( y • z) = (x • y) • z
Distributive Law: x • ( y+ z) = (x • y) + (x • z) ,
x + (y • z) = (x + y) • (x + z)
DeMorgan's Law: (x + y)' = x' • y’ , (x • y )’ = x’ + y’
Q) F= AB’ + C’D + AB’ + C’D
= x + x (let x= AB’ + C’D)
=x
= AB’ + C’D
They are time independent circuits which do not depends upon previous
inputs to generate any output are termed.
Half Adder
A combinational circuit performs addition of
two bits is called a half adder.
Three bits( two significant bits and a previous
carry ) is called a full adder.
Input to half adder augend and addend
Output is sum and carry
Contd…
S= A`B+BA’
C=AB
S=A ⊕B
C=AB
Full Adder
3 inputs ( two significant bits and a carry bit)
and 2 outputs
S= A ⊕B ⊕C
C=AB + (A ⊕B)C
Flip Flop
Flip-flop is a circuit that maintains a state until
directed by input to change the state.
Bi-stable device capable of storing one bit of
data , 2 outputs one for normal and another
for complement.
They fundamental building blocks of digital
electronics systems used in computers,
communications, and many other types of
systems
Build using NAND or NOR gates.
Common types: SR ("set reset"), D ("data" or
"delay"), T ("toggle"), and JK (Jack/King)
Flip-flops can be either simple (transparent or
asynchronous) or clocked (synchronous).
clocked ones are described as flip-flops while
simple ones are latches
Clocked devices are specially designed for
synchronous systems; such devices ignore their
inputs except at the transition of a dedicated
clock signal (known as clocking, pulsing, or
strobing).
Sequential Circuit
Sequential circuit produces an output based on current input and
previous input variables.
That means sequential circuits include memory elements which are
capable of storing binary information
Combination Sequential
In this output depends only upon In this output depends upon present
present input. as well as past input.