PSpice User Guide

PSpice User Guide

Issue link: https://resources.pcb.cadence.com/i/1180526

Contents of this Issue

Navigation

Page 245 of 884

PSpice User Guide Creating and editing models October 2019 246 Product Version 17.4-2019 © 1999-2019 All Rights Reserved. How PSpice uses model libraries PSpice searches libraries for any information it needs to complete the definition of a part or to run a simulation. If an up-to-date index does not already exist, PSpice automatically generates an index file and uses the index to access only the model definitions relevant to the simulation. This means: ■ Disk space is not used up with definitions that your design does not use. ■ There is no memory penalty for having large model libraries. ■ Loading time is kept to a minimum. Tip If you refer to a library file from a location where you do not have write permissions, PSpice might not be able to open or make an index file. To resolve this create a .lib file at a location you have permissions and include the original file in this .lib file, then add this file to the Configuration Files tab of the Simulation Settings dialog box. For example, if you use a file original.lib located at \\server\Cadence\lib and do not have permissions on \\server\Cadence\lib: a. Create a file, say my.lib, at a location where you have permission b. Edit my.lib to include the line: .lib \\server\Cadence\lib\original.lib c. Add the location of my.lib in the Configuration Files tab of Simulation Settings dialog box. Caution—When you use include files instead PSpice treats model library and include files differently as follows: ■ For model library files, PSpice reads in only the definitions it needs to run the current simulation. ■ For include files, PSpice reads in the file in its entirety.

Articles in this issue

view archives of PSpice User Guide - PSpice User Guide