LTspice Library API
You can use an external schematic editor to generate your LTspice netlist. LTspice can read the netlist and do your simulation. This saves you time drawing the schematic in both applications.
To be compatible with most SPICE libraries, your SPICE syntax must satisfy the following requirements:
- Your part name must be one of the part names in the library.
- An "IC" typically maps to a sub-circuit. Therefore, you must use the standard SPICE "X" prefix for your reference designators.
- You need to have your SPICE netlister export the correct number of nodes that the corresponding libraries sub-circuit expects.
- Your node parameters must be in the correct calling sequence. Node names do not have to be the same.
- Typically you must include the corresponding library in your netlist.
XU1 0 /My/V5in /Vc LT1086-5 ; Node Sequence Specification <GND,VO,VI>
The link below gives you a quick summary of the LTspice installation and the library parts. You can use this to help satisfy the above requirements.blog comments powered by Disqus