home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!darwin.sura.net!ukma!cs.widener.edu!dsinc!ub!galileo.cc.rochester.edu!ee.rochester.edu!rbc!al
- From: al@rbc.uucp (Al Davis)
- Newsgroups: alt.sources
- Subject: ACS circuit simulator part 02/20
- Message-ID: <1993Jan25.052006.4545@rbc.uucp>
- Date: 25 Jan 93 05:20:06 GMT
- Sender: al@rbc.uucp (Al Davis)
- Organization: Huh?
- Lines: 1178
-
- #! /bin/sh
- # This is a shell archive, meaning:
- # 1. Remove everything above the #! /bin/sh line.
- # 2. Save the resulting text in a file.
- # 3. Execute the file with /bin/sh (not csh) to create the files:
- # doc/COPYING
- # doc/FUTURE
- # doc/INSTALLATION
- # doc/acs.hlp
- # This archive created: Mon Jan 25 00:17:42 1993
- export PATH; PATH=/bin:$PATH
- if test -f 'doc/COPYING'
- then
- echo shar: will not over-write existing file "'doc/COPYING'"
- else
- cat << \SHAR_EOF > 'doc/COPYING'
-
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
-
- Copyright (C) 1989 Free Software Foundation, Inc.
- 675 Mass Ave, Cambridge, MA 02139, USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The license agreements of most software companies try to keep users
- at the mercy of those companies. By contrast, our General Public
- License is intended to guarantee your freedom to share and change free
- software--to make sure the software is free for all its users. The
- General Public License applies to the Free Software Foundation's
- software and to any other program whose authors commit to using it.
- You can use it for your programs, too.
-
- When we speak of free software, we are referring to freedom, not
- price. Specifically, the General Public License is designed to make
- sure that you have the freedom to give away or sell copies of free
- software, that you receive source code or can get it if you want it,
- that you can change the software or use pieces of it in new free
- programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
- anyone to deny you these rights or to ask you to surrender the rights.
- These restrictions translate to certain responsibilities for you if you
- distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of a such a program, whether
- gratis or for a fee, you must give the recipients all the rights that
- you have. You must make sure that they, too, receive or can get the
- source code. And you must tell them their rights.
-
- We protect your rights with two steps: (1) copyright the software, and
- (2) offer you this license which gives you legal permission to copy,
- distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
- that everyone understands that there is no warranty for this free
- software. If the software is modified by someone else and passed on, we
- want its recipients to know that what they have is not the original, so
- that any problems introduced by others will not reflect on the original
- authors' reputations.
-
- The precise terms and conditions for copying, distribution and
- modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License Agreement applies to any program or other work which
- contains a notice placed by the copyright holder saying it may be
- distributed under the terms of this General Public License. The
- "Program", below, refers to any such program or work, and a "work based
- on the Program" means either the Program or any work containing the
- Program or a portion of it, either verbatim or with modifications. Each
- licensee is addressed as "you".
-
- 1. You may copy and distribute verbatim copies of the Program's source
- code as you receive it, in any medium, provided that you conspicuously and
- appropriately publish on each copy an appropriate copyright notice and
- disclaimer of warranty; keep intact all the notices that refer to this
- General Public License and to the absence of any warranty; and give any
- other recipients of the Program a copy of this General Public License
- along with the Program. You may charge a fee for the physical act of
- transferring a copy.
-
- 2. You may modify your copy or copies of the Program or any portion of
- it, and copy and distribute such modifications under the terms of Paragraph
- 1 above, provided that you also do the following:
-
- a) cause the modified files to carry prominent notices stating that
- you changed the files and the date of any change; and
-
- b) cause the whole of any work that you distribute or publish, that
- in whole or in part contains the Program or any part thereof, either
- with or without modifications, to be licensed at no charge to all
- third parties under the terms of this General Public License (except
- that you may choose to grant warranty protection to some or all
- third parties, at your option).
-
- c) If the modified program normally reads commands interactively when
- run, you must cause it, when started running for such interactive use
- in the simplest and most usual way, to print or display an
- announcement including an appropriate copyright notice and a notice
- that there is no warranty (or else, saying that you provide a
- warranty) and that users may redistribute the program under these
- conditions, and telling the user how to view a copy of this General
- Public License.
-
- d) You may charge a fee for the physical act of transferring a
- copy, and you may at your option offer warranty protection in
- exchange for a fee.
-
- Mere aggregation of another independent work with the Program (or its
- derivative) on a volume of a storage or distribution medium does not bring
- the other work under the scope of these terms.
-
- 3. You may copy and distribute the Program (or a portion or derivative of
- it, under Paragraph 2) in object code or executable form under the terms of
- Paragraphs 1 and 2 above provided that you also do one of the following:
-
- a) accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of
- Paragraphs 1 and 2 above; or,
-
- b) accompany it with a written offer, valid for at least three
- years, to give any third party free (except for a nominal charge
- for the cost of distribution) a complete machine-readable copy of the
- corresponding source code, to be distributed under the terms of
- Paragraphs 1 and 2 above; or,
-
- c) accompany it with the information you received as to where the
- corresponding source code may be obtained. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form alone.)
-
- Source code for a work means the preferred form of the work for making
- modifications to it. For an executable file, complete source code means
- all the source code for all modules it contains; but, as a special
- exception, it need not include source code for modules which are standard
- libraries that accompany the operating system on which the executable
- file runs, or for standard header files or definitions files that
- accompany that operating system.
-
- 4. You may not copy, modify, sublicense, distribute or transfer the
- Program except as expressly provided under this General Public License.
- Any attempt otherwise to copy, modify, sublicense, distribute or transfer
- the Program is void, and will automatically terminate your rights to use
- the Program under this License. However, parties who have received
- copies, or rights to use copies, from you under this General Public
- License will not have their licenses terminated so long as such parties
- remain in full compliance.
-
- 5. By copying, distributing or modifying the Program (or any work based
- on the Program) you indicate your acceptance of this license to do so,
- and all its terms and conditions.
-
- 6. Each time you redistribute the Program (or any work based on the
- Program), the recipient automatically receives a license from the original
- licensor to copy, distribute or modify the Program subject to these
- terms and conditions. You may not impose any further restrictions on the
- recipients' exercise of the rights granted herein.
-
- 7. The Free Software Foundation may publish revised and/or new versions
- of the General Public License from time to time. Such new versions will
- be similar in spirit to the present version, but may differ in detail to
- address new problems or concerns.
-
- Each version is given a distinguishing version number. If the Program
- specifies a version number of the license which applies to it and "any
- later version", you have the option of following the terms and conditions
- either of that version or of any later version published by the Free
- Software Foundation. If the Program does not specify a version number of
- the license, you may choose any version ever published by the Free Software
- Foundation.
-
- 8. If you wish to incorporate parts of the Program into other free
- programs whose distribution conditions are different, write to the author
- to ask for permission. For software which is copyrighted by the Free
- Software Foundation, write to the Free Software Foundation; we sometimes
- make exceptions for this. Our decision will be guided by the two goals
- of preserving the free status of all derivatives of our free software and
- of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
- FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
- REPAIR OR CORRECTION.
-
- 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- Appendix: How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
- possible use to humanity, the best way to achieve this is to make it
- free software which everyone can redistribute and change under these
- terms.
-
- To do so, attach the following notices to the program. It is safest to
- attach them to the start of each source file to most effectively convey
- the exclusion of warranty; and each file should have at least the
- "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) 19yy <name of author>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- Also add information on how to contact you by electronic and paper mail.
-
- If the program is interactive, make it output a short notice like this
- when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) 19xx name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
- The hypothetical commands `show w' and `show c' should show the
- appropriate parts of the General Public License. Of course, the
- commands you use may be called something other than `show w' and `show
- c'; they could even be mouse-clicks or menu items--whatever suits your
- program.
-
- You should also get your employer (if you work as a programmer) or your
- school, if any, to sign a "copyright disclaimer" for the program, if
- necessary. Here a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
- program `Gnomovision' (a program to direct compilers to make passes
- at assemblers) written by James Hacker.
-
- <signature of Ty Coon>, 1 April 1989
- Ty Coon, President of Vice
-
- That's all there is to it!
- SHAR_EOF
- fi # end of overwriting check
- if test -f 'doc/FUTURE'
- then
- echo shar: will not over-write existing file "'doc/FUTURE'"
- else
- cat << \SHAR_EOF > 'doc/FUTURE'
- Future direction of ACS:
-
- As of now I have limited time to work in the program. I have several
- additional features working in other (internal buggy) versions of the
- program including:
- Worst case, Monte carlo analysis.
- Level 1 and 3 MOSFET models.
- BJT models.
- Fourier analysis. (It doesn't work here. It did.)
- Since the program was developed as a research tool, there are several
- other loose ends:
- Truncation error checking on capacitors.
- Better matrix ordering. (Markowitz makes it worse.)
- Full implementation of selective trace.
- Roundoff error in incremental update.
- Bypass of analog code in logic simulation.
-
- I appreciate your input. You can send comments by email
- to davis@ee.rochester.edu.
- SHAR_EOF
- fi # end of overwriting check
- if test -f 'doc/INSTALLATION'
- then
- echo shar: will not over-write existing file "'doc/INSTALLATION'"
- else
- cat << \SHAR_EOF > 'doc/INSTALLATION'
- Installation notes:
-
- Most of the development of ACS was done on a NeXT with Gnu C.
- It has also been compiled successfully with Microsoft C version
- 5.1. It should compile with any ANSI C compiler. It should
- produce no warnings when compiled with the switches in the
- supplied makefiles.
-
- On a NeXT, type "make" from the src/Next directory. This should
- build the executable. Make will follow "VPATH" to find the sources.
-
- On a PC, you should have some version of "make". Copy the file
- "Makefile.msc" to "makefile" and type "make" from the directory
- containing the sources.
-
- Older versions have been compiled and run on Sun, Alliant, and VAX
- (under Mt.Xinu). I believe the only change necessary to compile on
- an older compiler is to remove the prototypes. The best way is to
- use an ANSI compiler such as Gnu C.
-
- On other systems, if your make supports VPATH, make a directory
- for the object files. Copy "Makefile.base" there. If your make
- supports includes, put the defines for CFLAGS, LDFLAGS, and LIBS
- in Makefile.dependencies. Otherwise insert them in the makefile
- to replace the include.
-
- You should place the file "acs.hlp" in the same directory with
- the executable.
-
- The files that start with "_" (underscore) are portability patches. The
- files "version.*" select the appropriate one. For a new system not
- supported, make the files (_newsystem.c and _newsystem.h), modify the files
- "version.c" and "version.h" to key on some word to select them. It is
- easiest to make your new files almost copies of files for existing systems.
- Look at the differences between them for hints of what might need to be
- changed. Make a new makefile to define that word, and select the
- appropriate options for your system. Then use make to compile it all.
-
- Some files that start with "plot" also deal with portability. If you don't
- want graphics, no changes are needed here, but this is where to install new
- graphics drivers. See the code.
-
- There should be NO non-portable code anywhere but the underscore files and
- plot files. The use of #ifdef to patch portability problems should be
- restricted to the underscore and plot files.
-
- The latest version of the program with executables, source, documentation,
- and test cases is available on the bulletin board at (716)272-1645. Login
- as "guest".
-
- If you have questions send email to davis@ee.rochester.edu. You should
- register (by email) if you want to know about updates and the future of ACS.
- SHAR_EOF
- fi # end of overwriting check
- if test -f 'doc/acs.hlp'
- then
- echo shar: will not over-write existing file "'doc/acs.hlp'"
- else
- cat << \SHAR_EOF > 'doc/acs.hlp'
- Commands are:
- !, <, >, Ac, Build, ChDir, CLEAR, DC, DELete, Edit, END, EXIt, FAult,
- FOurier, GENerator, GET, Help, IC, Insert, List, LOg, MArk, MErge,
- Modify, Network, NODeset, OP, OPTions, PAuse, PLot, PRint, Quit,
- SAve, SEt, STatus, SWeep, TItle, TRansient, UNFault, UNMark, Width
-
- :DATE
- 01/24/93 (ver. 0.05xc)
-
- :INSTALLATION
- This file (acs.hlp) should be placed in the same directory as the
- acs executable.
-
- :!
- "!" command
- Syntax: ! <command>
- Action: Run a program.
- With no tail, spawns a shell.
-
- :<
- "<" command .. batch mode.
- Syntax: < file get commands from file
- << same, but clear old ckt first
- Action: Get commands, etc. from a file.
- Return to keyboard when file runs out.
- See also: LOg
-
- :>
- ">" command .. save all output.
- Syntax: > file Open a file
- >> file Append to file
- > Close a file
- Action: Direct program output to a file.
- See also: LOg
-
- :A
- Commands: AC, ALter
-
- :AC
- Small-signal AC analysis .. sweeps frequency
- Syntax: Ac <start> <stop> <stepsize> <options>
- Start and stop are frequency in Hertz.
- Stepsize is in Hertz unless preceded by:
- * or Times : log sweep : a multiplier
- Decade : steps per decade
- Octave : steps per octave
- Default file extension is ".ac"
- Nonlinearities are set by the most recent op, dc or transient analysis.
-
- :ALter
- ALter command: not implemented
-
- :Build
- Build command
- Syntax: Build Add to the end of the list
- Build <device> Add to list before <device>
- Action: Used to create a circuit, direct from the keyboard.
- If a device already exists with a matching label,
- replaces it.
-
- :C
- Commands: CD, CHdir, CLear
-
- :CAn
- Error message: can't open _____
- If reading, the file you asked for is not available in the selected directory.
- If writing, the system would not create the file you asked for. (permissions?)
-
- :CD
- CD command
- Syntax: CD Show the name of the default directory.
- CD directory Change the default directory.
- Bugs: doesn't know about ~
- Also works: ChDir
-
- :CHdir
- ChDir command
- Syntax: ChDir Show the name of the default directory.
- ChDir directory Change the default directory.
- Bugs: doesn't know about ~
-
- :CLear
- Clear command
- Clears memory. Almost the same as "delete all".
- but clears title and some internals, also.
- Need entire word "clear"
-
- :COnverge
- Error message: did not converge
- The solution did not converge after the allowed number of iterations.
- Use the "Watch" option to help troubleshoot it.
- There are two possibilities:
- 1. Slow convergence
- Watch shows it approaching convergence.
- Set "Iterations" to a higher number, or set the epsilons larger.
- 2. Will never converge
- Watch shows it oscillating.
- It may be necessary to change the circuit.
- Try setting initial conditions or sweeping in the opposite direction.
-
- :D
- Commands: DC, DELete
- Elements: DIode
-
- :DC
- Nonlinear DC analysis .. sweeps input generator.
- Syntax: Dc <device> <start> <stop> <stepsize> <options>
- Device is a simple device (usually a voltage source) to sweep.
- (if not specified: output of the signal generator)
- Start and stop are lower and upper limits.
- Stepsize is in volts unless preceeded by:
- * or Times : log sweep : a multiplier
- Default file extension ".dc"
- Options: Continue use last op, dc or transient as first guess
- Loop sweep up then down
- Reverse sweep in reverse direction
- Watch watch the convergence process.
-
- :DElete
- Delete command
- Syntax: DELete <label> delete a part
- DELete <label> <label> ... delete a list
- DELete ALL Entire circuit
- Action: Deletes part (or all) of the circuit.
- Does not change any node numbers.
- Note: Need first 3 letters "DEL".
- Need entire word "ALL".
- Wild cards supported: ? = any character
- * = any repeated 0 or more times
- Not case sensitive, but \ makes a letter case sensitive
-
- :DIode
- Component type: diode
- Diode device:
- Syntax: Dxxx n+ n- modelname {area} {params}
- Params: area multiplier applied to is, rs, cjo of model
- perim multiplier applied to cjsw of model
- off initial guess: diode is off **
- ic initial condition (volts) **
- is saturation current
- rs series resistance
- cjo junction capacitance
- cjsw sidewall junction capacitance
- Note: This rs, is, cjo, cjsw NOT affected by area.
-
- Model description:
- Syntax: .MODEL modelname D ( params )
- Params: is saturation current *
- rs series resistance *
- n emission coefficient
- tt transit time **
- vj junction potential
- cjo zero-bias junction capacitance *
- m grading coefficient
- eg activation energy
- xti saturation-current temp. exp.
- kf flicker noise coefficient **
- af flicker noise exponent **
- fc coef for depl cap formula **
- bv reverse breakdown voltage **
- ibv current at breakdown voltage**
- cjsw sidewall zero-bias junction capacitance ***
- mjsw sidewall grading coefficient
-
- Notes:
- * is, rs, cjo are multiplied by area to get actual parameter
- ** accepted, but not used
- *** cjsw is multiplied by perim to get actual parameter
-
- :E
- Commands: EDit, ENd, EXIt
- Other topics: ERrors
-
- :EDit
- Edit command
- Syntax: Edit
- Edit <file>
- Action: No arguments: call your editor to edit the circuit.
- If a <file>, call your editor to edit <file>.
- Errors: "no editor defined": you must "setenv EDITOR=<your editor>"
- from the operating system, first.
-
- :END
- End command
- Spice END card. Not implemented
-
- :ERrors
- Error messages: (not up to date!!)
-
- ^ ? (SYntax) _____ LINes out of ORder _____
- CAn't open _____ log sweep .... ZEro OVerflow
- did not CONVerge NEEd line SHort circuit _____
- help not available NO circuit TIMe step = 0
- NO help on _____ too many nodes to MAp ____
- _____ NODes
- ILlegal probe _____ OPen circuit _____ type ___ not IMplemented
- INternal error _____ out of MEMory _____ ____? (needs ARgument)
-
- Type "Help" followed by the capatilized word for a description of the message.
-
- :EXIt
- EXIT command.
- Exit the program.
-
- :F
- Commands: FAult, FOurier
-
- :FAult
- Fault command
- Syntax: FAult partlabel = newvalue ....
- Action: Temporarily change the value. UNFault will bring the old one back.
-
- :FOurier
- Fourier command
- Transient analysis, with results in frequency domain.
- Syntax: FOurier <start> <stop> <stepsize> <options>
- Start and stop represent frequency in Hertz
- No entry repeats from the last run, same frequencies,
- but continues in time form where last run ended.
- Options: Cold Zero initial conditions. (cold start, power-up)
- Plot, Table graphic or tabular output
- Skip # Do extra time steps, and hide them.
- Saved between runs
- STiff Use backward Euler method instead of trapezoidal.
- TEmperature # Temperature, degrees C.
- Watch Observe intermediate (hidden) steps.
-
- :G
- Commands: GENerator, GET
-
- :GENerator
- GENerator command
- Syntax: Generator <parameter> <value> to set a parameter
- Generator to view parameter values
- Action: Set, view parameters of the transient analysis function generator.
- "Generator" (the bare command) views the parameters.
- To set any, use "Generator" its name and new value.
-
- :GET
- Get command
- Syntax: GET file
- Action: Get circuit from disk. Clears memory first.
- Presets parameters from dot commands, but does not run them.
- Need full word "GET".
- See also: merge
-
- :Help
- (not up to date)
- Additional help topics:
- AMbient, DIode, ERrors, IMpedance,
- INPut, IO, MCarlo, RAndom, REFtemp, RESistance,
- SHort, TEmperature, TRANSMission, TYpes, WAtch, WOrstcase, Z
-
- :I
- Commands: INSert
- Errors: ILlegal, INternal
-
- :ILlegal
- Error messages
- illegal probe .. xx does not exist
- The probe point selected does not exist.
-
- :IMPLemented
- Error message: type xx not implemented
- The type is not defined, or it is not allowed in this type analysis.
- (Transmission lines are not allowed in transient analysis.)
-
- :INsert
- Insert command
- Syntax: Insert # insert one node before this number
- Insert # # insert a few nodes
- Action: Renumbers the nodes to make room for additional nodes inside the ckt.
- If two numbers, the second is how many to insert.
-
- :INTernal
- The "internal error" message means there is an error in the program.
- Please notify us if this occurs.
-
- :IO
- IO redirection options .. supported by most commands.
- < file get from file
- > file send to file
- >> file append to file
- Echo Echo disk reads to console
- Print Printer on
- Quiet Suppress data on screen.
-
- :MArk
- Mark command
- Syntax: Mark
- Action: Mark the last step data from transient or DC analysis.
- From now on, transient analysis will start from this,
- and AC analysis will use this as its bias point.
- UNMark releases it.
-
- :L
- Commands: LIst, LOg
-
- :LIst
- List command
- Syntax: List <label> list a part
- List <label> <label> ... list named parts
- List Entire circuit
- Action: List the circuit description.
- Note: The list is re-created from internal data,
- so actual parameters used are shown.
- Defaulted values are explicitly listed.
- Calculated values are listed as comments.
- Wild cards supported: ? = any character
- * = any repeated 0 or more times
- Not case sensitive, but \ makes a letter case sensitive
-
- :LOg
- Log command
- Syntax: LOg file Open a file
- LOg >> file Append to file
- LOg Close a file
- Action: Sends a copy of keyboard entries to a file.
- This file is suitable for batch operation via the "<" command.
- Bugs: it isn't quite suitable for input. Need to add dots.
- See also: "<", ">"
-
- :M
- Commands: MErge, MOdify
-
- :MErge
- Merge command
- Syntax: MErge file
- MErge file <options>
- Action: Merge circuit from file with the one in memory.
- Does not clear memory.
- See also: get
-
- :Modify
- Modify command
- Syntax: MOdify partlabel = newvalue ....
- Action: Change the value.
-
-
- :N
- Commands: NEtwork, NODESEt, NOIse
- Errors: NO, NODes
-
- :NEtwork
- Network command
- Syntax: Network The entire circuit
- Network # This node only
- Network #- This node to the end
- Network -# Start to this node
- Network # # Range of nodes
- Action: List all lines showing connections to the specified nodes.
-
- :NO
- no circuit error message
- There is no circuit in memory.
-
- no help on xxxx error message
- The topic xxxx is not defined in the help file.
- "Help" lists the commands; "Help ERrors" lists the error messages;
- "Help Help" lists everything else that help is available about.
-
- :NODes
- xx nodes error message
- There are only xx nodes in the circuit.
- You have asked for a node numbered higher than this.
-
- :NODESEt
- Nodeset command
- not implemented
-
- :NOIse
- Noise command
- not implemented
-
- :O
- Commands: OP, OPTions
- Errors: OPEn, ORder, OVerflow
-
- :OP
- Nonlinear DC analysis .. sweeps temperature.
- Syntax: OP <start> <stop> <stepsize> <options>
- The signal input is set to zero, usually.
- Start and stop are temperature in degrees Celsius.
- Stepsize is in degrees unless preceded by:
- * or Times : log sweep : a multiplier
- Default file extension is ".bi"
- Options: Continue use last op, dc or transient as first guess
- Temperature # temperature, degrees C. don't keep.
- Watch watch the convergence process.
-
- :OPEn
- Open circuit error (warning)
- A node has been left unconnected, or has a near-infinite impedance to ground.
- As a correction, the program has grounded it through an arbitrary resistor.
- The solution is usually correct, but will often have small errors.
-
- :OPTions
- Options command
- Syntax: OPTions <parameter> <value> to set a parameter
- OPTions to view parameter values
- Action: Set, view global variables, program parameters.
-
- :ORder
- Error message: out of order
- In some cases, data must be supplied in increasing order, and were not.
- You must change the order, so they are in increasing order.
-
- :OVerflow
- Error message: overflow
- A numerical result exceeds the limits allowed by the program.
- (approaches infinity)
- This is unlikely, since the internal range is 1e300.
-
- :P
- Commands: PAuse, PLot, PRint
-
- :PAuse
- Pause command. wait for key hit, in batch mode.
-
- :PLot
- Plot command. Set up plotting.
-
- :PRint
- Print command
-
- :Quit
- Quit command.
- Exit the program.
-
- :S
- Commands: SAve, SEt, STatus, SWeep
- Errors: SHort, SYntax
- Other topics: SHort
-
- :SAve
- Save command
- Syntax: Save <file>
- Save <file> <options>
- Action: Save the circuit description in a file.
- Default extension ".ckt"
- Options: see list command
-
- :SEt
- Set command
- see options command.
-
- :SHort
- Short circuit error. (warning)
- This program generally cannot model perfect shorts. The circuit has one.
- A low resistance (set short ..) was substituted.
-
- :STatus
- STatus command
-
- Displays the system status, memory utilization, and timing information.
-
- :SWeep
- Sweep command
- Syntax: SWeep count label start finish ....
- Action: Sweeps a component. Collects commands to apply at each iteration.
- The ">>>" prompt indicates that URECA is collecting commands.
- "GO" makes it all happen.
-
- :SYntax
- Syntax error:
- Shows as ^ ? pointing to the offending word or argument.
- The word or argument pointed to is not recognized.
- Usually a typographic error.
-
- :T
- Commands: TEmp, TF, TItle, TRansient
- Errors: TIMe, TRANSMission
- Other topics: TEMPErature, TRANSMission, TYpes
-
- :TEmp
- Temp command.
- Spice command not implemented,
- but function available through set and op commands.
-
- :TEMPErature
- Temperature: command option on AC, DC, OP, and Transient commands.
- Simulate at this temperature, degrees Celsius.
-
- All temperatures are entered and shown in degrees Celsius, but internal
- calculations are done in degrees Kelvin.
-
- :TF
- TF command
- Spice command not implemented
- but function available through dc command,
- by selecting points to print
-
- :TIMe
- time step = 0 error message
- You have not specified the step size for a transient analysis.
- You must specify a non-zero step size.
-
- :TItle
- TItle command
- Set or view the title (header line) on files.
-
- :TRansient
- Transient analysis .. sweeps time
- Syntax: Transient <start> <stop> <stepsize> <options>
- Start and stop represent time in seconds.
- No entry continues from the last run, same time, same step size.
- Options: All Show all time steps.
- Cold Zero initial conditions. (cold start, power-up)
- Skip # Do extra time steps, and hide them.
- Saved between runs
- STiff Use backward Euler method instead of trapezoidal.
- TEmperature # Temperature, degrees C.
-
- :TRANSMission
- transmission line
- Syntax: Tn n1 n2 n3 n4 z0=<impedance> f=<resonance>
- n1, n2 are one end of the line. n3, n4 are the other.
- Resonance is the quarter wave frequency in Hertz.
- Impedance is the characteristic impedance in Ohms.
- For a shorted stub, connect both nodes at one end to 0.
- For an open stub, connect one end to an otherwise unused node.
-
- transmission line error error message
- A transmission line is being used too near exact resonance,
- resulting in numeric accuracy problems. The results are suspect.
- The best way around this is to split the line into two non-resonant
- lines in series, so the combination gives you what you want.
-
- :TYpes
- Built-in component types:
- C = Capacitor
- D = Diode
- E = Voltage controlled voltage source
- G = Voltage controlled current source
- I = Current source (fixed)
- L = Inductance
- M = MOSFET
- R = Resistance
- T = Transmission line (AC analysis only)
- V = Voltage source (fixed)
- Y = Admittance
-
- :Un
- Commands: UNFault, UNMark
-
- :UNFault
- Unfault command
- Syntax: UNFault
- Action: Removes all faults. Cleans up unfinished sweeps.
-
- :UNMark
- Unkeep command
- Syntax: UNMark
- Action: Releases kept transient starting data. Allow time to proceed.
-
- :Width
- Width command
- set terminal width
-
- :COPYING
- Copyright 1983-1992 Albert Davis
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
-
- The GNU General Public License follows:
-
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
-
- Copyright (C) 1989 Free Software Foundation, Inc.
- 675 Mass Ave, Cambridge, MA 02139, USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The license agreements of most software companies try to keep users
- at the mercy of those companies. By contrast, our General Public
- License is intended to guarantee your freedom to share and change free
- software--to make sure the software is free for all its users. The
- General Public License applies to the Free Software Foundation's
- software and to any other program whose authors commit to using it.
- You can use it for your programs, too.
-
- When we speak of free software, we are referring to freedom, not
- price. Specifically, the General Public License is designed to make
- sure that you have the freedom to give away or sell copies of free
- software, that you receive source code or can get it if you want it,
- that you can change the software or use pieces of it in new free
- programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
- anyone to deny you these rights or to ask you to surrender the rights.
- These restrictions translate to certain responsibilities for you if you
- distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of a such a program, whether
- gratis or for a fee, you must give the recipients all the rights that
- you have. You must make sure that they, too, receive or can get the
- source code. And you must tell them their rights.
-
- We protect your rights with two steps: (1) copyright the software, and
- (2) offer you this license which gives you legal permission to copy,
- distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
- that everyone understands that there is no warranty for this free
- software. If the software is modified by someone else and passed on, we
- want its recipients to know that what they have is not the original, so
- that any problems introduced by others will not reflect on the original
- authors' reputations.
-
- The precise terms and conditions for copying, distribution and
- modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License Agreement applies to any program or other work which
- contains a notice placed by the copyright holder saying it may be
- distributed under the terms of this General Public License. The
- "Program", below, refers to any such program or work, and a "work based
- on the Program" means either the Program or any work containing the
- Program or a portion of it, either verbatim or with modifications. Each
- licensee is addressed as "you".
-
- 1. You may copy and distribute verbatim copies of the Program's source
- code as you receive it, in any medium, provided that you conspicuously and
- appropriately publish on each copy an appropriate copyright notice and
- disclaimer of warranty; keep intact all the notices that refer to this
- General Public License and to the absence of any warranty; and give any
- other recipients of the Program a copy of this General Public License
- along with the Program. You may charge a fee for the physical act of
- transferring a copy.
-
- 2. You may modify your copy or copies of the Program or any portion of
- it, and copy and distribute such modifications under the terms of Paragraph
- 1 above, provided that you also do the following:
-
- a) cause the modified files to carry prominent notices stating that
- you changed the files and the date of any change; and
-
- b) cause the whole of any work that you distribute or publish, that
- in whole or in part contains the Program or any part thereof, either
- with or without modifications, to be licensed at no charge to all
- third parties under the terms of this General Public License (except
- that you may choose to grant warranty protection to some or all
- third parties, at your option).
-
- c) If the modified program normally reads commands interactively when
- run, you must cause it, when started running for such interactive use
- in the simplest and most usual way, to print or display an
- announcement including an appropriate copyright notice and a notice
- that there is no warranty (or else, saying that you provide a
- warranty) and that users may redistribute the program under these
- conditions, and telling the user how to view a copy of this General
- Public License.
-
- d) You may charge a fee for the physical act of transferring a
- copy, and you may at your option offer warranty protection in
- exchange for a fee.
-
- Mere aggregation of another independent work with the Program (or its
- derivative) on a volume of a storage or distribution medium does not bring
- the other work under the scope of these terms.
-
- 3. You may copy and distribute the Program (or a portion or derivative of
- it, under Paragraph 2) in object code or executable form under the terms of
- Paragraphs 1 and 2 above provided that you also do one of the following:
-
- a) accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of
- Paragraphs 1 and 2 above; or,
-
- b) accompany it with a written offer, valid for at least three
- years, to give any third party free (except for a nominal charge
- for the cost of distribution) a complete machine-readable copy of the
- corresponding source code, to be distributed under the terms of
- Paragraphs 1 and 2 above; or,
-
- c) accompany it with the information you received as to where the
- corresponding source code may be obtained. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form alone.)
-
- Source code for a work means the preferred form of the work for making
- modifications to it. For an executable file, complete source code means
- all the source code for all modules it contains; but, as a special
- exception, it need not include source code for modules which are standard
- libraries that accompany the operating system on which the executable
- file runs, or for standard header files or definitions files that
- accompany that operating system.
-
- 4. You may not copy, modify, sublicense, distribute or transfer the
- Program except as expressly provided under this General Public License.
- Any attempt otherwise to copy, modify, sublicense, distribute or transfer
- the Program is void, and will automatically terminate your rights to use
- the Program under this License. However, parties who have received
- copies, or rights to use copies, from you under this General Public
- License will not have their licenses terminated so long as such parties
- remain in full compliance.
-
- 5. By copying, distributing or modifying the Program (or any work based
- on the Program) you indicate your acceptance of this license to do so,
- and all its terms and conditions.
-
- 6. Each time you redistribute the Program (or any work based on the
- Program), the recipient automatically receives a license from the original
- licensor to copy, distribute or modify the Program subject to these
- terms and conditions. You may not impose any further restrictions on the
- recipients' exercise of the rights granted herein.
-
- 7. The Free Software Foundation may publish revised and/or new versions
- of the General Public License from time to time. Such new versions will
- be similar in spirit to the present version, but may differ in detail to
- address new problems or concerns.
-
- Each version is given a distinguishing version number. If the Program
- specifies a version number of the license which applies to it and "any
- later version", you have the option of following the terms and conditions
- either of that version or of any later version published by the Free
- Software Foundation. If the Program does not specify a version number of
- the license, you may choose any version ever published by the Free Software
- Foundation.
-
- 8. If you wish to incorporate parts of the Program into other free
- programs whose distribution conditions are different, write to the author
- to ask for permission. For software which is copyrighted by the Free
- Software Foundation, write to the Free Software Foundation; we sometimes
- make exceptions for this. Our decision will be guided by the two goals
- of preserving the free status of all derivatives of our free software and
- of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
- FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
- REPAIR OR CORRECTION.
-
- 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- Appendix: How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
- possible use to humanity, the best way to achieve this is to make it
- free software which everyone can redistribute and change under these
- terms.
-
- To do so, attach the following notices to the program. It is safest to
- attach them to the start of each source file to most effectively convey
- the exclusion of warranty; and each file should have at least the
- "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) 19yy <name of author>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- Also add information on how to contact you by electronic and paper mail.
-
- If the program is interactive, make it output a short notice like this
- when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) 19xx name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
- The hypothetical commands `show w' and `show c' should show the
- appropriate parts of the General Public License. Of course, the
- commands you use may be called something other than `show w' and `show
- c'; they could even be mouse-clicks or menu items--whatever suits your
- program.
-
- You should also get your employer (if you work as a programmer) or your
- school, if any, to sign a "copyright disclaimer" for the program, if
- necessary. Here a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
- program `Gnomovision' (a program to direct compilers to make passes
- at assemblers) written by James Hacker.
-
- <signature of Ty Coon>, 1 April 1989
- Ty Coon, President of Vice
-
- That's all there is to it!
- SHAR_EOF
- fi # end of overwriting check
- # End of shell archive
- exit 0
-