Combining Files. .include lines

<< Click to Display Table of Contents >>

Navigation:  Circuit Simulation > The Spice Reference Manual > Circuit Description >

Combining Files. .include lines

General form:

.INCLUDE filename

Examples:

.INCLUDE /users/spice Simulation Program for Integrated Circuit Emulation./common/wattmeter.cir

Frequently, portions of circuit descriptions will be reused in several input files, particularly with common models and sub-circuits. In any spice input file, the ".include" line may be used to copy some other file as if that second file appeared in place of the ".include" line in the original file. There is no restriction on the file name imposed by spice beyond those imposed by the local operating system.