PSpice User Guide

PSpice User Guide

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

Contents of this Issue

Navigation

Page 448 of 896

PSpice A/D User Guide Setting up analyses and starting simulation October 2019 449 Product Version 17.4-2019 © 2022 All Rights Reserved. references the subcircuit (child) schematic so they match the properties you defined in Step 5. To set up parameter passing to a subcircuit using VHDL_DECS 1. Make the subcircuit your active schematic page in Design Entry HDL. 2. From the Component menu, choose Add. The Component Browser dialog box appears. 3. From the Library drop-down, select the STANDARD library. 4. From the Cells list, select the VHDL_DECS part and place it on the subcircuit. 5. From the Text menu, choose Attributes. 6. Click on the VHDL_DECS part to display the Attributes dialog box. 7. In the Attributes dialog box, define the names and default values for the properties that can be changed on an instance-by-instance basis. For example, to declare a parameter RFEEDBACK with the default value 1, do the following: a. In the Name text box, type RFEEDBACK b. In the Value text box, type 1\PARAM 8. In the top-level schematic, use the Attributes dialog box to edit the properties of the hierarchical part or block that references the subcircuit (child) schematic so they match the properties you defined in Step 7. Taking the example given in step 7, edit the properties of a block in the top-level schematic that references the subcircuit as below: a. In the Name text box, type RFEEDBACK b. To pass a parameter value 10 to the subcircuit, in the Value text box, type 10\PARAM Any part in the subcircuit (child) schematic can reference the properties in its PSPICETEMPLATE. For example, in Design Entry HDL, if you want to pass the value of parameter RFEEDBACK from

Articles in this issue

view archives of PSpice User Guide - PSpice User Guide