Title: High Level Simulation of Complex MixedSignal Circuits
1High Level Simulation ofComplex Mixed-Signal
Circuits
Yves Leduc, Texas Instruments France
y-leduc_at_ti.com
2Modeling the Reality
3Modeling the Reality
- The Top-Down and Bottom-Up processes
- The purpose of the Behavioral Modeling
- Methodology
- Solution to typical problems
- Behavioral modeling of Asynchronous Mixed Signal
Modules - an example
4Modeling the Reality
System, Specifications
Concept
TOP-DOWN.. Modules of ..BOTTOM-UP
Cells
Detail
Enablers, Know-How
5Modeling the Reality
High Level Description
Behavior of Modules Functionality of Cells
design
Electrical Description
6Modeling the Reality
- Lets open the door of the
TOP-DOWN Methodology and the High
LevelBehavioral Modeling
7Modeling the Reality
- We use High Level Behavioral Models to
- Divide to Conquer
- Refine specifications
- Support creativity
- Verify concepts
- Assess risks
- Verify testability
8Modeling the Reality
- And to..
- Contribute to the what-if analysis
- Measure the gap between understanding and reality
- Provide a model back to customer
- Formalize the partitioning
- Speed-up the simulations
9Modeling the Reality
- We mainly use the behavioral modeling to
- MANAGE THE COMPLEXITY
- It is therefore veryimportant to be organized.
10Modeling the Reality
- Methodology
- Identify the method and the tool(s) to analyze
the system! - Select the proper simulator.
- Build models, write netlists.
- Install a back annotation flow.
This is often under-evaluated , causing numerous
and costly reworks. If the tool is properly
selected, you could hope to succeed!
11Modeling the Reality
- Which Method, which Tool?
- Periodic sampling?
- Signal Domain?
- Time Domain? Frequency Domain?
- ..?
Model What Signal Analysis domain ALU
events bit time Digital filter
periodic sampling bit frequency Analog filter
? voltage time, frequency PLL
? ? frequency Phase Modulation ? ?
? ..
12Modeling the Reality
VHDL, ..
opcode
clock
n
m
ALU
n
Sampling at event rate Bit to Bit Comparison in
the time domain Timing analysis ..
A SOLUTION Gate level model Event driven
simulator
13Modeling the Reality
Saber () , SPICE (), ..
Variable time step Time domain analysis (Frequency
domain analysis) ..
A SOLUTION Device level model Electrical
Simulator
() Avant! () UC Berkeley
14Modeling the Reality
SWITCAP (), ..
Sampling at clock filter rate Transfer function
in the frequency domain Histograms in the time
domain ..
A SOLUTION Primitive level model Cycle based
simulator
() Columbia Integrated Systems Laboratory.
15Modeling the Reality
Sampling at clock filter rate Transfer function
in the frequency domain Histograms in the time
domain ..
A SOLUTION Module level model Cycle based
simulator
16Modeling the Reality
What about mixing everything together?
17Modeling the Reality
clock
Oversampling
Digital Module and SWC Filter
Modeling
Continuous Time Domain Analysis Transfer function
in the frequency domain ..
A SOLUTION Module level model Cycle based
simulator Specific Modeling
() Wolfram Research, Inc.
18Modeling the Reality
(an example)
Sampled domain
Continuous domain
OSR Fs
Fs
Analytic method Solve differential
equations, use cycle based simulator.
out in (dout-in)exp(-1.0/tauFs) dout
delay(out)
19Modeling the Reality
(an example)
Sampled domain
Sampled Domain
Continuous domain
Fs
Fs
This is a variant of the previous example. Same
methods, same effort. Only analysis
differs. e.g. a SWC integrator with a limited
bandwidth, slew rate, ..
20Modeling the Reality
(an example)
Sampled domain
Continuous domain
Tchebychev Active Filter
Fs
OSRFs
Numerical method Inverse Laplace
transform, use cycle based simulator.
H(s)
In
Out
21Modeling the Reality
Both methods imply fairly linear transfer
functions and synchronous operations. This is not
often so simple Complex linear transfer
functions are definitively not obvious to
describe but non linear ones could be simply
awful! Prefer cycle based simulator for
synchronous operations. Be prepared to crunch
algorithms. And be creative.. It helps!
22Modeling the Reality
These methods cover a large part of the mixed
signal development. Use them to design, to
check the functionality, to verify the
performances, to check your level of
understanding, .. Do not forget to estimate
yield, testability .. Take time to balance the
risks .. Typical examples SD modulators,
converters, filters, .. NEVER START A MIXED
SIGNAL DEVELOPMENT BEFORE A DETAILED BEHAVIORAL
ANALYSIS!
23Modeling the Reality
Unhappily, life is not so simple!
Previous examples are all based on synchronous
operations. What about Asynchronous Events in
Mixed Signal modules?
24Modeling the Reality
No satisfactory generic solution exists for the
behavioral simulation of large mixed signals
asynchronous circuits. Still.. We need to find
solutionsto practical problems.
25Modeling the Reality
An example
VCO
PFD
U
D
Clock Slicer
FM Modulator
Ref_Clock
26Modeling the Reality
VCO
PFD
Out
Oversampling
Computation and signal are asynchronous
27Modeling the Reality
Synchronously to simulation clock, output phase
in the time domain, determine next asynchronous
event if any, compute PFD decision, compute
accordingly signal.
28Modeling the Reality
Modeling the analog core
Inverse Laplace Transform in asynchronous
operations and some hard work...
VCO
PFD
29Modeling the Reality
Work on going...