Xpedition Enterprise Converting a PSpice Library

2023-07-28T17:01:05.000-0400
Analysis and Simulation

Summary

Converting a PSpice Library


Details

Converting a PSpice Library

To use PSpice models in Xpedition AMS, you need to convert them into a compatible format. Here's a step-by-step procedure for converting a PSpice library:

Prerequisites:

  • You have read access to an existing library file containing PSpice models (with the .lib extension).
  • You have write access to a location where you can save the converted SPICE library (default is the current project location).

Procedure for a complete library:

  1. Go to the Simulation > Convert > PSpice to Spice Libraries menu item. The PSpice to Xpedition AMS Library Converter Wizard opens.
  2. Click the browse button next to the PSpice Library field and navigate to the PSpice library file you want to convert, for example: C:/Projects/Libraries/PSpiceLibraries/bjt_npn.lib. This automatically populates the Xpedition AMS Library field with the name of the converted library file, prefixed with "sv_". For example:sv_bjt_npn.lib
  3. (Optional) Use the dropdown list next to the Location field to choose where you want to save the converted library:
    • Project Folder (default)
    • Pathname to Shared Library location (specified in WDIR location)
  4. Click Next to begin the conversion process. The second page of the wizard, displaying the conversion status, appears.
  5. Note the information shown in the Status pane.
    • If there are no errors, select Use Generated Library and click Finish. This saves the converted SPICE library file with the "sv_" prefix added to the original PSpice library name (e.g., diode.lib becomes sv_diode.lib).
    • If there are errors, you can choose one of the following options:
      • Fix the errors in the library and run the conversion again.
      • Take note of the errors in the Status pane
      • Click Cancel
      • Correct the errors in the PSpice library
      • Run the PSpice converter again

Procedure for an individual model:

  1. Select Convert Selected Model
  2. Click the dropdown list and choose a model name from the library you want to convert.
  3. Click Next to proceed, displaying the wizard page shown in Figure 3.
  4. Note the information shown in the Status pane.
  5. (Optional) If there are no errors, take note of the converted model name in the Xpedition AMS Model File field (prefixed with "sv_" followed by the PSpice model name). You can modify this name if needed
  6. Click Finish to complete the conversion process.

KB Article ID# KB000112416_EN_US

Contents

SummaryDetails

Associated Components

Xpedition AMS