This page of the Libraries dialog provides access to Spice Model libraries, allowing you to view and edit their contents. This is used for the Pulsonix Sim option and is only displayed if you have this option feature on your license.
How to Use This Dialog
Definitions
A Spice Folder should contain only .lib and .cir files. Those files are the Spice Models mentioned later on. Each Spice Model can contain multiple models.
Any Spice Models that are set on the Folders page as ‘Disabled’ will not appear in the drop-down list. The list will only include ‘Enabled’ Spice Models.
Model Folder
Displays the current selected Spice folder. The drop-down list will include all the folders you specify on the Spice Folders Page.
Contents
The Contents area of the dialog shows all the Spice Models contained in the selected Spice Folder (or Folders).
View model by type
Each model in a Spice Model has its own type. Use this button to view all the model types in the Spice Folder. If the selected Spice Folder contains multiple Spice Models, then every model type from each Spice Model will be listed.
Subcircuit type its an additional model type to separate models from subcircuits, therefore if a model has subcircuit characteristics (.SUBCKT) then it will be listed under the subcircuit type, otherwise it will have its own model type.
View XSpice models
Use this button to view only the XSpice Models in the Spice Folder. XSpice Models have specific model types (i.e Time, Magnetic core, Potentiometer …).
Models
The Models area of the dialog will list the names of all the models in the selected Spice Model.
If View models by type and View XSpice models buttons are not checked, then in the model name, the model identifier will be included.
There are two identifiers:
{Model}
{Subcircuit} (models with subcircuit type)
Edit
The Edit button will open the selected Spice Model in your default text editor application as a text file.
Preview
The Preview section to the right of the dialog displays the selected Spice Model in text format. If you select a model name from the Models list, it will be highlighted in the preview.
Details
The Details section of the dialog varies based on the selected model name and Spice Model.
If the selected model name is a model (model name{ Model }):
Location
Location displays the location and name of the model file.
Model Name, Model Code, Model Type, Model Parameters
These fields are not editable and will be the parameters defined for the selected model.
Model Name
Model Code
Model Type
Model Parameters
Example:
.MODEL TRG50_XN LTRA(R=10m L=1u C=20p G=0 LEN=1)
Model Name TRG50_XN
Model Code d_dt (model code is associated with the model type).
Model Type LTRA.
Model Parameters R=10m L=1u C=20p G=0 LEN=1
If the selected Spice Model is not an XSpice Model, then more details about the model parameters will be displayed:
Parameter Name
These are non-editable fields and information only.
Value
Units
If the selected model is a Subcircuit (model name{ Subcircuit }):
Location
Location displays the location and name of the model file.
Model Name, Number of Ports
Model Name and Number of Ports are both non-editable fields and information only.
Models in the circuit
Models in the circuit - is a list of all the models defined in the circuit.
Subcircuits in the circuit
Subcircuits in the circuit is a list of all the subcircuits defined in the circuit.
Parts
This portion of the dialog enables you to easily view any parts that are associated with your selected model. Select a part from the Associated Parts list to view its preview and details.
Associated Parts
Associated Parts is a list of parts that have the Spice attribute with the selected model name as its value.
Preview tab
The Preview tab is a preview of the selected part.
Details tab
The Details tab displays the basic details for the part currently selected in the Associated Parts list. Details will only be shown when a single part is selected in the list.
Part details
Basic Part details are shown as information (Description, Part Family, Stem Name and Pins) for the Part footprint, none of these fields are editable.
Symbols
The Symbols list shows the schematic symbols used by the part. Where the part has more than one gate, the names of all the symbols used will be shown.
Attribute
Attribute is a drop-down list with the selected part attributes.
Value
Value is automatically filled with the attribute value.
Related Topics
Folders | Library Manager | Schematic Symbols | Parts Editor