PSpice User Guide

PSpice User Guide

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

Contents of this Issue

Navigation

Page 311 of 884

PSpice User Guide Creating parts for models October 2019 312 Product Version 17.4-2019 © 1999-2019 All Rights Reserved. Property names in templates Property names are preceded by a special character as follows: [ @ | ? | ~ | # | & ] The schematic page editor processes the property according to the special character as shown in the following table. Separator characters include commas (,), periods (.), semicolons (;), forward slashes (/), and vertical bars ( | ). You must always use the same character to specify an opening-closing pair of separators. Example: The template fragment ?G|G=@G||G=1000| uses the vertical bar as the separator between the if-then-else parts of this conditional clause. If G has a value, then this fragment translates to G=. Otherwise, this fragment translates to G=1000. Table 5-4 This syntax... 1 1. s is a separator character Is replaced with this... @ Value of . Error if no attribute or if no value assigned. & Value of if is defined. ?s...s Text between s...s separators if is defined. ?s...ss...s Text between the first s...s separators if is defined, else the second s...s clause. ~s...s Text between s...s separators if is undefined. ~ s...ss...s Text between the first s...s separators if is undefined, else the second s...s clause. #s...s Text between s...s separators if is defined, but delete rest of template if is undefined.

Articles in this issue

view archives of PSpice User Guide - PSpice User Guide