⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sconvert.1

📁 spice中支持多层次元件模型仿真的可单独运行的插件源码
💻 1
字号:
.\" RCS Info: $Revision: 1.4 $ on $Date: 86/01/07 06:12:35 $.\"           $Source: /cad4/faustus/spice/doc/RCS/sconvert.1,v $.\" Copyright (c) 1985 Wayne A. Christopher, U. C. Berkeley CAD Group.TH SCONVERT 1 "20 March 1986".UC 4.SH NAMEsconvert \- convert spice formats.SH SYNOPSIS.B sconvert fromtype fromfile totype tofile.br.B sconvert fromtype totype.br.B sconvert.br.SH DESCRIPTION.B Sconverttranslates spice output files among three formats: the oldbinary format, a new binary format, and a new ascii format.The formats are specified by the.B fromtypeand.B totypearguments: `o' for the old format, `b' for the new binary format,and `a' for the new ascii format..B Fromtypespecifies the format to be read, and.B totypespecifies the format to be written.If .B fromfileand .B tofileare given, then they are used as the input and output, otherwisestandard input and output are used.  (Note that this second option isonly available on \s-2UNIX\s+2 systems \- on VMS and other systems you mustsupply the filenames.)If no arguments are given, the parameters are prompted for..PPBinary format is the preferred format for general use, as it isthe most economical in terms of space and speed of access, and ascii isprovided to make it easy to modify data files and transfer thembetween machines with different floating-point formats.The old format is provided onlyfor backward compatibility. The three formats are as follows:.br.nf.B Old:	    What		   Size in Bytes	title				80	date				8	time				8	numoutputs			2	the integer 4			2	variable names --		char[numoutputs][8]	numoutputs * 8	types of output			numoutputs * 2	node index			numoutputs * 2	plot title			numoutputs * 24	the actual data			numpoints * numoutputs * 8.B Ascii:	Title: \fITitle Card String\fR	Date: \fIDate\fR	[ Plotname: \fIPlot Name\fR	  Flags: \fIcomplex\fR or \fIreal\fR	  No. Variables: \fInumoutputs\fR 	  No. Points: \fInumpoints\fR	  Command: \fInutmeg command\fR	  Variables:	0 \fIvarname1\fR \fItypename1\fR			1 \fIvarname2\fR \fItypename2\fR			etc...	  Values:	    0	n	n	n	n	...	    1	n	n	n	n	...	    And so forth...	] repeated one or more times.PPIf one of the flags is \fIcomplex\fR, the points look like r,i where r and iare floating point (in %e format). Otherwise they are in %e format. Only one of \fIreal\fR and \fIcomplex\fR should appear..PPThe lines are guaranteed to be less than 80 columns wide (unless the plot title or variable names are very long), so this format is safeto mail between systems like CMS..PPAny number of \fBCommand:\fR lines may appear between the \fBNo. Points:\fRand the \fBVariables:\fR lines, and whenever the plot is loaded into\fBnutmeg\fR they will be executed..nf.B Binary:	\fITitle Card\fR		  (a NULL terminated string)	\fIDate, Time\fR		  (a NULL terminated string)	[ 	  \fIPlot title\fR 		  (a NULL terminated string)	  \fINumber of variables\fR   (an int)	  \fINumber of data points\fR (an int)	  \fIflags\fR		  (a short)	  \fIvariable header struct\fR (repeated numoutputs times)		\fIvariable name\fR	  (a NULL terminated string)		\fIvariable type\fR	  (an int)	  \fIset of outputs\fR	  (repeated numpoints times) 	] repeated one or more times..PPA set of outputs is a vector of doubles of length numoutputs, ora vector of real-imaginary pairs of doubles if the data is complex..SH "SEE ALSO"nutmeg(1), spice(1), writedata(3).SH AUTHORWayne Christopher (faustus@cad.berkeley.edu).SH BUGSIf variable names and the title and plotname strings have trailingblanks in them they will be stripped off when the file is read, ifit is in ascii format..PPIf a plot title begins with "Title:" \fBnutmeg\fR will be fooled into thinkingthat this is an ascii format file. \fBSconvert\fR always requires thetype to be specified, however.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -