next up previous contents index
Next: Numeric Values Up: Input Format Previous: Input Format   Contents   Index


Case Sensitivity

In WRspice, case sensitivity of various object names and strings is under program control. Historically the following have all been case sensitive in WRspice:

Function names.
User-defined function names.
Vector names.
.PARAM names.
Codeblock names.
Node and device names.

By default, starting in release 3.2.4, function names and user-defined function names are case-insensitive. Starting in release 3.2.15, parameter names are case-insensitive. The remaining categories remain case-sensitive.

Other SPICE programs may have different case-sensitivity rules, in partiular many of these name categories are case insensitive. To provide better portability of input files, each of the categories above can be set case-insensitive in WRspice.

Case sensitivity must be extablished at program startup and can not be changed during operation. There are two ways to accomplish this:

  1. The ``-c'' command line option.
  2. The setcase command called in a startup file.

Model names and parameter keywords are case-insensitive, however, unlike other SPICE programs, node names in WRspice are case sensitive by default. One should consider this when importing old SPICE files that use textual node names.


next up previous contents index
Next: Numeric Values Up: Input Format Previous: Input Format   Contents   Index
Stephen R. Whiteley 2011-11-15