📄 nutmeg.txt
字号:
TEXT: H are determined by the parameters given. In the secondTEXT: H form, the given values are used to form the vector.TEXT: HTEXT: The first form of this command is currently unimple-TEXT: H mented. Currently, in order to get any desired vectorTEXT: H one may use the Glet Hcommand with various functions suchTEXT: H as Gvector(), rnd(), Hand so on. GCompose His intended toTEXT: H be a more convenient method of constructing such vec-TEXT: H tors.TEXT: HTEXT: SEEALSO: NUTMEG:letSUBJECT: continueTITLE: continueTEXT: TEXT: Gcontinue H[ _n_u_m_b_e_r ]TEXT: H If there is a Gwhile, dowhile, Hor Gforeach Hblock enclos-TEXT: H ing this statement, control returns to the beginning ofTEXT: H that block. If there is no such enclosing block, anTEXT: H error results. If a _n_u_m_b_e_r is given, control is passedTEXT: H to the beginning of the _n_u_m_b_e_r'th enclosing block.TEXT: HTEXT: SEEALSO: NUTMEG:proglangSUBJECT: crossTITLE: crossTEXT: TEXT: Gcross H_v_e_c_n_a_m_e _n_u_m_b_e_r [ _s_o_u_r_c_e ] ...TEXT: H A new vector is constructed, with name _v_e_c_n_a_m_e andTEXT: H values consisting of the _n_u_m_b_e_r'th element of each ofTEXT: H the _s_o_u_r_c_e vectors. This is a rather awkward way toTEXT: H deal with multi-dimensional data - a more generalTEXT: H method is being developed.TEXT: HTEXT: SUBJECT: defineTITLE: defineTEXT: TEXT: Gdefine H_f_u_n_c_t_i_o_n(_a_r_g, ...) _e_x_p_r_e_s_s_i_o_nTEXT: H Define the macro with the name _f_u_n_c_t_i_o_n and argumentsTEXT: H _a_r_g, ... to be _e_x_p_r_e_s_s_i_o_n, which may involve the argu-TEXT: H ments. When the function is later used, the argumentsTEXT: H it is given are substituted for the formal argumentsTEXT: H when it is parsed. If _e_x_p_r_e_s_s_i_o_n is not present, anyTEXT: H definitions for _f_u_n_c_t_i_o_n are printed, and if there areTEXT: H no arguments to _d_e_f_i_n_e then all currently active defin-TEXT: H itions are printed. Note that you may have differentTEXT: H functions defined with the same name but different ari-TEXT: H ties. Some useful definitions (which are part of theTEXT: H default environment) are:TEXT: HTEXT: Gdefine maxH(x,y) (x > y) * x + (x <= y) * yTEXT: H Gdefine minH(x,y) (x < y) * x + (x >= y) * yTEXT: HTEXT: SEEALSO: NUTMEG:undefineSEEALSO: NUTMEG:expressionsSUBJECT: deftypeTITLE: deftypeTEXT: TEXT: Gdeftype v H_t_y_p_e_n_a_m_e [ _a_b_b_r_e_v ]TEXT: H orTEXT: HTEXT: Gdeftype p H_p_l_o_t_t_y_p_e [ _p_a_t_t_e_r_n ] ...TEXT: H This command is intended to make Gnutmeg Heasier to useTEXT: H with simulators other than SPICE3. It is only a tem-TEXT: H porary facility, however. The first form defines a newTEXT: H type for vectors. The _t_y_p_e_n_a_m_e may then be used as aTEXT: H vector type specification in a rawfile, and will beTEXT: H used for the Gdisplay Hcommand to indicate the type. IfTEXT: H an _a_b_b_r_e_v is given, values of that type can be namedTEXT: H _a_b_b_r_e_v(_s_o_m_e_t_h_i_n_g) where _s_o_m_e_t_h_i_n_g is the name given inTEXT: H the rawfile (and _s_o_m_e_t_h_i_n_g doesn't containTEXT: H parentheses). The second form defines a plot type.TEXT: H The (one word) name for a plot with any of the _p_a_t_t_e_r_nsTEXT: H present in its plot type name as given in the raw fileTEXT: H will be _p_l_o_t_t_y_p_e<_n_u_m>, where <_n_u_m> is a positiveTEXT: H integer incremented every time a rawfile is read or aTEXT: H new plot is defined.TEXT: HTEXT: SUBJECT: destroyTITLE: destroyTEXT: destroy [ _p_l_o_t_n_a_m_e ... ] [ all ]TEXT: Throw away the data in the named plot and reclaim theTEXT: storage space. This can be necessary if a lot of largeTEXT: simulations are being done. spice should warn the userTEXT: if the size of the program is approaching the maximumTEXT: allowable size (within about 90%), but it is advisableTEXT: to run the rusage command occasionally if running outTEXT: of space is a possibility. If the argument to destroyTEXT: is all, all plots except the constant plot will beTEXT: thrown away. It is not possible to destroy the con-TEXT: stant plot. If no argument is given the current plotTEXT: is destroyed.TEXT: SEEALSO: NUTMEG:setplotSEEALSO: NUTMEG:rusageSUBJECT: diffTITLE: diffTEXT: TEXT: Gdiff H_p_l_o_t_1 _p_l_o_t_2 [ _v_e_c_n_a_m_e ] ...TEXT: H Compare the vectors in the named _p_l_o_ts and print outTEXT: H any values which differ significantly in correspondingTEXT: H vectors in the two plots. If no _v_e_c_n_a_m_es are men-TEXT: H tioned, all vectors in the plots are compared, and ifTEXT: H one or more names are given only those vectors are com-TEXT: H pared. The variables GabstolH, GreltolH, and Gvntol HareTEXT: H used to determine if two values are "significantly"TEXT: H different. (See the SPICE3 User's Guide for details ofTEXT: H these variables.)TEXT: HTEXT: SEEALSO: NUTMEG:abstolSEEALSO: NUTMEG:vntolSEEALSO: NUTMEG:reltolSUBJECT: displayTITLE: displayTEXT: TEXT: Gdisplay H[ _v_e_c_n_a_m_e ] ...TEXT: H List the names, types and lengths of the vectorsTEXT: H defined in the current plot, and whether the vector isTEXT: H real or complex. If one or more _v_e_c_a_m_es are given theTEXT: H list is restricted to those vectors. Additional infor-TEXT: H mation is also given: if there is a minimum or maximumTEXT: H value for the vector defined, this is listed (see theTEXT: H manual page for Gsconvert Hfor a definition of theTEXT: H rawfile format and the manner in which this and theTEXT: H rest of the per-vector parameters are defined), ifTEXT: H there is a default grid type or a default plot type,TEXT: H they are mentioned, and if there is a default color orTEXT: H a default scale for the vector it is noted. Addition-TEXT: H ally, one vector in the plot will have the notationTEXT: H G[default scale] Happended - this vector will be used asTEXT: H the x-scale for the Gplot Hcommand if none is given or isTEXT: H the vectors named have no default scales of their own.TEXT: H A better description of these parameters is given withTEXT: H the description of the Gplot Hcommand.TEXT: HTEXT: SUBJECT: dowhileTITLE: dowhileTEXT: TEXT: Gdowhile H_c_o_n_d_i_t_i_o_nTEXT: H This line, together with a matching Gend Hstatement,TEXT: H defines a block of commands that are executed while theTEXT: H _c_o_n_d_i_t_i_o_n remains true. (The _c_o_n_d_i_t_i_o_n is an expres-TEXT: H sion which is considered true if it evaluates to aTEXT: H non-0 value.) Unlike the Gwhile Hstatement, the test isTEXT: H done at the bottom of the loop.TEXT: HTEXT: SEEALSO: NUTMEG:proglangSUBJECT: dumpTITLE: dumpTEXT: TEXT: Gdump HThis command causes a debugging print of the internalTEXT: H data structures used by the simulator. It is notTEXT: H guaranteed to provide any useful information. (GspiceTEXT: H Honly)TEXT: HTEXT: SUBJECT: echoTITLE: echoTEXT: TEXT: Gecho H[ G-n H] [ _s_t_u_f_f ] ...TEXT: H Print the _s_t_u_f_f on the standard output. If the G-n HflagTEXT: H is given, don't append a newline.TEXT: HTEXT: SUBJECT: editTITLE: editTEXT: TEXT: Gedit H[ _f_i_l_e_n_a_m_e ]TEXT: H Print the current circuit definition into a file, callTEXT: H up the editor on that file and allow the user to modifyTEXT: H it, and then read it back in, replacing the originalTEXT: H definition. If a Gfilename His given, then edit that fileTEXT: H and Gsource Hit, making the circuit the current one.TEXT: HTEXT: SUBJECT: elseTITLE: elseTEXT: TEXT: Gelse HPart of an Gif-else Hblock. See the description of theTEXT: H Gif Hstatement.TEXT: HTEXT: SEEALSO: NUTMEG:proglangSUBJECT: endTITLE: endTEXT: TEXT: Gend HThis statement terminates a block. It is an error forTEXT: H an Gend Hto appear without a matching Gbegin, if, while,TEXT: H repeat, foreach, Hor Gdowhile Hstatement.TEXT: HTEXT: SEEALSO: NUTMEG:proglangSUBJECT: foreachTITLE: foreachTEXT: TEXT: Gforeach H_v_a_r [ _v_a_l_u_e ] ...TEXT: H This statement opens a block which will be executedTEXT: H once for each _v_a_l_u_e given. Each time through, the _v_a_rTEXT: H will be set to sucessive _v_a_l_u_es. After the loop isTEXT: H exited it will have the last value that was assigned toTEXT: H it.TEXT: HTEXT: SEEALSO: NUTMEG:proglangSUBJECT: fourierTITLE: fourierTEXT: TEXT: Gfourier H_f_u_n_d_a_m_e_n_t_a_l__f_r_e_q_u_e_n_c_y [ _v_a_l_u_e ] ...TEXT: H Does a fourier analysis of each of the given values,TEXT: H using the first 10 multiples of the fundamental fre-TEXT: H quency (or the first _n_f_r_e_q_s, if that variable is set).TEXT: H The _v_a_l_u_es may be any valid expression. They areTEXT: H interpolated onto a fixed-spaced grid with the numberTEXT: H of points given by the Gfourgridsize Hvariable, or 200 ifTEXT: H it is not set. The interpolation will be of degreeTEXT: H Gpolydegree Hif that variable is set, or 1. If Gpolyde-TEXT: H gree His 0, then no interpolation will be done. ThisTEXT: H command is executed when a G.four Hline is present in theTEXT: H input file and Gspice His being run in batch mode.TEXT: HTEXT: SEEALSO: NUTMEG:fourgridsizeSEEALSO: NUTMEG:nfreqsSUBJECT: gotoTITLE: gotoTEXT: TEXT: Ggoto H_l_a_b_e_lTEXT: H If there is a Glabel Hstatement in an enclosing blockTEXT: H defining the _l_a_b_e_l, transfer execution to the statementTEXT: H following it. Note that if Ggoto His used outside of aTEXT: H block, the label must be above the GgotoH. There is aTEXT: H Gbegin Hmacro pre-defined as _i_f _1 which may be used ifTEXT: H forward label references are required outside of a loopTEXT: H construct.TEXT: HTEXT: SEEALSO: NUTMEG:proglangSUBJECT: hardcopyTITLE: hardcopyTEXT: TEXT: Ghardcopy H[ _f_i_l_e_n_a_m_e ] [ _p_l_o_t _a_r_g_u_m_e_n_t_s ]TEXT: H This command has a syntax identical to that of the GplotTEXT: H Hcommand, except for a _f_i_l_e_n_a_m_e in which to put the plotTEXT: H image. If no plot arguments are given, the user willTEXT: H be prompted to select a window which will be dumpedTEXT: H into the file (if he is using a graphics system withTEXT: H windows such as X). If no _f_i_l_e_n_a_m_e is given a tem-TEXT: H porary file will be used. If the Ghcopydev Hvariable isTEXT: H defined, the file will be printed using the commandTEXT: H "lpr -g -P_h_c_o_p_y_d_e_v file", and if a temporary file wasTEXT: H used, it will be removed. This is likely to work onlyTEXT: H on a UNIX system. The format of the plot image file isTEXT: H given in the UNIX manual page for Gplot(5)H, and may beTEXT: H plotted on a terminal with the UNIX Gplot Hprogram.TEXT: HTEXT: SEEALSO: NUTMEG:plotSEEALSO: NUTMEG:asciiplotSEEALSO: NUTMEG:hcopydevSUBJECT: helpTITLE: helpTEXT: help [ _t_o_p_i_c ] ...TEXT: This is an interactive graphical help browser. ItsTEXT: operation should be largely self-explanatory. The userTEXT: is presented with a window (if he is using the X win-TEXT: dows system) or a screenful of information.TEXT: TEXT: In the X version, there will be a number of "buttons"TEXT: which the user can click the mouse in, each of whichTEXT: correspond to a sub-topic of the topic discussed in theTEXT: window, or a "see also" topic which is related to theTEXT: current one. If the user clicks the mouse in one ofTEXT: these buttons, a new window will be created overlappingTEXT: the old one, which contains the information on theTEXT: requested topic. Each window also contains buttons inTEXT: the upper right-hand corner: Delete Window will causeTEXT: the window and all others that are its "descendants" toTEXT: go away; Quit Help will cause all the windows to disap-TEXT: pear and help system to be exited; and possibly NextTEXT: Page and Prev Page, which allow the user to scrollTEXT: around the text if there is more data than will fit onTEXT: a reasonable screen.TEXT: TEXT: If X is unavailable, the information will be paged asTEXT: in the _m_o_r_e program. At the end of the text there willTEXT: be a menu of the available sub-topics and see-alsos.TEXT: TEXT: If for some reason the help directory is unavailable,TEXT: the oldhelp command will be used.TEXT: SEEALSO: NUTMEG:XSEEALSO: NUTMEG:helpregfontSEEALSO: NUTMEG:helpboldfontSEEALSO: NUTMEG:helpitalicfontSEEALSO: NUTMEG:helptitlefontSEEALSO: NUTMEG:helpbuttonfontSEEALSO: NUTMEG:helpbuttonstyleSEEALSO: NUTMEG:helpinitxposSEEALSO: NUTMEG:helpinityposSEEALSO: NUTMEG:oldhelpSUBJECT: historycommTITLE: history commandTEXT: TEXT: Ghistory H[ G-r H] [ _n_u_m_b_e_r ] ...TEXT: H Print out the last _n_u_m_b_e_r commands typed by the user,TEXT: H or all the commands saved if there are no arguments.TEXT: H The number of commands saved is determined by the valueTEXT: H of the Ghistory Hvariable. If the G-r Hflag is given, theTEXT: H list is printed in reverse order.TEXT: HTEXT: SEEALSO: NUTMEG:historyvarSEEALSO: NUTMEG:historysub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -