spice - CPP
1ECE 220introduction tospicesource filesECE 220 - Electronic Devices and CircuitsPhyllis R. 2The Input (*.cir) FileInpspice, this file must be named<filename>.cir. The source file for any version ofspicehas the following STATEMENTSANALYSIS COMMANDSOUTPUT points: The first line of this file is used as a title on output files. It isnot included in the circuitdescription. A common and frustrating error is caused by omitting the title. The file must end with the by a newline. Comment entire lines by beginning them with * or the rest of aline by using a ; Continue a statement on a new line with + ECE 220 - Electronic Devices and CircuitsPhyllis R. 3The Circuit DescriptionA circuit description inspice, which is frequently called anetlist, consists of a statementdefining each circuit are described by naming nodes. (The usual namesare actually numbers.) Onenode name has a defined 0 is ground!The format of an element description is<letter> <name> <n1> <n2>.
220-spice-notes.tex Page 5 Passive Elements The <letter>that begins an element instance denotes the circuit element.The passive elements are Ror rfor resistors, Lor lfor inductors, and Cor cfor capacitors. This <letter>is followed by a unique instance name and then (in order) the nodes associated with + and - voltage and the value of the associated parameter (R, L, or C).
Download spice - CPP
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: