Upload
narayananmeera07
View
217
Download
0
Embed Size (px)
Citation preview
8/13/2019 E-CAD
1/89
(Approved by A.I.C.T.E.New Delhi & Affiliated to J.N.T.U.Hyderabad.)
Beide !o"#t opera$ Near %ao'i il City$Hayath Naar $%.%.Dit.Hyderabad* +,-+-A./.
DEPARTMENT OF
ELECTRONICS AND COMMUNICATIONS ENGINEERING
VLSI SIMULATION LAB MANUAL
8/13/2019 E-CAD
2/89
ARJUN COLLEGE OF TECHNOLOGY & SCIENCES
(Approved by A.I.C.T.E.New Delhi & Affiliated to J.N.T.U.Hyderabad.)
Beide !o"#t opera$ Near %ao'i il City$Hayath Naar$%.%.Dit.Hyderabad* +,-+- A./.
DEPARTMENT OF
ELECTRONICS AND COMMUNICATION ENGINEERING
LAB MANUAL
TOOLS REQUIRED: 1.PC
2. Front End Tool (Xilinx, etc.)
. P!"#ic$l De#i%n Tool (C$dence, &entor 'r$!ic#, S"no#"#, etc.)
Prepared By:
Mr.upendar Sapati
Assoc.Prof, M.Tech (VSD
Dept. of ECE.
8/13/2019 E-CAD
3/89
*o+t t!e l$*or$tor":
Design and ip!eentation of the fo!!o"ing CM#S digita! $ana!og circuits using Cadence $Mentaor
%raphics$%EDA$E&ui'a!ent CAD too!s . The design sha!! inc!ude %ate)e'e! design, Transistor!e'e! design
*ierarchica! design, Veri!og *D)$V*D) design. )ogic Synthesis, Siu!ation and 'erification ,Sca!ing of
CM#S +n'erter fir different techno!ogies, Study of secondary effects ( teperature, po"er supp!y and process
corners ,Circuit #ptii-ation "ith respect to area, perforance and $ or po"er ,)ayout , Etraction of parasitic
and /ac0 annotation, odification in circuit paraeters and !ayout consuption , DC $transient ana!ysis
Verification of !ayouts(D1C,)VS.
ECAD progras can /e done using any copi!er. Do"n !oad the progras on 2P%A$CP)D
/oards and perforance testing ay /e done using pattern generator (34 channe!s and !ogic ana!y-er apart
fro 'erification /y siu!ation "ith any one of the front end too!s.
8/13/2019 E-CAD
4/89
Li#t o Exeri-ent#:
ECD Pro%r$-#: P$%e /o.
5. *D) Code to rea!i-e a!! the !ogic gates.
4. Design of 4to6 decoder
3. Design of 7to3 encoder ("ithout and "ith priority
6. Design of 7to5 u!tip!eer
8. Design of 6 /it Binary to %ray code con'erter
9. Design of Mu!tip!eer$ Deu!tip!eer , coparator
. Design of 2u!! Adder using 3 ode!ing sty!es
7. Design of 2!ip 2!ops: S1, D, ;. 2inite State Machine Design
0LSI Pro%r$-#:
5. +ntroduction to )ay out design ru!es
4. )ayout, Physica! 'erification ,p!aceent ? route for cop!e design, state tiing ana!ysis
+1 drop ana!ysis and crossta!0 ana!ysis of the fo!!o"ing:
Basic )ogic %ates
CM#S +n'erter
CM#S @#1$@A@D gates
CM#S #1 and M gates
CM#S 5/it fu!! adder
8/13/2019 E-CAD
5/89
Static$Dynaic !ogic circuit
!atch
pass transistor
3. !ayout of any co/inationa! circuit
6. introduction to SP+CE siu!ation and coding of @M#S$CM#S circuit
8. SP+CE siu!ation of /asic ana!og circuits: +n'erter $Differentia! Ap!ifier
9. Ana!og Circuits siu!ation(AC Ana!ysisCS ? CD Ap!ifier
. Syste )e'e! Design using P))
@ote: Any S+ of the a/o'e eperients fro each part are to /e conducted (Tota! 54.
8/13/2019 E-CAD
6/89
1
Schematic Diagram
8/13/2019 E-CAD
7/89
2
E!".N#1 L#gic Gate$ Date%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8/13/2019 E-CAD
8/89
Aim0 To Dei# 1oi2 3ate "i# 4HD1 a#d i"late the ae "i# 5ili#6 I7E7i"lator
T##&$ Re'(ire)-./C
. 5ili#6 I7E
V*DL C#)e
library IEEE8"e IEEE.7TD91:3IC9--;A AND B8
:%-=>A :% B8
N:T-=>N:T A8
5:%-=>A 5:% B8
NAND-=> A NAND B8
N:%-=>A N:% B8
5N:%-=>A 5N:% B8
e#d Behavioral8
+
S,-the$i$ Re"#rt
8/13/2019 E-CAD
9/89
A Fi-a& Re"#rt
i#al %e"lt
%T1 Top 1evel :"tp"t ile Nae 0 loi29ate.#r
Top 1evel :"tp"t ile Nae 0 loi29ate
:"tp"t orat 0 N3C
:ptii?atio# 3oal 0 7peed
@eep Hierar2hy 0 N:
B De$ig- Stati$tic$
I: 0
Ce&& U$age0
BE17 0
IN4 0 -
1UT 0 ;
I: B"ffer 0
IBU 0
:BU 0
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
De/ice (ti&i0ati#- $(mmar,
7ele2ted Devi2e 0 +,eft+;*+
N"ber of 7li2e0 < o"t of )
7o"r2e0 A (/AD)
Deti#atio#0 N:%- (/AD)
Data Path A t# NOR1
3ate Net
Cell0i#*Go"t fa#o"t Delay Delay 1oi2al Nae (Net Nae)
**************************************** ************
IBU0I*G: -.-,; ,.+< A9IBU (A9IBU)
1UT0I,*G: - ,.;- ,.+ :%-- (:%-9:BU)
:BU0I*G: .-; :%-9:BU (:%-)
****************************************
8/13/2019 E-CAD
10/89
Total +.#
,8
7I3NA1 AND- 0 td9loi28
7I3NA1 :%- 0 td9loi28
8/13/2019 E-CAD
11/89
7I3NA1 N:T- 0 td9loi28
7I3NA1 5:%- 0 td9loi28
7I3NA1 NAND- 0 td9loi28
7I3NA1 N:%- 0 td9loi28
7I3NA1 5N:%- 0 td9loi28
+
Sim(&ati#- Re$(&t$
8/13/2019 E-CAD
12/89
;
BE3IN
""t0 loi29ate /:%T !A/(
A >G A$
B >G B$
AND- >G AND-$
:%- >G :%-$
N:T- >G N:T-$
5:%- >G 5:%-$
NAND- >G NAND-$
N:%- >G N:%-$
5N:%- >G 5N:%-
)8A=>- ATE% -,N7$, ATE% ,N7$- ATE% ,N78
B=>- ATE% ,N78
END8
8/13/2019 E-CAD
13/89
Re$(&t 1oi2 3ate are dei#ed "i# 4HD1 a#d i"lated the ae "i# 5ili#6 I7E7i"lator
Schematic Diagram
8/13/2019 E-CAD
14/89
3
E!".N#2 2%T#%4 )ec#)er Date%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Aim0 To Dei# 2%T#%4 )ec#)er"i# 4HD1 a#d i"late the ae "i# 5ili#6 I7E7i"lator
T##&$ Re'(ire)-./C
. 5ili#6 I7E
V*DL C#)e
library IEEE8
"e IEEE.7TD91:3IC9--;, the# =>,,,,8
ele
2ae I i
whe# ,, >G=>,,,-8
whe# ,- >G=>,,-,8
whe# -, >G=>,-,,8
whe# -- >G=>-,,,8
whe# other >G=>KKKK8
e#d 2ae8
e#d if8
8/13/2019 E-CAD
15/89
e#d pro2e8
e#d Behavioral8
5
S,-the$i$ Re"#rt
Fi-a& Re"#rt
i#al %e"lt
%T1 Top 1evel :"tp"t ile Nae 0 de2oder.#r
Top 1evel :"tp"t ile Nae 0 de2oder
:"tp"t orat 0 N3C
:ptii?atio# 3oal 0 7peed
@eep Hierar2hy 0 N:
De$ig- Stati$tic$
I: 0
Ce&& U$age
BE17 0 -8A3TB=>,8A1TB=>,8
elif AGB the# AEPB=>,8A3TB=>-8A1TB=>,8
ele AEPB=>,8A3TB=>,8A1TB=>-8
e#d if8
e#d pro2e8
e#d Behavioral8
8/13/2019 E-CAD
40/89
Sim(&ati#- Re$(&t$
5 or (A a#d B)8
e#d Dataflow8
8/13/2019 E-CAD
44/89
S,-the$i$ Re"#rt
*DL S,-the$i$ Re"#rt!a2ro 7tatiti2 5or 0 -*bit 6or 0
Fi-a& Re"#rt
Fi-a& Re$(&t$
%T1 Top 1evel :"tp"t ile Nae 0 "ll9Adder9Dataflow.#rTop 1evel :"tp"t ile Nae 0 "ll9Adder9Dataflow:"tp"t orat 0 N3C:ptii?atio# 3oal 0 7peed@eep Hierar2hy 0 N:De$ig- Stati$tic$ I: 0 +Ce&& U$age BE17 0 1UT 0 I: B"ffer 0 + IBU 0
:BU 0 De/ice (ti&i0ati#- $(mmar,7ele2ted Devi2e 0 +,eft+;*+N"ber of 7li2e0 - o"t of
8/13/2019 E-CAD
45/89
1IB%A% ieee8
U7E ieee.td9loi29--; ,8
7I3NA1 B 0 td9loi2 0> ,8
7I3NA1 Ci# 0 td9loi2 0> ,8
7I3NA1 7" 0 td9loi28
7I3NA1 Co"t 0 td9loi28
BE3IN
""t0 "ll9Adder9Dataflow /:%T !A/(A >G A$
B >G B$
Ci# >G Ci#$
7" >G 7"$
Co"t >G Co"t
)8
A=>- after - after ,#$, after - after -,#$, after ,#$- after ,#$, after
8/13/2019 E-CAD
46/89
8/13/2019 E-CAD
47/89
8/13/2019 E-CAD
48/89
8/13/2019 E-CAD
49/89
Aim0 To Dei# F(&& A))er U$i-g Beha/i#ra& St,&e "i# 4HD1 a#d i"late the ae"i# 5ili#6 I7E 7i"lator
T##&$ Re'(ire)-./C
. 5ili#6 I7E
V*DL C#)e
library IEEE8"e IEEE.7TD91:3IC9--;A&B&Ci#8
pro2e(A$B$p$Ci#)
bei#
2ae p i
whe# ,,,>G7"=>,8Co"t=>,8
whe# ,,->G7"=>-8Co"t=>,8
whe# ,-,>G7"=>-8Co"t=>,8
whe# ,-->G7"=>,8Co"t=>-8
whe# -,,>G7"=>-8Co"t=>,8
whe# -,->G7"=>,8Co"t=>-8
whe# --,>G7"=>,8Co"t=>-8
whe# --->G7"=>-8Co"t=>-8
whe# other>G7"=>K8Co"t=>K8
e#d 2ae8
e#d pro2e8
e#d Behavioral8
8/13/2019 E-CAD
50/89
!a2ro 7tatiti2 %:! 0 -6*bit %:! 0 -
Fi-a& Re"#rt
i#al %e"lt
%T1 Top 1evel :"tp"t ile Nae 0 "ll9Adder9Behavioral.#r
Top 1evel :"tp"t ile Nae 0 "ll9Adder9Behavioral
:"tp"t orat 0 N3C
:ptii?atio# 3oal 0 7peed
@eep Hierar2hy 0 N:
De$ig- Stati$tic$
I: 0 +
Ce&& U$age
BE17 0
1UT 0
I: B"ffer 0 +
IBU 0
:BU 0
De/ice (ti&i0ati#- $(mmar,
7ele2ted Devi2e 0 +,eft+;*+
N"ber of 7li2e0 - o"t of )
7o"r2e0 B (/AD)
Deti#atio#0 Co"t (/AD)
Data /ath0 B to Co"t
3ate Net
Cell0i#*Go"t fa#o"t Delay Delay 1oi2al Nae (Net Nae)
**************************************** ************
IBU0I*G: -.-,; ,.+ B9IBU (B9IBU)
1UT0I,*G: - ,.;- ,.+ !ro9/9ro,,,,-- (!ro9/9ro,,,,)
:BU0I*G: .-; Co"t9:BU (Co"t)
****************************************
Total +.;#
8/13/2019 E-CAD
51/89
U7E ieee.td9loi29--; ,8
7I3NA1 B 0 td9loi2 0> ,8
7I3NA1 Ci# 0 td9loi2 0> ,8
7I3NA1 7" 0 td9loi28
7I3NA1 Co"t 0 td9loi28
BE3IN
""t0 "ll9Adder9Behavioral /:%T !A/(
A >G A$B >G B$
Ci# >G Ci#$
7" >G 7"$
Co"t >G Co"t
)8
A=>- after - after ,#$, after - after -,#$, after ,#$- after ,#$, after
8/13/2019 E-CAD
52/89
8/13/2019 E-CAD
53/89
8/13/2019 E-CAD
54/89
8/13/2019 E-CAD
55/89
Aim0 To Dei# F(&& A))er U$i-g Str(ct(ra& St,&e "i# 4HD1 a#d i"late theae "i# 5ili#6 I7E 7i"lator
T##&$ Re'(ire)-./C
. 5ili#6 I7E
V*DL C#)e
%%%%%%%V*DL C#)e =#r ?#r Gate%%%%library IEEE8
"e IEEE.7TD91:3IC9--;a or b8
e#d Behavioral8
%%%%%%%V*DL C#)e =#r a-) Gate%%%%
library IEEE8
"e IEEE.7TD91:3IC9--;a a#d b8
e#d Behavioral8
%%%%%%%V*DL C#)e =#r Or Gate%%%%
library IEEE8
"e IEEE.7TD91:3IC9--;
8/13/2019 E-CAD
56/89
+,
ar2hite2t"re Behavioral of 6or9 i
bei#
2=>a 6or b8
e#d Behavioral8
%%%%%%%V*DL C#)e =#r F(&& A))er%%%%
8/13/2019 E-CAD
57/89
library IEEE8
"e IEEE.7TD91:3IC9--;
8/13/2019 E-CAD
58/89
+
V*DL Te$t e-ch
ENTIT tb9f"lladder9tr"2t"ral9vhd I7
8/13/2019 E-CAD
59/89
END tb9f"lladder9tr"2t"ral9vhd8
A%CHITECTU%E behavior : tb9f"lladder9tr"2t"ral9vhd I7
C:!/:NENT f"lladder9tr"2t"ral
/:%T(
A 0 IN td9loi28
B 0 IN td9loi28
Ci# 0 IN td9loi287U! 0 :UT td9loi28
Co"t 0 :UT td9loi2
)8
END C:!/:NENT8
7I3NA1 A 0 td9loi2 0> ,8
7I3NA1 B 0 td9loi2 0> ,8
7I3NA1 Ci# 0 td9loi2 0> ,8
7I3NA1 7U! 0 td9loi28
7I3NA1 Co"t 0 td9loi28
BE3IN
""t0 f"lladder9tr"2t"ral /:%T !A/(
A >G A$
B >G B$
Ci# >G Ci#$
7U! >G 7U!$
Co"t >G Co"t
)8
A=>- after - after ,#$, after - after -,#$, after ,#$- after ,#$, after
8/13/2019 E-CAD
60/89
S,-the$i$ Re"#rt
*DL S,-the$i$ Re"#rt
!a2ro 7tatiti2
%eiter 0 -
-*bit reiter 0 -A)/a-ce) *DL S,-the$i$ Re"#rt
!a2ro 7tatiti2
%eiter 0 -
lip*lop 0 -
Fi-a& Regi$ter Re"#rt
!a2ro 7tatiti2
%eiter 0 -
lip*lop 0 -Fi-a& Re"#rt
i#al %e"lt
%T1 Top 1evel :"tp"t ile Nae 0 D9Ay#.#r
Top 1evel :"tp"t ile Nae 0 D9Ay#
:"tp"t orat 0 N3C
:ptii?atio# 3oal 0 7peed
@eep Hierar2hy 0 N:
+,8
elif 2lQeve#t a#d 2lQ>- the#
P=>D8
e#d if8
e#d pro2e8
e#d Behavioral8
++
De$ig- Stati$tic$
I: 0 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
De/ice (ti&i0ati#- $(mmar,
7ele2ted Devi2e 0 +,eft+;*+
N"ber of 7li2e0 , o"t of
8/13/2019 E-CAD
63/89
Deti#atio#0 P () Deti#atio# Clo2Q0 2lQ rii#
Data Path D t# 3ate Net Cell0i#*Go"t fa#o"t Delay Delay 1oi2al Nae (Net Nae) **************************************** ************ IBU0I*G: - -.-,; ,.+ D9IBU (D9IBU) DC0D ,.; P **************************************** Total -.-# (-.
8/13/2019 E-CAD
64/89
+
V*DL Te$t e-ch
1IB%A% ieee8
U7E ieee.td9loi29--;
8/13/2019 E-CAD
65/89
U7E ieee.td9loi29"#i#ed.all8
U7E ieee.#"eri29td.A118
ENTIT tb9D9Ay#9vhd I7
END tb9D9Ay#9vhd8
A%CHITECTU%E behavior : tb9D9Ay#9vhd I7
C:!/:NENT D9Ay#
/:%T(2lQ 0 IN td9loi28
%t 0 IN td9loi28
D 0 IN td9loi28
P 0 :UT td9loi2
)8
END C:!/:NENT8
7I3NA1 2lQ 0 td9loi2 0> ,8
7I3NA1 %t 0 td9loi2 0> ,8
7I3NA1 D 0 td9loi2 0> ,8
7I3NA1 P 0 td9loi28
BE3IN
""t0 D9Ay# /:%T !A/(
2lQ >G 2lQ$%t >G %t$
D >G D$
P >G P )8
%t=>- after #ot 2lQ after -,#8
D=>- after ,#8
END8
Re$(&t D F&i" F" 8ith A$,-chr#-#($ @Re$et i dei#ed "i# 4HD1 a#di"lated the ae "i# 5ili#6 I7E 7i"lator
+
Schematic Diagram
8/13/2019 E-CAD
66/89
;,
E!".N#37 D F&i" F" 8ith S,-chr#-#($ @Re$et Date
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Aim0 To Dei# D F&i" F" 8ith S,-chr#-#($ @Re$et "i# 4HD1 a#d i"late theae "i# 5ili#6 I7E 7i"lator
8/13/2019 E-CAD
67/89
T##&$ Re'(ire)-./C
. 5ili#6 I7E
V*DL C#)e
library IEEE8
"e IEEE.7TD91:3IC9--;
8/13/2019 E-CAD
68/89
;
V*DL Te$t e-ch
1IB%A% ieee8
U7E ieee.td9loi29--;
8/13/2019 E-CAD
69/89
U7E ieee.td9loi29"#i#ed.all8
U7E ieee.#"eri29td.A118
ENTIT tb9D97y#9vhd I7
END tb9D97y#9vhd8
A%CHITECTU%E behavior : tb9D97y#9vhd I7
C:!/:NENT D97y#
/:%T(2lQ 0 IN td9loi28
%t 0 IN td9loi28
D 0 IN td9loi28
P 0 :UT td9loi2
)8
END C:!/:NENT8
7I3NA1 2lQ 0 td9loi2 0> ,8
7I3NA1 %t 0 td9loi2 0> ,8
7I3NA1 D 0 td9loi2 0> ,8
7I3NA1 P 0 td9loi28
BE3IN
""t0 D97y# /:%T !A/(
2lQ >G 2lQ$%t >G %t$
D >G D$
P >G P )8
%t=>- after #ot 2lQ after -,#8
D=>- after ,#8
END8
Re$(&t D F&i" F" 8ith S,-chr#-#($ @Re$et i dei#ed "i# 4HD1 a#di"lated the ae "i# 5ili#6 I7E 7i"lator
;
Schematic Diagram
8/13/2019 E-CAD
70/89
S,-the$i$ Re"#rt
*DL S,-the$i$ Re"#rt
!a2ro 7tatiti2
%eiter 0 -
-*bit reiter 0 -A)/a-ce) *DL S,-the$i$ Re"#rt
!a2ro 7tatiti2
%eiter 0 -
lip*lop 0 -
Fi-a& Regi$ter Re"#rt
!a2ro 7tatiti2
%eiter 0 -
lip*lop 0 -
Fi-a& Re"#rt
i#al %e"lt
%T1 Top 1evel :"tp"t ile Nae 0 D9Ay#.#r
Top 1evel :"tp"t ile Nae 0 D9Ay#
:"tp"t orat 0 N3C
:ptii?atio# 3oal 0 7peed
@eep Hierar2hy 0 N:
;,8
elif 2lQeve#t a#d ClQ>- the# P=>#ot T8
e#d if8
e#d pro2e8
e#d Behavioral8
;+
De$ig- Stati$tic$
I: 0 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
De/ice (ti&i0ati#- $(mmar,
7ele2ted Devi2e 0 +,eft+;*+
N"ber of 7li2e0 - o"t of
8/13/2019 E-CAD
73/89
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Tii# 2o#trai#t0 Defa"lt :7ET IN BE:%E for Clo2Q 2lQ Total #"ber of path R deti#atio# port0 - R -************************************************************************* :ffet0 .,,# (1evel of 1oi2 > ) 7o"r2e0 T (/AD) Deti#atio#0 P () Deti#atio# Clo2Q0 2lQ rii#
Data Path T t# 3ate Net Cell0i#*Go"t fa#o"t Delay Delay 1oi2al Nae (Net Nae) **************************************** ************ IBU0I*G: - -.-,; ,.+ T9IBU (T9IBU) IN40I*G: - ,.;- ,.+ P9#ot,,,--9IN49, (P9#ot,,,-) DC0D ,.; P **************************************** Total .,,#
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tii# 2o#trai#t0 Defa"lt :7ET :UT ATE% for Clo2Q 2lQ Total #"ber of path R deti#atio# port0 - R -************************************************************************* :ffet0 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;
Sim(&ati#- Re$(&t$
8/13/2019 E-CAD
74/89
;
V*DL Te$t e-ch
1IB%A% ieee8
8/13/2019 E-CAD
75/89
U7E ieee.td9loi29--; ,8
7I3NA1 2lQ 0 td9loi2 0> ,8
7I3NA1 T 0 td9loi2 0> ,8
7I3NA1 P 0 td9loi28
BE3IN
** I#ta#tiate the U#it U#der Tet (UUT)
""t0 T9Ay# /:%T !A/(
%t >G %t$
2lQ >G 2lQ$
T >G T$
P >G P
)8
ClQ=> #ot ClQ after -,#8
%t=>- after - after -,#$, after ,#8
Re$(&t T F&i" F" 8ith A$,-chr#-#($ @Re$et i dei#ed "i# 4HD1 a#di"lated the ae "i# 5ili#6 I7E 7i"lator.
;
Schematic Diagram
8/13/2019 E-CAD
76/89
,
E!".N#37) TF&i" F" 8ith S,-chr#-#($ @Re$et Date
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8/13/2019 E-CAD
77/89
Aim0 To Dei# T F&i" F" 8ith S,-chr#-#($ @Re$et "i# 4HD1 a#d i"late theae "i# 5ili#6 I7E 7i"lator
T##&$ Re'(ire)-./C
. 5ili#6 I7E
V*DL C#)e
library IEEE8"e IEEE.7TD91:3IC9--;
8/13/2019 E-CAD
78/89
V*DL Te$t e-ch
1IB%A% ieee8
8/13/2019 E-CAD
79/89
U7E ieee.td9loi29--; ,8
7I3NA1 %t 0 td9loi2 0> ,8
7I3NA1 T 0 td9loi2 0> ,8
7I3NA1 P 0 td9loi28
BE3IN
** I#ta#tiate the U#it U#der Tet (UUT)
""t0 T97y# /:%T !A/(
ClQ >G ClQ$
%t >G %t$
T >G T$
P >G P
)8
ClQ=> #ot ClQ after -,#8
%t=>- after - after -,#$, after ,#8
END8
Re$(&t T F&i" F" 8ith S,-chr#-#($ @Re$et i dei#ed "i# 4HD1 a#di"lated the ae "i# 5ili#6 I7E 7i"lator
Schematic Diagram
8/13/2019 E-CAD
80/89
S,-the$i$ Re"#rt
*DL S,-the$i$ Re"#rt
!a2ro 7tatiti2
Co"#ter 0 -
8/13/2019 E-CAD
81/89
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Aim0 To Dei# BCD C#(-ter8ith A$,-chr#-#($ Re$et"i# 4HD1 a#d i"late theae "i# 5ili#6 I7E 7i"lator
T##&$ Re'(ire)-./C
. 5ili#6 I7E
V*DL C#)e
library IEEE8
"e IEEE.7TD91:3IC9--;,,,,8
elif ClQeve#t a#d 2lQ>- the#
Co"#t=>Co"#tS-8
if 2o"#t>---- the# 2o"#t=>,,,,8
e#d if8
e#d if8
e#d pro2e8
e#d Behavioral8
+
De/ice (ti&i0ati#- $(mmar,
8/13/2019 E-CAD
82/89
7ele2ted Devi2e 0 +,eft+;*+
N"ber of 7li2e0 o"t of
8/13/2019 E-CAD
83/89
!i#i" i#p"t arrival tie before 2lo2Q0 No path fo"#d
!a6i" o"tp"t reO"ired tie after 2lo2Q0
8/13/2019 E-CAD
84/89
Sim(&ati#- Re$(&t$
8/13/2019 E-CAD
85/89
V*DL Te$t e-ch
1IB%A% ieee8
U7E ieee.td9loi29--;G Co"#t
)8
ClQ=> #ot 2lQ after -,#8
%t=>- after -,#$, after ,#$- after ;,#8
END8
8/13/2019 E-CAD
86/89
Re$(&t BCD Co"#ter with Ay#2hro#o" %eet i dei#ed "i# 4HD1 a#d i"latedthe ae "i# 5ili#6 I7E 7i"lator
Schematic Diagram
8/13/2019 E-CAD
87/89
,
E!".N#57 BCD C#(-ter 8ith A$,-chr#-#($ Re$et Date
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Aim0 To Dei# BCD C#(-ter8ith S,-chr#-#($ Re$et"i# 4HD1 a#d i"late the
ae "i# 5ili#6 I7E 7i"lator
T##&$ Re'(ire)-./C
. 5ili#6 I7E
V*DL C#)e
library IEEE8
"e IEEE.7TD91:3IC9--;,,,,8
elif ClQeve#t a#d 2lQ>- the#
Co"#t=>Co"#tS-8
if 2o"#t>---- the# 2o"#t=>,,,,8
e#d if8
e#d if8
e#d pro2e8
e#d Behavioral8
8/13/2019 E-CAD
88/89
-
Sim(&ati#- Re$(&t$
8/13/2019 E-CAD
89/89
V*DL Te$t e-ch
1IB%A% ieee8
U7E ieee.td9loi29--;G Co"#t
)8