• Analog Custom Design & Analysis Examples

cor_ex01 : Retargeting a Model Card

Requires: Utmost IV, SmartSpice, SmartView

Minimum Versions: Utmost IV 2.19.2.R, SmartSpice 5.2.0.R, SmartView 2.2207.0.R

This example shows how to use the Utmost IV Corner and Retargeting module to generate an updated (retargeted) model for an existing MOSFET SPICE base (or nominal) model card. This is needed when the process changes slightly. In such a case, instead of a complete and costly model re-extraction, based on a full set of characteristics, one can just retune a few model parameters, based on a limited set of key targets. This operation is called "retargeting a model".

The project file cor_ex01.prj for this example should be loaded into your Utmost IV Corner and Retargeting module. The corner module uses Electrical Table (ET) data. The measured data is already included in the project, as shown in the cor_ex01_01.png .

Each row in the table represents a specific device, with a particular set of attribute values. The columns can be either attributes (the first 2 columns, in this example) or targets. The data used in this example includes two attributes, W and L, and three targets, Vth_cc, Idlin and Idsat.

The targets are specific measurements (extractions) performed on the devices. One can examine and edit the target definitions by selecting the Setup->Target Setups menu item, as shown in cor_ex01_02.png . Each target must have the following components:

  • Name: the name of the target
  • Temperature: the temperature at which the target is measured
  • Setup: the measurement setup used to generating device characteristics at the given temperature
  • Extraction: the extraction performed on the device characteristics
  • Pre Extract: indicates whether or not a preliminary extraction is needed in order to measure the target.

If a preliminary extraction is not required, the last 4 columns are empty. If a preliminary extraction is needed, the last 4 columns will contain:

  • PE Temperature: the temperature at which the preliminary extraction is performed
  • PE Setup: the measurement setup used to generating device characteristics for the preliminary extraction
  • PE Extraction: the preliminary extraction
  • PE Variable: the variable name to store the result of the preliminary extraction

The measurement setups can be examined by selecting the Setup->Measurement Setups menu item, which opens the Measurement Setup Manager, as shown in cor_ex01_03.png .

One can select a measurement setup and click the "Edit" button to examine and edit its contents as illustrated in cor_ex01_04.png . The values used in the measurement setups may depend on project variables. In this example one can notice the usage of the "Vdd" variable in the Vd sweep and in the constant value of Vg.

The extraction definitions can be examined by selecting the Setup->Extractions menu item, which opens the "Extractions" Dialog, as shown in cor_ex01_05.png . The extractions may depend on device attributes and/or on project variables. For example, the Vth_cc extraction is described by an expression that depends on the "L" and "W" attributes and on the "XL" and "XW" variables. The project variables can be examined by selecting the Setup->Variables menu item, which opens the "Variables" Dialog, as shown in cor_ex01_06.png .

The target definitions in the project, including their measurement setups, extractions and variables, must be the same as the ones that have been used when acquiring the data in the data table.

The data table has four views, which can be selected by using the Select View widget, as follows:

  • Values: the data values to match
  • Simulations: the simulated values (empty until a simulation is performed)
  • Errors: the differences between data and simulated values (empty until a simulation is performed)
  • Settings: the type and the values of the two warning levels for each target in the table (the error specifications)

In order to perform the simulations, a device netlist is needed. The netlist can be examined by selecting the Setup->Netlist menu item, which opens the "Netlist" Dialog, as shown in cor_ex01_07.png The device netlist uses the device attributes and the base model card, in this case a compact MOSFET model called 'nmos'. The base model card can be exmined by selecting the Setup->Model Library menu item will open up the model library window as show in cor_ex01_08.png .

Data tables are available for one or more corners. Switching from one corner to another can be done through the Select Corner widget. The Corner menu contains items such as adding, renaming, deleting corners, setting the typical corner and also for editing the structure of the data table. In any corner project one corner must be set as the typical corner. This example uses only one corner, called "Typ", so this is set as the typical corner by default.

In addition to the table view, the data and the simulated values can be examined using trend plots. This is done by selecting the Corner->Plot menu item, which will display the plots in the viewer, as shown in cor_ex01_09.png . For this example the plots are shown versus the L attribute, using logarithmic scales for the X and Y axes. If needed the plot setup can be changed by selecting the Setup->Plot Setup menu item, which opens the "Plot Setup" Dialog, as shown in cor_ex01_10.png

At this point, by pressing the "Simulate" button in the viewer, a simulation can be performed which will compare the measured and simulated data as shown in cor_ex01_11.png . This also updates the simulated and the error values in the table, as shown in cor_ex01_12.png . The cells in the Errors table are shown in different colors, depending on their value:

  • Red: the error is larger than the Warning Level 2 value
  • Yellow: the error is larger than the Warning Level 1 value, but lower than the Warning Level 2 value
  • White: the error is lower than the Warning Level 1 value

The retargeting (retuning) of the base model is done by opening the Rubberband from the viewer: cor_ex01_13.png . The selected parameters are VTH0 and U0. Pressing the "Optimize button will start the optimization. At the end of it, the Log view displays the initial and final values of the optimized parameters and of the global error value. The values in the Errors table are shown in white, which indicates that the resulting model fully meets the specifications: cor_ex01_14.png . The plots also illustrate the good fitting of the retargeted model: cor_ex01_15.png . The final parameter values can be saved by pressing the "OK" button in the Rubberband dialog. The values can be further examined in the Corner Parameters tab, as shown in cor_ex01_16.png . Furthermore, a new model library can be written by selecting the Corner->Write to Library menu item, which opens the "Write Library File" Dialog, as shown in cor_ex01_17.png . One can then specify a file name and an optional prefix for the updated model parameters.

The contents of the saved library file is show in cor_ex01.lib. The updated parameter values are saved under a library with the same name as the project corner's name ("Typ" in this example). The U0 and VTH0 parameters in the model card are referring the netlist parameters defined in the corner library.

Files
Graphics
Copyright © 1984 - Silvaco, Inc. All Rights Reserved. | Privacy Policy