PSpice User Guide

PSpice User Guide

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

Contents of this Issue

Navigation

Page 313 of 884

PSpice User Guide Creating parts for models October 2019 314 Product Version 17.4-2019 © 1999-2019 All Rights Reserved. Note: To include a literal % character in the netlist, type %% in the template. Caution Recommended scheme for netlist templates Templates for devices in the part library start with a PSpice device letter, followed by the hierarchical path, and then the reference designator (REFDES) property. We recommend that you adopt this scheme when defining your own netlist templates. Example: R^@REFDES ... for a resistor PSPICETEMPLATE examples Simple resistor (R) template The R part has: ■ two pins: 1 and 2 ■ two required properties: REFDES and VALUE Template R^@REFDES %1 %2 @VALUE Sample translation R_R23 abc def 1k where REFDES equals R23, VALUE equals 1k, and R is connected to nets abc and def. Voltage source with optional AC and DC specifications (VAC) template The VAC part has: ■ two properties: AC and DC ■ two pins: + and - Template

Articles in this issue

view archives of PSpice User Guide - PSpice User Guide