next up previous contents index
Next: .title Line Up: Title, Comments, Job Separation, Previous: Title Line   Contents   Index


Comments

General Form:
*any comment
any_spice_text \ $ this text is ignored
Examples:
* rf=1k gain should be 100
*beginning of amplifier description
r1 1 0 100 \ $ this is a comment

In the circuit description, an asterisk (`*') as the first non-white space character indicates that this line is a comment line. Comments may be placed anywhere in the circuit description. Also, there is provision for adding comments to the end of a line.

Comment lines which begin with `*@' and `*#' in the circuit description are special: they are taken as executable statements as if included in .exec or .control blocks, respectively (see 2.10.1).

Comments at the end of a line may be added as follows:

In addition, for compatibility with other simulators, the dollarcmt variable can be set. When set, any `$' or `;' character preceded by start of line, white space, or a comma, will be taken as the start of a comment.

In .exec and .control blocks, comments are indicated for lines with the first non-whitespace character being `#', for compatibility with the shell. In Verilog blocks, The C++ commenting style (``//'' for single line comments and ``/* ... */'' for multi-line comments) is recognized.


next up previous contents index
Next: .title Line Up: Title, Comments, Job Separation, Previous: Title Line   Contents   Index
Stephen R. Whiteley 2017-03-28