next up previous contents
Next: Interfaces to other simulators Up: Extensions of SPICE3 Previous: New options

importing x-y files during simulation

In the past, it was possible to import x-y data by using picewise linear voltage or current sources. Unfortunately, the length of such a data set was limited to 1000 .. 5000 points depending on the speed of the employed computer. Now , the SPICE3 kernel has been extended.   It is possible to import x-y data by telling SPICE3 where to read the data . The syntax is as follows:


V0 1 0 DC 1 AC 1 filepwl filename=
<filename>

Such a netlist entry is generated after filling in the 'filename' entry of a piecewise linear voltage source.   When using HSPICE as simulator engine, the contents of the file containing the x-y data is written into the netlist instead.



Martin Maschmann
1999-10-10