Académique Documents
Professionnel Documents
Culture Documents
Sudarshanam Kommanaboyina
Microchip Technology India Pvt. Ltd.
Insert Company
Logo Here
Bangalore, India
Copyright 2011 Magma Design Automation, Inc.
Agenda
Challenge
Traditional flow to simulate analog, digital blocks
Mixed-signal simulation
Co-Sim observations
Feasibility of Finesim for Co-Sim
Example
2
Copyright 2011 Magma Design Automation, Inc.
Insert Company
Logo Here
Challenge
3
Copyright 2011 Magma Design Automation, Inc.
Insert Company
Logo Here
en
reset_n
start
trim[4:0]
sel[2:0]
control[4:0]
an_in1
an_in2
an_in3
4
Copyright 2011 Magma Design Automation, Inc.
A
N
A
L
O
G
S
P
I
C
E
N
E
T
L
I
S
T
an_out1
an_out2
an_out3
an_out4
an_out5
dig_out1
dig_out2
dig_out3
Insert Company
Logo Here
Observations
Analog stimulus generated from designers with human errors in
design can carry the same perception to analog testbench that may
result in polarity issues
Eg. Control signal polarity getting inverted at the analog-digital
interface
Stimulus from RTL simulation has controllability and it is possible
to catch the polarity issues
It is tedious to check the results manually from the above two
methods
Almost no verification done after integration of standalone blocks (
simulated in spice) causing possible functional failures
Eg. missing level shifter in multi-supply designs
5
Copyright 2011 Magma Design Automation, Inc.
Insert Company
Logo Here
B
R L
T O 1
sel[2:0]
L C
control[4:0]
K
an_in1
an_in2
an_in3
A
N
A
L
O
G
B
E
H
A
V
I
O
R
A
L
M
O
D
E
L
an_out1
an_out2
an_out3
an_out4
an_out5
dig_out1
dig_out2
dig_out3
6
Copyright 2011 Magma Design Automation, Inc.
B
R L
T O 2
L C
K
Insert Company
Logo Here
Observations
Behavioral models of analog modules used
(Verilog/VHDL)
Uses full-chip testbench to simulate full-chip RTL +
analog behavioral models
Behavioral model may not match with analog spice
netlist since it cannot capture spice device/model
complexity
Generates stimulus for standalone analog simulations
which are then used to run block level spice sims
Not possible to catch polarity issues, functional bugs
at the interface
7
Copyright 2011 Magma Design Automation, Inc.
Insert Company
Logo Here
N
E
T
L
I
S
T
B
L
O1
C
K
en
reset_n
start
trim[4:0]
sel[2:0]
control[4:0]
an_in1
an_in2
an_in3
A
N
A
L
O
G
N
E
T
L
I
S
T
S
P
I
C
E
an_out1
an_out2
an_out3
an_out4
an_out5
dig_out1
dig_out2
dig_out3
8
Copyright 2011 Magma Design Automation, Inc.
N
E
T
L
I
S
T
B
L
O 2
C
K
Insert Company
Logo Here
Observations
Digital gates equivalent spice netlist + Analog spice netlist used
for full-chip simulation
Takes weeks to run in true-spice and several days in fastSpice
Very few test cases are run at this stage, may not be possible to
catch the interface bugs
No standard verification methodology exists currently confirming
the verification coverage/closure.
Bugs caught at this stage may postpone the tapeout
9
Copyright 2011 Magma Design Automation, Inc.
Insert Company
Logo Here
en
reset_n
start
trim[4:0]
B
R L
T O 1
sel[2:0]
L C
control[4:0]
K
an_in1
an_in2
an_in3
A
N
A
L
O
G
S
P
I
C
E
N
E
T
L
I
S
T
an_out1
an_out2
an_out3
an_out4
an_out5
dig_out1
dig_out2
dig_out3
10
Copyright 2011 Magma Design Automation, Inc.
B
R L
T O 2
L C
K
Insert Company
Logo Here
D2A
vdd
gnd
xvdd
A2D
>vdig1
<vdig0
vdig0< signal V < vdig1
11
Copyright 2011 Magma Design Automation, Inc.
Insert Company
Logo Here
Observations
12
Copyright 2011 Magma Design Automation, Inc.
Insert Company
Logo Here
Magma (Finesim)
Verilog support
Yes
Yes
Required/optional
VerilogA
Yes
VerilogAMS
Underdevelopment
Spice netlist
Yes
Insert Company
Logo Here
Q&A
Note: The Microchip name and logo are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries.
All other trademarks mentioned herein are property of their respective companies.
15
Copyright 2011 Magma Design Automation, Inc.
Insert Company
Logo Here