Dsdo Assignment 3
Dsdo Assignment 3
S
D 9
tnable F
R
L R 9
.S
EN S R gnr
0 0 EN
O -
X gn (nochong )
The he
Cus lon lou On
Chonge
put
goes
p i e s c n t
Ane
enable t h e t
callel he
n o m a fon
J e p
RS pop
not dnply9
able Oulput
-Jan-2023
Clocked D Tap- Flops
O
C
En
SR FE
Last 6tate
Set
o Reset
Jnva lPel,
EDG
En D
O
DO
S Co) DueviouS
En
D- Flp Flop.
CIK
K
D
AcHo0
O O
Mo change
RESET
O
SET
Toggle
ve leve
level gle 8slave
ye
The mask
to
Plsd&k Hpots beoue
maslau Hesponcs
hugge the
clock
dETS On the tve
maske
ds8K=o
the
the
I. huons?lobn
an
an he PT
RESE TS
maskx
maskx
mask
=1 he
he
Outpot
2. J= O & K 9
femplPma
the Cloch The heh he olave the masl
On
to he K oput on he p
gocs both high i toggles
Jk nput e oggele on
Slave har
he Clock & the
AIT
cleabled
Cloch
O then lp-lep
9
LLemafnS
unchangedl
d-R Hp top
4 hulggorec
Edge
D
CIK
K ot A ion
G
O n(lastSltAlo chonge
RESET
SET
Toggie
dues
FesPhve eclgo tu
Clock genuaiogd-k fop he
SET
SET
bo th hfgh
4. Alhen J4k se
he bov golc pa
hfghhe
a ueßet pulse
RESET he Jlflop 9
he otha hand g s lou he Oppo
On the next pl On
SET Du lSe Jol Kal mean fhe
got pus es PI Thdoue
p-lop oggle On he ntxF tve Clock edge
F
5 Postve thuigga
D 9.
CK
AcHon
SK Qntl
S- Nb chong
D 0
RESET
6ET
TnvalPd
K D R
to a gotil RS p-op
The pos?Re hilggor pplred Rs 2
stcsult 8 a pes9Aa edge huegged
tht the dymbol Paeleates that
The mall tsufangle nstde
Slolt Al?th tye
only huaiyged
on heunge Clocks puodoces vo nwouo
Each PT the
he
he clock. to he AND gate
that applled ond
PT
actve only when pr high
The AND galt this hof
Con hong. 6hale Only claulng
time pulod.
CIK
L
PT
Ito u
S TL
loe Gat daleh
the easiest way lo
to Consruuct a
P p
One
One
s nvestkors docles
Feeelboek lhe
Va
INVA INVB
NOR B R AcHon
hes achially has uvo Lash slo dhange
The lepop mee onoual tumS
Sate
deiog ET
Octtput
0 RESE
foubrlden
Grate lalch
NAND R 59
das Salo
S
2 Fobellen
9 slANO
P
gale AP
a
puf to
RS pop Ps low any
any St the laleh
hPgh. Thus a on S mpot wll
Pls Ou tpor loco both
JouCe wPll reset P (g-0). T bo1
g-1&9=0). A lo On he R opot
96 pe ytou8
R&S e high, the lep wPll ema fh
boh R 9 low 6multoneously 8 joubtdden
Slott. Sefng
Snce hs oce bolh 9 hign
high
Mon Memou
PaocesoH memo
Contol
PC Ro
R ALU PuoceMo
IR
Ros
h g n qenuual puwpole
uegPsky
I . ) puumonce
Ihe mos mp
onp meaBwte peyoumance a Compule hou
guic hly9 Con execule PuOgiom8.
Ihe dpeed a Computot qectedlby by he destgn
) Tnshuwctfon et
)Hadawaxe the tchnology whfth the
hasdeawe
mplemente
3) aofloare heluelng he oposuong oyskm
Matn Cauche
momou
Pauoceso
memgy
Bus
Main Cache
memoy mmon
PROCESSOR CLOCK
Processor circuits controlled by a timing signal called a Clock.
are
The dlock defines regular time intervals called Clock Cycles.
T o execute a machine instruction, the processor divides the action to be performed into a sequence
of basic steps such that each step can be completed in one dock cyde.
P
Ris measured in cycles per second.
Cycles per second is also called Hertz (H2)
1-32
COMPUTER ORGANIZATION_
CLOCK
RATE
There are 2 possibilities for increasing the clock rate R:
uits
step. (IC integrated circuits).
This allows the clock period P to be reduced and the dock rate R to be increased.
2) Reducing the amount of processing done in one basic step also reduces the clock period P.
I n presence of a cache, the percentage of accesses to the main-memory is small.
Hence, much of performance-gain expected from the use of faster technology can be realized.
The value of T will be reduced by same factor as R is increased S& Nare not affected.
PERFORMANCE MEASUREMENT
Benchmark refers to standard
task used to measure how well aprocessoroperates.
The Performance Measure Is the time taken by à computer to execute a given Dencnmark.
r e s u i t s tor different application
domains. (SPEC formance Evaluation Cororatio
SPEC Rating is 9iven by
1-32
COMPUTERORGANIZATION
BYTE-ADDRESSABTLITY
I n byte-addressable memory, successive addresses refer to successive byte locations in the memory.
Byte locations
Ifthe word-length is 32 bits, successive words are located at addresses 0,
having 4 bytes.
4, 8. . with each word
23
34
100
1003 78
wORD ALIGNMENT
Words are said to be Aligned in memory if they begin at a byte-address that is a multiple of the
inà wora.
number of bytes
For example,
the word length is l6(2bytes), algned words begin at byte-addresses 0, 2, 4
I f the word length is 64(2 bytes), aligned words begin at byte-addresses 0, 8, 16 .
rde
Words are said to have Unaligned Addresses, if they begin at an arbitrary byte-address.
1-32
Moclule-04
OmpulotCugonPzalon
Funclon al Un?ts
keyboar
baaio
Contrel uai
Mem ouy
Stouoqe dev?ce
ArithmoPe &
ALUT
loge un?
MONTe
Main MemoLys
MAR-
ELG3.
Memouu Opuualfons.
Both puoquam
CLe gShoted
nstmochons and clala Opands
the mem oHy to exe ceuti on
suoc on he uoces oy ContuolCGce?smus
laust he 1woud Conkning the be
nshuuction
huan&ued Lom the 9Y to
mem The PO CeBO.
oae Opuuationse
p tuonsp he opy heConkn
SpaeP memoy locaffoncto heo oces
Fhe meunouis Contnts emah nchange
Suat (oacs Opuafioo he Duo ce59H dnds
he acleluess he cles huee locafion o
Conent o
he mrm
ou Llcguest nat
b Mad.