![]() When used in an algebraic expression they work like they would in C, returning values of 0 orġ. The relational operations '', '>=', '' are available. Meanings: if it is present in the argument list of a user-definable function, x^2 is interpreted as (-x)^2, butĠ-x^2 is interpreted as -(x^2). '%' is the modulo operator, '^' is the power operator. TheyĬan also be created with the let command.Īn expression is an algebraic formula involving vectors and scalars (a scalar is a vector of ![]() Vectors are normally created when the simulator performs anĪnalysis, or a data file is read in (see the load command below). Each vector has a type, and vectors can be operated on and combined in algebraic Spice (the simulator) and Nutmeg (the front-end) data is in the form of vectors: time, voltage,Įtc. The case, Spice-only commands have been marked with an asterisk in the list below.ĥ.1 EXPRESSIONS, FUNCTIONS, AND CONSTANTS Interactive Spice 3 front-end were available in Nutmeg where this was not The front-end could be compiled separately and run as an independent program One file may contain any number of data sets from different analyses.īerkeley Spice 3 comprised a simulator and a front-end for data analysis and If the file is in binary format, it may be only partially completed (useful for examining Spice2 output before the simulation is finished). The output of Spice 3 is also much less verbose than Spice2, in that the only data printed is that requested by the above control lines.įor Nutmeg, further arguments are taken to be data files in binary or ascii format (see sconvert(1)) which are loaded into Nutmeg. PLOT control line have different ranges they are not provide as much information as they would in Spice2. Since Spice 3 ascii plots do not use multiple ranges, however, if vectors together on a. WIDTH control line, the effect is the same as set width =. Spice 3 accepts most Spice2 input file, and output ascii plots, Fourier analyses, and node printouts as specified in. This option is valid for Spice 3 only.įurther arguments to Spice are taken to be Spice 3 input files, which are read and saved (if running in batch mode then they are run immediately). Use rawfile as the default file into which the results of the simulation are saved. Command completion is not available unless the standard input is a terminal, however. This is useful if the standard input is not a terminal but interactive mode is desired. This is like batch mode, except that a temporary rawfile is used and then written to the standard output, preceded by a line with a single after the simulation is done. using the IO redirection notation of "<") Spice 3 defaults to batch mode (-i overrides). Note that if the input source is not a terminal ( e.g. keyboard) or reads the given input file and performs the analyses specified output is either Spice2-like line-printer plots ("ascii plots") or a Spice rawfile. Spice 3 reads the default input source ( e.g. The program is being run on a terminal with mfb name term. It is not found then in the user's home directory. Spice and Nutmeg try to find the file in the current directory, and if Nutmeg only.ĭon't try to source the file ".spiceinit" upon startup. Nutmeg ĭon't try to load the default data file ("rawspice.raw") if no other files are given. ![]() See the appropriate documentation onĬommand Synopsis Spice Using X on a workstation, the DISPLAY variable should already be set if you want toĭisplay graphics on a system different from the one you are running Spice 3 or Nutmeg on,ĭISPLAY should be of the form " machine:0.0". Otherwise, a graphics-terminal independent interface (MFB) is used. Spice and Nutmeg use the X Window System for plotting if they find the environment variableĭISPLAY. Standard output, which may also be produced by Spice 3 with the "-b" command line option. Note that the raw output file is different from the data that Spice2 writes to the In nutmeg where this is not the case, Spice-only commands have been marked with an asterisk Most of the commands available in the interactive Spice 3 front end are available Interactive Spice 3 can plot data from a simulation on a graphics terminal or a workstationĭisplay. Write command in an interactive Spice 3 session. Nutmeg will read in the "raw" data output file created by Spice -r or with the Theįront-end may be run as a separate "stand-alone" program under the name Nutmeg. Spice 3 consists of a simulator and a front-end for data analysis and plotting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |