Spice32 / Nutmeg32 for Windows NT About Spice32 Spice32 is derived from UC Berkeley's Spice, version 3e2. Spice32 is the Windows NT port of Berkeley's Spice V 3e2. This 32 bit program has a circuit file as the input and a binary database as the output. Nutmeg32 is derived from the Berkeley Nutmeg program, which is an interactive graphics program used to display the database created by Spice32. Spice32 / Nutmeg32 is a general-purpose circuit simulation program for nonlinear dc, nonlinear transient, and ac analyses. Circuits may contain resistors, capacitors, inductors, mutual inductors, independent voltage and current sources, four types of dependent sources, lossless and lossy transmission lines, two switches, uniform distributed RC lines, and the five most common semiconductor devices: diodes, BJTs, JFETs, MESFETs, and MOSFETs. The Berkeley SPICE3 version is based directly on SPICE 2G.6. While SPICE3 is being developed to include new features, it continues to support those capabilities and models which remain in extensive use in the SPICE3 program. SPICE3 has built-in models for the semiconductor devices, and the user need specify only the per model parameter values. The model for the BJT is based on the integral-charge model of Gummel-Poon; however, if the Gummel-Poon parameters are not specified, the model reduces to the simpler model. In either case, effects, ohmic resistance, and a output conductance may be included. The diode model can be used for either junction diodes or Schottky barrier diodes. The JFET model is based on the FET model of Shichman and Hodges. Six MOSFET models are implemented: MOS1 is described by a square-law I-V characteristic, MOS2[1] is an analytical model, MOS3[1] is a semi-empirical model; MOS6[2] is a simple analytic model, accurate in the short channel region; MOS4[3,4] and MOS5[5] are the BSIM (Berkeley Short -channel IGFET) and BSIM2. MOS3, and MOS4 include second-order effects such as channel length modulation, subthreshold scattering-limited velocity saturation, small-size effects, and charge-controlled capacitances. To install and test: 1. create a spice directory. 2. Unzip into this directory. 3. Use "File, New" from the file manager to create an icon for nutmeg32.exe in the appropriate group. (or just double click on nutmeg32.exe) 4. Run nutmeg32.exe 5. Create a database from the menu: File, Create database... Select the included file "diff.cir" (This is a simple differential pair) (Or, you can run spice32 from the command prompt: "spice32 diff.cir -r diff.bin". Diagnostic output can be viewed in this manner. 6. Load the binary data base from the menu: File, Load database... Select the file "diff.bin" 7. From the Plot menu, type "v(3) v(5)" You should see a plot of both of the transistor's collector waveforms. 8. Try zooming on the plot with the mouse. (Click-hold, drag, release) 9. Zoom normal with a mouse left double click. 10. Select ac analysis from the menu by: "Analysis, ac" 11. Plot the frequency response with the plot menu with: "mag(v(3))" (Check the "xlog" button first.) 12. Try plotting frequency response in decibels from the plot menu with: "db(v(3))" 13. Test your own electronic crossover with the "xover.cir file" Follow the steps above, except transient analysis is not included. The output of the crossover is on nodes 4 and 9. To plot try: "-3 db(v(4))-4.1 db(v(9))-4.1" (Check the xlog radio button below the plot command line) This will plot a reference line at -3 dB and plot the lowpass and highpass sections. Because this crossover circuit has about 4.1 dB of gain, 4.1 is subtracted from from each plot to so that 0 dB is the reference. Pull down the AXIS, "Show Coordinates" menu to view cursor data. 14. Read on line help 15. Read on line help 16. Read on line help 17. Call me: Robert Zeff (209) 577-4268 x101, (209) 521-1448, Compuserve: 70323,1251, Fax (209) 577-8548 Please read the online help for additional operating instructions / registration, and example circuits. Two example circuits, diff.sch and xover.sch are provided in Protel for Windows "Advanced Schematic" format. Spice netlists can be generated directly from Protel. Diff.net & xover.net are examples of these Protel Spice listings Misc: If there's a toolbar available under options, it probably won't do anything, I've just started this code and I'm too lazy to disable this code for the distributed copies.