The load command loads data from the files given.
load [filename ...]The files can be ASCII or binary rawfiles, or Common Simulation Data Format (CSDF) files. The rawfile format is the native format used in WRspice and Berkeley SPICE3. CSDF is one of the formats used by HSPICE, and post-processing tools such as Synopsys WaveView.
In HSPICE, ``.options csdf=1'' and ``.options post=csdf'' will produce CSDF files. These files can be loaded into WRspice for display and other purposes with the load command.
In WRspice rawfiles or CSDF files can be produced by the Save Plot button in plot windows, the write and run commands, and may be generated in batch mode.
If no argument is given, WRspice will attempt to load a file with a default name. The default name is the value of the rawfile variable if set, or the argument to the -r command line option if one was given, or ``rawspice.raw''.
The file data will be converted into internal plot structures containing vectors available for printing, plotting, and other manipulation just as if the analysis had been run. The last plot read becomes the current plot. Data files can also be loaded from the Load button in the Files menu of the Tool Control window. A name given without a path prefix is searched for in the source path (sourcepath variable).
The load command is internet aware, i.e., if a given filename has an ``http://'' or ``ftp://'' prefix, the file will be downloaded from the internet and loaded. The file is transferred as a temporary file, so if a permanent local copy is desired, the write command should be used to save file to disk.