Compact Device Modeling Using Velilog-A and ADMS

40 downloads 0 Views 618KB Size Report
data. Code Generator Other applications. Documentation,. Circuit Test Benches. Testing prior implementation. ADMS Model Generator. C code. Mica, Spectre,.
Compact Device Modeling Using Velilog-A and ADMS Laurent Lemaitre, Colin Mc Andrew, Wladek Grabinski [email protected] Motorola, Geneva Modeling Center 207 route de Ferney CH-1218 Le Grand Saconnex

MIXDES’2001 Motorola Document Classification, Rev 2002.06#1 Motorola, the Stylized M, and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. All rights reserved.

Compact Device Modeling Using Velilog-A and ADMS Outline: Developments of the Compact Models Device Model Implementation Today ADMS - Device Model Generator Overview of the Device Model Generator Example of Model Generation Implementation of EKV 2.6 in ADS Current Status - Availability Conclusion

MIXDES’2001 Motorola Document Classification, Rev 2002.06#2 Motorola, the Stylized M, and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. All rights reserved.

Developments of the Compact Models 1000 BSIM4 BSIM3v2 No. of Model Parameters

BSIM3v3 HSP28

100

BSIM2

HiSIM BSIM3v3

BSIM

BSIM3v2 MM11 BSIM2 PCIM SP HSP28 EKV3 BSIM3v1 MM9 BSIM EKV v2.6

LEVEL2 10

LEVEL3 LEVEL1 Including L,W,P scaling Without scaling

1 1960



1970

1980

Years

1990

2000

2010

Number of DC model parameters vs. year of the model introduction – –

Significant growth of the parameter number that includes geometry (W/L) scaling Most recent versions of the EKV, HiSIM, MM, PCIM and SP models are included MIXDES’2001 Motorola Document Classification, Rev 2002.06#3 Motorola, the Stylized M, and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. All rights reserved.

What is a Device Model? PROGRAMMER: Electrical Circuit Simulator Spectre, ADS, Mica ... Model c-code

DESIGNER:

ADMS or Manually DEVICE MODELING ENGINEER: Built-in Device Model Equations VBIC, EKV, SP, MOSCAP, R3, .. MIXDES’2001 Motorola Document Classification, Rev 2002.06#4 Motorola, the Stylized M, and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. All rights reserved.

Spice netlists + Process libraries (model parameters)

Simulation Results

Model Implementation Today Device Modeling Engineer: provides equations of new model to programmer. No standard.

Programmer: hand-codes the model in source code of the electrical circuit simulator (most of the time the language is C). No standard.

• C code must comply with the Simulator Programming Interface. Much coding needs to be done again for each simulator. • C code involves the manual computation and coding of partial derivatives. This process is tedious and error-prone. • Feedback to the Device Modeling Engineer is made difficult. C-code is hard to read. • The process is a barrier to model maintenance and enhancement. MIXDES’2001 Motorola Document Classification, Rev 2002.06#5 Motorola, the Stylized M, and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. All rights reserved.

ADMS Approach • •

ADMS is a Code Generator from a high-level language to ready-tocompile C code for simulators ADMS uses Verilog-AMS as a description language for device models. Verilog-AMS is a behavioral description language for mixedsignal electrical circuits. • •



Verilog-AMS code easy to read - no extra code specific to simulators. Model can be easily and completely tested prior implementation!

ADMS uses a subset of XML as an intermediate language between Verilog-AMS and Simulator Programming Interfaces. •

Simplifies development of new features of ADMS and support of multiple simulators

MIXDES’2001 Motorola Document Classification, Rev 2002.06#6 Motorola, the Stylized M, and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. All rights reserved.

ADMS Model Generator STANDARD 2: SIMULATOR LEVEL

STANDARD 1: MODEL LEVEL

Parsing Verilog-AMS Model Code

XML Internal data

DTD based validation

Code Generator Other applications

Testing prior implementation

C code Mica, Spectre, Hsim, ADS, …

Documentation, Circuit Test Benches

MIXDES’2001 Motorola Document Classification, Rev 2002.06#7 Motorola, the Stylized M, and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. All rights reserved.

Example – Symbolic View Bipolar Device Model Collector

Base

Emitter

• Branch assignment in the HBT model MIXDES’2001 Motorola Document Classification, Rev 2002.06#8 Motorola, the Stylized M, and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. All rights reserved.

Example – Verilog-AMS ‘ define NPN +1 ‘ define PNP –1 module BIP (c,b,e); // Nodes input c,b; // input nodes output e;// output nodes electrical c,b,e; // all electrical // Branches branch (b,c) bc; branch (c,e) ce; branch (e,c) ec; branch (b,e) be;

MIXDES’2001 Motorola Document Classification, Rev 2002.06#9 Motorola, the Stylized M, and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. All rights reserved.

Example – Verilog-AMS (cont.) // Parameters parameter real parameter real parameter real parameter real parameter real parameter integer // Variables real Tdev, Vtv; real Ifi, Ibf; real Iri, Ibr; real argf,expf;

is bf br nf nr type

= 1.0e-16; = 100; = 1; = 1.0; = 1.0; = ‘ NPN;

MIXDES’2001 Motorola Document Classification, Rev 2002.06#10 Motorola, the Stylized M, and all other trademarks indicated as such herein are trademarks of Motorola, Inc. ® Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. All rights reserved.

Example – Verilog-AMS (cont.) analog begin // Analog section Tdev = $temperature; Vtv = 1.380662e-23 * Tdev / 1.602189e-19; if ( type == ‘ NPN ) begin argf = V(be) / ( nf * Vtv ); end else if ( type == ‘ PNP ) begin ... expf = exp(argf); Ifi = is *(expf-1.0); Ibf = Ifi/bf; begin I(ce)

Suggest Documents