The Spectre language is the default language for the file. You must always make the first line of the file as a comment, with slashes at the beginning. Because the simulator uses Spectre lookup rules for both kinds of control statements, it is sensitive to the case of subcircuit, instance, port, node, and vector names.
Stand-alone Spectre always assumes the first line of the top-level netlist to be a comment line, whereas AMS does not do so. Therefore, you must explicitly mark the first line of the SPICE file as a comment. Otherwise, it will result in an error.
For example, consider the following analog simulation control file contents. Notice that the first line is a comment, with slashes at the beginning. You might use the first line to label your control file. The Spectre-language statements that follow specify the data format and the stop time to use.
//Control File 3c
saveNodes options rawfmt=sst2
timeDom tran stop=5n
Related Topics
- Controls for the Analog Solvers
- Switching Languages in the Analog Simulation Control File
- Passing the Analog Simulation Control File to xrun
- Passing the Analog Simulation Control File to xmsim
