Opens a SPICE 3 format ASCII raw file.
OpenRawFile [/purge] [/bufsize buffer_size] [/spice2] rawfile [datafile]
/bufsize |
Specifies the percentage proportion of installed RAM that is used for buffering the data. See Notes below for more details. Default value is 10 (%). |
/csdf |
If specified, the datafile is assumed to be in CSDF format. |
/purge |
If specified, the loaded data group will be treated like a normal simulation group and will be automatically deleted after three runs. Otherwise it will not be deleted unless the user does so explicitly - e.g. by using the menu. |
/spice2 |
If specified, datafile is assumed to be in SPICE format. This is an unsupported option. |
rawfile |
Raw file to open. |
datafile |
SIMetrix data file to which data is written - see Notes. If omitted, a file will be created in the temporary data directory as specified by the TempDataDir option setting. |
The command reads the raw file and writes the data out to a SIMetrix native data file. It then loads the SIMetrix native data file as if it were created by a SIMetrix simulation. The SIMetrix data file format is more efficient that the raw file format as it stores the data for each vector in large contiguous blocks. The raw file format stores data on a per simulation point basis which leaves the data for multiple vectors interleaved. This arrangement makes data recovery for a single vector slow. To perform the reformatting, the command needs to buffer the rawfile data in RAM while writing the data out to the SIMetrix data file. The amount of RAM space allowed for this controls the size of the contiguous blocks in the SIMetrix data file. The larger these blocks are, the faster the read in time for each vector. This is the same issue that affects the simulator and which is explained in Simulator Reference Manual/Runing the Simulator/Configuration Settings . Here RAM used for this can be controlled by the /bufsize switch value. Note that the RAM is only needed while this command is being executed. Note that the data file generated by this command can be reloaded at a later time using the OpenGroup command (or menu ). By specifying the datafile argument you can choose the name and location of this file which can be useful for archival purposes.
▲ Command Summary ▲ | ||
◄ OpenPrinter | OpenSchem ▶ |