PSpice User Guide

PSpice User Guide

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

Contents of this Issue

Navigation

Page 189 of 884

PSpice User Guide Creating and editing models October 2019 190 Product Version 17.4-2019 © 1999-2019 All Rights Reserved. * FIRST ORDER RC STAGE .SUBCKT LIN/STG IN OUT AGND + PARAMS: C1VAL=1 C2VAL=1 R1VAL=1 R2VAL=1 + GAIN=10000 C1 IN N1 {C1VAL} C2 N1 OUT {C2VAL} R1 IN N1 {R1VAL} R2 N1 OUT {R2VAL} EAMP1 OUT AGND VALUE={V(AGND,N1)*GAIN} .ENDS To find out more about PSpice command and netlist syntax, refer to the online PSpice Reference Guide. How are models organized? The key concepts behind model organization are as follows: ■ Model definitions are saved in files called model libraries. ■ Model libraries must be configured so that PSpice searches them for definitions. ■ Depending on the configuration, model libraries are available either to a specific profile, to a specific design or to all (global) designs. For more information, see Global vs. design vs. profile models and libraries on page 191. Model libraries Device model and subcircuit definitions are organized into model libraries. Model libraries are text files that contain one or more model definitions. Typically, model library names have a .LIB extension. Most model libraries contain models of similar type. For vendor-supplied models, libraries are also partitioned by manufacturer. For example, MOTOR_RF.LIB contains models for Motorola-made RF bipolar transistors. To find out more about the models contained in a model library, read the comments in the file header. Note: You can use the PSpice Model Editor, or any standard text editor, to view model definitions in libraries.

Articles in this issue

view archives of PSpice User Guide - PSpice User Guide