Current Sources

Spice Syntax

IYYYYYYY N+ N- <<DC <DC/TRAN Value>> <AC <AC Mag <AC Phase>>>

 

Additional Information

More details can be found in the HyperSpice chapter in Extended Definitions for Advanced Users.

Examples


ISRC 1 0 1m 

N+ and N- are the positive and negative nodes, respectively. Positive current is assumed to flow from the positive node, through the source, to the negative node. A current source of positive value forces current to flow out of the N+ node, through the source, and into the N- node.

DC/TRAN is the dc and transient analysis value of the source. If the source value is zero both for dc and transient analyses, this value may be omitted. If the source value is time-invariant (e.g., a power supply), then the value may optionally be preceded by the letters DC.

ACMAG is the ac magnitude and ACPHASE is the ac phase. The source is set to this value in the ac analysis.

If ACMAG is omitted following the keyword AC, a value of unity is assumed.

If ACPHASE is omitted, a value of zero is assumed. If the source is not an ac small-signal input, the keyword AC and the AC values are omitted.