f 11 l- =
AAlgorithmic Architectures
Verification of Complex
Analog Integrated Circuits
I_
A aarchitectures|
,f0fboairto
~~Adaptive filtering
Etc.
Today 3
}
*~ ~ ~~~e 1Qu
Kudr
^Kunalert
lElenryChallg
l lW
GA
>10k transistors
3
In
MultipleDimnensions!l
AllRight R 9lud
Operating modes
~~~~~~~~~*
Ra_:
4DAC f fPA
Numbers given are representative of what would be common for this type of circuit. 4
AliR
C'ropy ihft'.OO7))() [)z gel d'
Cu)e
i9t9uftg I,
ht}, R,e ud
C~p~UoOzaiZtt'
7)))D[e@t
'.
dC)ef i,t19eftg
AlRtRig,
,e ud
AudiCoe ErosFntinlErr
I
4 X
PG
AD
DA
PA9
L {~~~ia
Enable
__
Out
In
5;
2r,sd:'sGealCewseh.yl.
AtR^>tR
|~
4iir,,F<2
;X:
6j jX0;r
iGftt<t's6tdCwsw
Dtzi
h.yl
,
Cqn
t.4iRuelf
F
Cadj[0:7]--
DIgital controls0
_FN0 I|~~~~~~~
~~~~~* Digital trimming
Wh So Many Se_.ttingn^s?___a
ADOS
g~~~~~~~~~~~~~~~~~~~~~~
Digital trimming
CH)iE)t ItfEl,El
~~~~~~~COlpVigh1t2O7,D)(g7
d)@IM'
0 00
~ Size
~~~
~~~~~~~~~~
X
0
l~ ~ ~ Crplogic
Functional Errors
Functional Errors
[2]
c[1 ]
5[0]
..- . .
: ~~~~~~~~~~~~-
Flipped busses
7~~~~~~~~~~~~~~~~~~~~~~~~ 8
Functiona Eror
Funtina Eror
207,
ht
I~y
C
G4
H
ucinlerr aeotnvr
~~~~~~~~~~~~~~-Invre signalsW
\tI
11
Ai
tR
dCp~UOOD
ipeerr
Gd~i
lRt
Trnitr-LvlVrfcto
tbok*Toepniv o ucinlvfct
- 10K transistors, 30K cycles, 250 modes~~~~~~~~~~~~~~~~
- Al equre
sinas ae ssuedto e resnt- Oe
- Assumtions o interlock deendencis neve
eekfo on mde
it tiin siulto
13l
Alternatives to Verification
What's Needed
* Systematic approachb to verifying design &
specification
~* Confidence that all flaws have been found
* Mlore ve=rificatio3n, earlier in design flow
#(2*clnockPeriod);.
11in-=out/IinGain;
C
~~~~~~~pup
= 1;
~~~~~~~~~~~~~~~~~~~~~~~(0*lckeiModLlae #svetlltlingT#(0-5flflPrime);
1rd
chcSplCret;
measGain
.
V(ot
fin
T~~~~~~~~~~~~~~~~~or (i - 0; < 654; i=i+1) begin
$diusplay("Gain IS %R",notmeasGain);
checkRtXgain();
Rersso
i,t19,f,g
AliR
ht}.
R,e
-ltly1tLLLo11D VlbF
=measGain;
~~~~~~~~~~prevGain
|C~p~UoOzaiZt@'7D))
[.ge}
'.
Cu)
endtask.
t
I,,9,f)gt
AiRtRig,
,e ud
Tetn
19
sd
X
Cu)e
[)z gel d'
gain =i;
end
rea
inee sed
beginlGan
$dsly'an sert %d"gi)
linGain - pow 1O0 (gain - 20)/20).
initializeDUTO);
pup =o0;
16.
rrvan
initializeTestbenchO);
=;
Sina frequeOA2ncy
is
20 IIXot
,,
Model-Based Verification
Mixed-Signal Simulation
digital sections
- Mixed-level simulation
- PC
* VHDL-AMS
~VH4DL-A)
21
22
ots ddsrel
elanaeotrical
v-dd
vaue evn-die
* Relc
initial begin
end
/1 Vriog
portsclz7aceeaessmua
analog begin
endmnodule
tests to both
develolpmfent,
kernel
24
Tes Bec
jM1
M2
*Rpaeoeboka
S3
M4
iewt
M5 L
ceai
tc
__|_______________________________
ca eosre
mode
m
l
Apply th sam
wit
vial
_____________
1/ Veri/og-A
cici
end
trnito-ee
...
23
eio-Apusaitm e
411h
2
CWyrihft>_f Di
'Gds5w'6 fCew.sltnZl.
NA
llRiqtRfeff
F
Representation
B3 TesBenc
Tests Time
Verilog
~~~~~~~Verilog-AMS
@ xstr
~~~~~~~PGA
@ xstr
~~~~~~~~ADC
@ xstr
~~~~~~~~Bias
l ll ll l
I 11 11 1
I 11 11 1
I 11 11 1
.v.
HU
2Dr
ThS
Ai
28
^GllRl
crewhlst
R}
To
~~~.*
reuedrto*frgeso
et
t_1.__Further1 patito blck so ___,,
as to reur
feXwer trnitr inX a mie-ee sim
* Cosis[1&
increase moelT dvelomen
Numbers given are representative of what would be common for this type of circuit.
CApy
Supp-les
Clc
ilnputs
Analo inputse
1. *~lF~
2h7.GFlIR
h1d
Ce
E
l
.whx
All R;,ght
Res
dT
77gg1
rX
Z}X
Wha Modele
is
rexplaemnatio
ostates
G~
RghtR2rI007,Dlxg
& holdonditions
11
Cp*
~
3 hours
Assertibonks
1 lnralwayboel1tru
mustt
lpe
or monitorin .cne opues
Till
50
* Addtla
assertion foamre
Aneaserto irnisos
acnitin amoitoed-lpaslsivel tha
2Stp
77X7
f7b
sX/7-
* Useful
25
6 min
6 hour
12 hours
1 hour
250
150
^
27
cyrltf
00
2 min
50O
250
31~~~~~~~~~~~~~~ 321
D|
Validateth-upl
ilo
s in te -expete range,ho
Models
expectedpowe consumptiond iontalrode
ttergtfeuny
hc
eu
odvoain
''
1 '
Verification Methodology
ICo declaratons
J-
integer i, level;
To verify specs
rg[15:0] d;
Functional model
leveli= I 6*(V(in)+0.5);
1.7);
oe fcba
l Th.9t
UEl1 :00DI7E5 tle
AllRl
ht
* Verified design
.0 .
* Vlerified spec - important for large teams
* Verified top-le:vel: model- critical for jP
* Control of risks enables greater innovation
* Redulced needl for senior designers
* Encourages
* Encourages
top-down design
deslgn
* Aids reulse,tlest development
35
entify whic
evel
m1
7 odels need doping
- Id
to -e e n
]} Generatec te outu
J*Dvlpmodeling
adsmutinplans
Deeo
an
iulto
//convertinput to aninteger
endrnodule
33
Intenal variabiles -
end
Inc.
All
Rihts
~~-
Resrvd
Copyt
36
hU
2007
Desgne'
Gide Consltin
ignes||ss2
Trrar-s
cannot givea
X Xw7s~~~~~~~~~~~~~~ Veiiato needs focu{s deTsor
consiasten witecrcusiontetn
*~~~~
Drve by~ veiicto enine
* Role
- Capturetoo deinnverification
pa
lF
pt~~~C
lR
- Etc.
39
40
.
4'
.
Charge Pump
G.d
it
AliR ht R
42
43
Pin
UP, UPb
ON, DNb
bias
enable
Iadj
in
in
in
in
in
Type
Pseudo-differential
Pseudo-differential
10 gA sink, 5%
Boolean, active high
4-bit binary
Description
Sources Icp to output
Sinks Icp from output
0.5 V @ 10 kQ nom.
Activates OP
Sets Icp; 0-500 gA
Cladj
R2adj
C2adj
out
in
in
In
out
4-bit binary
4-bit binary
4-bit binary
Analog voltage
pwr
Vdd, Gnd
Dir
&pyphU2007D
D'ig.''.Ghd C. lt. N.
end
411fl
G dC.
it
1.2 mAmax.
AllRhtR
end
assign fault = vddFault I ibiasFault;
etc
.
Down
bias
Enable
C2adj
All flght R
analog begin
II charge pump
state = state * (enable && fault);
(out) <+ Ioniransition(state, 0, tt);
//filter
(out) <+ ci * ddt(V(out));
V(out,int) <+ r2 * (outint);
(int) <+ c2 * ddt(V(int));
I/supply
I(vdd) <+ enable? 1.2m 0;
end
4llR.
Analog VerificationEngineers
maaemdl,
tsece
i
XX
ht R
aid TDD
- Modlels help to close gap between system
y
2007,DGdi
C0hbgr1t
iii
lh
'ilieel
Iy,l
AllRl,yht
f.v48
R
|-
di
yhUi2OO7D
GititdeCer
lh
Ix, llRc
htIRi,e5.rY d
To be published in 2007.
~~~~~*
Verlfication.
50~~~~~'ru@f..7)(7[site
C)eC91,/)lg
,l
A1i}.,e
ed|ClV}iZt
)(7[eiee
uleC91,Z)gt1
tRg,R.le