+ All Categories
Home > Documents > 4 Singapore Analog Behavioral Modeling

4 Singapore Analog Behavioral Modeling

Date post: 29-Dec-2015
Category:
Upload: rio-carthiis
View: 110 times
Download: 9 times
Share this document with a friend
Description:
Analog Behavioral Modeling
Popular Tags:
36
Analog Behavioral Modeling Sathishkumar Balasubramanian Senior Manager, Solutions Marketing, Cadence Technology on Tour, Singapore July 25 th , 2013
Transcript
Page 1: 4 Singapore Analog Behavioral Modeling

Analog Behavioral Modeling

Sathishkumar Balasubramanian

Senior Manager, Solutions Marketing, Cadence

Technology on Tour, Singapore

July 25th , 2013

Page 2: 4 Singapore Analog Behavioral Modeling

2 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Agenda

1. Mixed-signal Overview

2. Real Numbers (SystemVerilog, Verilog-AMS, VHDL)

3 Model Generation and Validation

4. Demo: Schematic Model Generator(SMG)

5. Demo: AMS Design & Model Validation (amsDmv)

6. Conclusions

Page 3: 4 Singapore Analog Behavioral Modeling

3 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Today’s needs are vast and complex

Mixed Signal Testbench

Measure

Design

How do I measure

the quality of analog

verification?

How do I verify the mixed-

signal interconnects?

How do I verify the digital

content in this SoC?

Analog

Design

How do I model analog

behavior efficiently?

Page 4: 4 Singapore Analog Behavioral Modeling

4 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• Verification is biggest overall challenge in mixed-signal design

• Many of silicon re-spins could be prevented by better verification

MS Verification Challenge

Cause of Silicon Re-spins

Biggest Challenge in MS Verification

Main Design Challenges

Preventable by

better Verification

Methodology

Page 5: 4 Singapore Analog Behavioral Modeling

5 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• The performance gap between analog simulation and digital is ever-widening

• Analog simulation does not scale to IC/SoC level

Mixed signal simulation performance

1Tx 1x 10x 100x 10Kx

SPICE

FAST SPICE

AMS-HDL Models

1Kx

Digital Simulators/Emulators

Performance Gap

Event based

1Gx

Matrix based

Relative Simulation Performance

Circuit Complexity

Ru

n T

im

e

SPICE FASTSPICE

HDLsim

Page 6: 4 Singapore Analog Behavioral Modeling

6 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Key Elements of MS Verification Solution

Assertion, Coverage and Metric-Driven Methodology

Behavioral Modeling

Simulation

Continuous advancements

in performance and features Methodology, library and

tools abstracting analog

and mixed-signal

functionality to higher level

New, Digital-like

Methodology applied on

analog and mixed-signal Integrated Environment

Page 7: 4 Singapore Analog Behavioral Modeling

7 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Bridging the mixed signal divide

• Behavioral models used for functional verification – Real number models offer analog functionality at digital speeds

– Models are easily used in the Virtuoso and Incisive environments

• Pin/Bus communication abstracted to the transaction-level

Benefits: Increased Predictability, Productivity and Quality

Validate Models to

Circuit (amsDMV)

Analog Domain Digital Domain

D Behavioral Model

(RNM)

Transistor level

Schematic

D

D

D

D

D

D

D

R

Testbench

Mixed Signal Verification

A

Schematic Model

Generation

Page 8: 4 Singapore Analog Behavioral Modeling

8 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• AMS Designer is a single kernel mixed-signal simulator – Flexible Use Model ( GUI / Command-line )

– Choice of Analog solvers (Spectre® / Ultrasim / APS )

– Configurable Interface Elements

Flexible simulation using AMS Designer Unifying analog and digital engines

AMS-Analog Design Environment

(Virtuoso GUI integration)

• AMS in Analog Design

Environment

• (OSS->UNL+irun)

IC & IUS

AMS-irun (AIUM)

(Incisive batch mode regression)

irun

+ amsd block

IUS only

AMS Designer AMS-Ultra & AMS-Spectre®

AMS-APS

Page 9: 4 Singapore Analog Behavioral Modeling

9 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Agenda

1. Mixed-signal Overview

2. Real Numbers (SystemVerilog, Verilog-AMS, VHDL)

3 Model Generation and Validation

4. Demo: Schematic Model Generator(SMG)

5. Demo: AMS Design & Model Validation (amsDmv)

6. Conclusions

Page 10: 4 Singapore Analog Behavioral Modeling

10 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• Enable high-speed simulation of analog/mixed-signal blocks by using real numbers (floating-point) for signal values in discrete-time, event-driven simulation

• Removes the analog solver dependency from mixed signal verification

• Can be written by analog designers and/or digital verification engineers

• Enables digital verification techniques for analog/mixed signal blocks – Assertion-based verification

– Coverage driven verification

– Metric driven verification

– Reusable analog verification components (UVM-MS)

• Differs from analog behavioral languages (like Verilog-A) since targeted for higher level of integration/testing (IC/SoC)

• Possible RNM languages include – Verilog-AMS (wreal and Verilog subset)

– VHDL

– SystemVerilog

Real number modeling

Page 11: 4 Singapore Analog Behavioral Modeling

11 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Continuous

Discrete

Analog modeling abstraction trade-offs

Speed

Accuracy

101

102

104

108

Multiple abstractions required for high confidence in design

Electrical

Real

Logic

SPICE

Page 12: 4 Singapore Analog Behavioral Modeling

12 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• Several languages to choose from: Verilog-AMS, SystemVerilog, VHDL – Several ways to reach your goals

– Cadence has robust language support

• Start with Verilog-AMS wreals – Works well in Virtuoso

– Allows porting from Verilog-A performance models to RNM

– Provides for a compatibility path to SystemVerilog Real (to new IEEE P1800 standard) for SoC verification teams

– Application note available today

• Technical details available if needed

Real number modeling language choices

Page 13: 4 Singapore Analog Behavioral Modeling

13 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• Combining the best features of VHDL and Verilog-AMS real number modeling in SystemVerilog – IEEE 1800-2012 was released in February 2013

– Cadence contributed to SV-DC additions

• New features enable robust real number modeling

• New features overcome issues with prior versions of SystemVerilog (2009 and prior LRM) – Real number nets

– Bi-directional real connections

– Multiple RNM contributors to the same net

– Modeling complex information on a single net (eg. Voltage and current)

New 2012 SystemVerilog connectivity features Driven by the IEEE 1800 SV-DC committee

Page 14: 4 Singapore Analog Behavioral Modeling

14 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• Can carry one or more (real) values over a single net – Can be used to communicate voltage, current or other values

between design blocks

• User-defined resolutions (UDR) functions used to combine multiple outputs together

SystemVerilog used-defined nets

Analog

Behavioral

Model (SV)

Analog

Behavioral

Model (SV) Real-value

nettype

V(out) V(in)

Page 15: 4 Singapore Analog Behavioral Modeling

15 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• IEEE 1800-2009 supports real variable port connections – Restricted to input and output only (no inout)

– Real value connections restricted to variables (multiple net contributors not allowed)

• Difference between variables and nets – Variables store value (new assignments overwrite previous values)

– Nets are used for structural connections and allow for resolution of multiple drivers

Why do we need UDTs/UDRs?

Analog

Behavioral

Model (SV)

Analog

Behavioral

Model (SV) Real variable

Analog

Behavioral

Model (SV)

Page 16: 4 Singapore Analog Behavioral Modeling

16 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• Internal Example: Compare 14bit ADC + 14 bit DAC in transistor and in RNM – We exercise and simulate all possible conversions of the ADC and

DAC. Because there are 14 bits, the number of conversions to simulate is 2**14=16384 steps.

– Transistor performance: several days

– RNM performance: 3 seconds

• TI success story on cadence.com

RNM performance case study

A2D D2A

“Analog”

Real

Input

“Analog”

Real

Output

Bit

0

Bit

13

V(in)

V(out)

Page 17: 4 Singapore Analog Behavioral Modeling

17 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Agenda

1. Mixed-signal Overview

2. Real Numbers (SystemVerilog, Verilog-AMS, VHDL)

3. Model Generation and Validation

4. Demo: Schematic Model Generator(SMG)

5. Demo: AMS Design & Model Validation (amsDmv)

6. Conclusions

Page 18: 4 Singapore Analog Behavioral Modeling

18 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Problem Statement

• Customers concerned about behavioral modeling effort for analog/mixed signal designs

• The current methodology – write the behavioral text in a text editor – is not acceptable to many analog/mixed signal designers

• Analog designers prefer a “graphical” viewpoint of a designs function at the schematic level

– Most prefer not to interact with a model at the text language level

Page 19: 4 Singapore Analog Behavioral Modeling

19 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Schematic Model Generator (SMG)

User creates a schematic

like representation of their

behavioural model using the

provided building blocks

SMG Processes the

schematic to create

the behavioural model

Easy to use

Building blocks are placed, wired, configured and calibrated using a standard schematic in VSE

Integrated into Cadence Virtuoso design flow

Improve consistency and model quality

Create models from existing qualified building blocks

Model-schematic can be reused, shared, reconfigured and easily maintained

Page 20: 4 Singapore Analog Behavioral Modeling

20 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Easy to use (schematic / GUI based) – Building blocks are placed, wired, configured, and calibrated using a

standard schematic (in Virtuoso Schematic Editor) – No language to enter or understand – Fully integrated into the well know Virtuoso design flow

Reusable model-schematic – Model-schematic can be reused, shared, reconfigured, and easily

maintained – Easily understandable graphical representation of the design functionality

Model generation creates a standard text model – Provides significantly more flexibility than standard netlisting approaches – Connections between blocks can be anything (variables, constants,

parameters), not just signals

Improved and consistent model quality – Created from existing mature and qualified model building blocks – Reduces the problems resulting from the lack of a designers skill set that

adversely affects the quality and performance of the final model – Model calibration with measured results by associating ADE XL measured

result data with building block parameters

Key Benefits of SMG

Page 21: 4 Singapore Analog Behavioral Modeling

21 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Model Validation Problems

• Analog/MS behavioral models are created and initially validated against the original transistor level design

• The design/model continues to evolve and change

• Designers do not have time to continually validate models – Issues such as pin list mismatches or result variations occur

• Using the original (out of sync) model could result in incorrect verification results which hide design flaws

• Thus, continual model validation is mandatory during the design creation and modeling process

Page 22: 4 Singapore Analog Behavioral Modeling

22 © 2013 Cadence Design Systems, Inc. Cadence confidential.

What is amsDmv? AMS Design and Model Validation

• Integrated model validation solution that supports: – Validation of analog and digital waveform signals saved from

simulations

– Validation of measured values: Gain, power, delay, noise, etc.

– Validation of pin/module interfaces of the design and model

• Support GUI based setup and exported command line regression run

• Provides straightforward pass/fail output, reports and extended debugging capabilities (waveform zoom, etc.)

Page 23: 4 Singapore Analog Behavioral Modeling

23 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Model Validation Flow (amsDmv)

Page 24: 4 Singapore Analog Behavioral Modeling

24 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Model Validation Flow

Page 25: 4 Singapore Analog Behavioral Modeling

25 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Agenda

1. Mixed-signal Overview

2. Real Numbers (SystemVerilog, Verilog-AMS, VHDL)

3. Model Generation and Validation

4. Demo: Schematic Model Generator(SMG)

5. Demo: AMS Design & Model Validation (amsDmv)

6. Conclusions

Page 26: 4 Singapore Analog Behavioral Modeling

26 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Demo: Schematic Model Generation (SMG)

Page 27: 4 Singapore Analog Behavioral Modeling

27 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Agenda

1. Mixed-signal Overview

2. Real Numbers (SystemVerilog, Verilog-AMS, VHDL)

3 Model Generation and Validation

4. Demo: Schematic Model Generator(SMG)

5. Demo: AMS Design & Model Validation (amsDmv)

6. Conclusions

Page 28: 4 Singapore Analog Behavioral Modeling

28 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Demo: AMS Design & Model Validation

Page 29: 4 Singapore Analog Behavioral Modeling

29 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Agenda

1. Mixed-signal Overview

2. Real Numbers (SystemVerilog, Verilog-AMS, VHDL)

3. Model Generation and Validation

4. Demo: Schematic Model Generator (SMG)

5. Demo: AMS Design & Model Validation (amsDmv)

6. Conclusions

Page 30: 4 Singapore Analog Behavioral Modeling

30 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• More functional verification is needed with increasing A/D interactions in designs

• Incisive enables plug-and-play mixed signal simulation using AMS Designer

• Real number modeling provides high design accuracy while increasing MS simulation speed dramatically

• Schematic Model Generator (SMG) enables analog engineers to graphically create behavioral models

• SystemVerilog users can write real number models today nettypes with built-in resolution functions or the Cadence RNM library

• Auto-inserted connect modules are powerful ways to help with AD ports automatically

• Automatic wire coercions enables plug-n-play model integration without recoding port connection types

Summary

Page 31: 4 Singapore Analog Behavioral Modeling

31 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• Real Number Modeling (workshop and examples) – <Incisive 12.2 path>/doc/kit_topics/dms/workshop/lab_manual

– <Incisive 12.2 path>/tools/amsd/wrealSamples/wrealModels

• SMG (examples, model schematics and models) – <IC 6.1.5 path>/tools/dfII/samples/smg/smgAmsExample.tar.Z

• AMS Designer using AIUM (26 examples) – < Incisive 12.2 path>/tools/amsd/samples/aium

• UVM for Mixed Signal (overview, appnote, labs) – <Incisive 12.2 path>/doc/kit_topics/uvm_ms/

Demos/Workshops/Examples

Page 32: 4 Singapore Analog Behavioral Modeling

32 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Page 33: 4 Singapore Analog Behavioral Modeling

33 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Page 34: 4 Singapore Analog Behavioral Modeling

34 © 2013 Cadence Design Systems, Inc. Cadence confidential.

• This is an example of a bullet slide – This is where all the second level information goes

– Here is another bullet point

• First level bullets are 24 point and use a bullet point – Second level bullets are 20 point and use a dash

– Use Cadence red when emphasizing words

– Try to keep bullets short and concise

Slide title should be sentence case (Arial 30pt) Subtitle should be sentence case (Arial 24pt)

Page 35: 4 Singapore Analog Behavioral Modeling

35 © 2013 Cadence Design Systems, Inc. Cadence confidential.

Segue slide Use sentence case, Arial 36pt

Page 36: 4 Singapore Analog Behavioral Modeling

Recommended