PSpice User Guide

PSpice User Guide

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

Contents of this Issue

Navigation

Page 158 of 884

PSpice User Guide Preparing a design for simulation October 2019 159 Product Version 17.4-2019 © 1999-2019 All Rights Reserved. 4. Declare up to three global parameters by doing the following for each global parameter: a. Click New. b. In the Property Name text box, enter NAMEn, then click OK. This creates a new property for the PARAM part, NAMEn in the spreadsheet. c. Click in the cell below (to the right of) the NAMEn column (or row) and enter a default value for the parameter. d. While this cell is still selected, click Display. e. In the Display Format frame, select Name and Value, then click OK. Note: The system variables in Table 3-5 on page 168 have reserved parameter names. Do not use these parameter names when defining your own parameters. 5. Close the Parts spreadsheet. Example To declare the global parameter VSUPPLY that will set the value of an independent voltage source to 14 volts, place the PARAM part, and then create a new property named VSUPPLY with a value of 14v. To declare a global parameter in Design Entry HDL 1. Place a PARAM part in your design. 2. From the Text menu in Design Entry HDL, choose Attributes. 3. Click on the PARAM part to display the Attributes dialog box. For more information about using the Attributes dialog box, see the Design Entry HDL User Guide. 4. Declare up to three global parameters by doing the following for each global parameter: a. Click Add. b. In the Name text box, enter NAMEn.

Articles in this issue

view archives of PSpice User Guide - PSpice User Guide