Spice Version 5 Revision 1 Release Date 11/9/89 DISCLAIMER This program is public domain, or freeware if you prefer. That means you can give it to anyone you like, as long as you don't sell it for more than a reasonable copying fee. You can upload this to any or all BBS or like services, the more the better. I only ask that you keep all the files together. The user of this software must determine the validity of it's results for any intended purpose. None of the following: Texas Tech University, University of California at Berkeley, D. Warns will be responsible for any use or misuse of the results obtained from this program. Now that the legal BS is over, let me state that every attempt has been made to verify the results this program outputs. In every case, the program's outputs have been either exactly on, or within the tolerance specified in the .OPTION card of the actual, theoretical results. I have even designed a circuit with a singular array to test the program, and it caught the error, even to the point of saying the matrix was singular. This program is a variant of the SPICE 2G.6 program written by the University of California at Berkeley, for VAX mainframes. It has been changed somewhat to fit in an Amiga. The current version, V5.0 has the double precision arrays changed from the original size of 200000 to 20000, the same as the IBM version. This is not much of a limitation, however. The Amiga version is more limited by speed, than memory requirements. The minimum required ram for this version is 1 MEG. This version also has some small additions, such as some output during execution, and improved error reporting. The best way to run Spice is to copy it, and all of the related files to ram. Spice and the files that go with it take up about 525K. Your input file has to have .inp on the end of it, like MOSAMP.inp Your output file will have the same name except with .out on the end. I use Emacs to write and view the text input and output files, but any text editor should work. ********************************************************************** ********************************************************************** **** BE SURE TO SET STACK TO AT LEAST 30000 BEFORE RUNNING, OR **** **** YOU WILL MEET THE GURU IN PERSON... USE STACK 30000 FROM CLI **** ********************************************************************** ********************************************************************** For an example run, from cli, type: SPICE MOSAMP --this program takes about 725 seconds to run-- --after it runs, you can view the output with emacs-- --or any other text editor. Here's the emacs command-- emacs MOSAMP.out (use cntrl-v to page down, esc-v to page up, in EMACS) This version will handle very large circuits, even with 1 Meg of ram. I have included 2 test programs. One is MOSAMP.inp, a MOSFET based amplifier with 27 MOSFET's. Another example program is 741.inp, a complete equivalent 741 opamp. This file takes about 34 seconds to run. Future plans for this program are mostly concerned with adding a PROBE command, like the IBM and MAC versions have. The type I have in mind will make full use of the Amiga's windowing and graphics. The IBM version uses .PROBE as a Spice command to write a data file, which as used by another program (PROBE) to actually plots the data. The PROBE program does not have pull down menus, or many color options, something I bought the Amiga for. If anyone has any suggestions about features that should be added, bug reports, or any comments at all, please contact me at: Dan Warns 2704 32nd Street Lubbock, Texas 79410 806-792-8266 Compu$erve: 72060,101 Genie D.WARNS The chart below lists some of the features that I have actually tested, most as compared to Pspice, the PC version. A fair book on the commands (for the IBM version) is: Spice, a guide to circuit simulation & analysis using Pspice by Paul W. Tuinenga published by Prentice-Hall, ISBN 0-13-834607-0 costs about $20 code to below chart: OK = Pspice version of command seems to work NG = " " " " is not supported by V5.0 * (comment) = OK ; (in-line comment) = NG .AC = OK .DC = OK .END = OK .ENDS = OK .FOUR = OK .IC = OK .INC = NG .LIB = NG .MC = NG .MODEL = OK .NODESET = OK .NOISE = OK .OP = OK .OPTIONS = OK, except for the NOECHO option .PLOT = OK .PRINT = OK .PROBE = NG .SENS = OK .SUBCKT = OK .TEMP = OK .TF = OK .TRAN = OK .WIDTH = OK That's it for now, folks. D. Warns Electrical Engineering Department Texas Tech University, 10/6/89 Revision History: Version 5, Revision 0: Release Date 10/6/89 Initial Release Version 5, Revision 1: Release Date 11/9/89 This release doesn't have any changes to the Spice program itself, but all of the related files have been linked together to make one big(bigger) file. The old demo file EXAMPLE1a.inp has been deleted, since it uses some commands not supported by this (or the mainframe) version of Spice. A small change was made in the MOSAMP.inp file, for a more realistic picture of the bandwidth. A new demo file, 741.inp is a complete op-amp file. This is the version released to Fred Fish for inclusion in his famous public domain library.