Spectre

We give in this appendix some basic elements of Spectre syntax.

Note

spectre -h <name>

Displays help information for the specified keyword <name>

Example: spectre -h sweep

Elements of syntax

General remarks:

  • Comments are indicated by a double slash (//)

  • Spectre is case sensitive

Names of components, nodes, instances, parameters:

  • Do not use the name of an analysis or a primitive

  • Component name must start with a letter, nodes can be represented by integers

Component instance

A component instance in the has the following general form:

Name given to the component

Connected Nodes

Model or primitive

Parameter(s) Value(s)

R1

(b1 0)

resistor

r=10k

Some common primitives

  • capacitor capacitor model

  • inductor inductor model

  • resistor resistor model

  • isource independant current source

  • vsource independant voltage source

Analysis commands

The general form for an analysis command is as follows:

Analysis name

Nodes (optional)

Type of analysis

Parameters

myResponse

tran

stop=2us