Product Documentation
Spectre FX Circuit Simulator User Guide
Product Version 23.1, September 2023

.ic

.ic v(node1) = val1 [v(node2) = val2] ... [v(noden) = valn] subckt=subckt_name depth=depth_val

Description

Specifies the initial voltage condition for nodes. The Spectre FX simulator forces the node voltage to the specified voltage at time=0. A node name can be hierarchical and can contain wildcards. The statement can be embedded within the scope of a subcircuit. In this case, the initial condition is assigned to the nodes local to the subcircuit. If a conflict occurs between an embedded IC and a hierarchical IC, the embedded one is considered.

Arguments

Name Description

v(node)

Sets the initial voltage for a node. The node name can be hierarchical and can contain wildcards (for example, x?1.*.n*). In this case, the Spectre FX simulator assigns the initial condition to all the nodes that match the name.

subckt

Specifies the subcircuit name (by default, applies to the top level). If the statement is already used in a subcircuit definition, this parameter is ignored. Setting this parameter is equivalent to defining the statement within a subcircuit declaration.

depth

Specifies the depth in the circuit hierarchy to which a wildcard name applies. This parameter is available only when the * wildcard is used in the output variable. If set to 1, only the nodes at the current level are applied (the default value is infinity).

Example

.ic v(n1) = 0.5 v(n2) = 1.5 subckt=inv

Tells the Spectre FX simulator to initialize node n1 to 0.5 V and node n2 to 1.5 V for all instances of the subcircuit inv.


Return to top
 ⠀
X