PSpice User Guide

PSpice User Guide

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

Contents of this Issue

Navigation

Page 157 of 884

PSpice User Guide Preparing a design for simulation October 2019 158 Product Version 17.4-2019 © 1999-2019 All Rights Reserved. Global parameters A global parameter is like a programming variable that represents a numeric value by name. Once you have defined a parameter (declared its name and given it a value), you can use it to represent circuit values anywhere in the design; this applies to any hierarchical level. When multiple parts are set to the same value, global parameters provide a convenient way to change all of their values for "what-if" analyses. For example, if two independent sources have a value defined by the parameter VSUPPLY, then you can change both sources to 10 volts by assigning the value once to VSUPPLY. Some ways that you can use parameters are as follows: ■ Apply the same value to multiple part instances. ■ Set up an analysis that sweeps a variable through a range of values (for example, DC sweep or parametric analysis). Declaring and using a global parameter To use a global parameter in your design, you need to: ■ define the parameter using a PARAM part from the SPECIAL part library, and ■ use the parameter in place of a literal value somewhere in your design. To declare a global parameter in Capture 1. Place a PARAM part in your design. 2. Double-click the PARAM part to display the Parts spreadsheet, then click the New Column or New Row button. For more information about using the Parts spreadsheet, see the OrCAD Capture User Guide. 3. To avoid adding the new parameter to the selected filter for all parts, change the Filter by field to Current properties.

Articles in this issue

view archives of PSpice User Guide - PSpice User Guide