DOC PREVIEW
MIT 6 012 - HSPICE (Athena) Quickstart Guide

This preview shows page 1 out of 3 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

HSPICE (Athena) Quickstart Guide If you really cannot access a PC to run LTSpice, you can complete your simulations using HSPICE, a non-graphical SPICE compiler available on Athena, and plot your output files using Avanwaves. Write your SPICE file using any text editor and save it with a .sp extension. There are main sections in a SPICE file are the following: A. The netlist: Netlist is a designation for a computer readable representation of the circuit schematic. B. The models: A model in SPICE is a description of the parameters of the equations used by spice to analyze the circuit. C. The analysis to be performed: For example, a DC sweep from 0 to 1.0 V with 0.01 V increments, or a transient analysis for 100 ps with step 0.01 ps. D. The end of the file: This isn’t really a main section, but HSPICE won’t work without it, and many people forget about it. Always put a .end statement at the end of your file. Also, note that HSPICE always treats the first line of your netlist as a comment. Use the same device models as given for LTSpice but with the .sp extension. A minimum size instantiation of the MOSFET models is shown below: X1 OUT IN VDD VDD PFET lg=1.5u wg=6u X2 OUT IN GND GND NFET lg=1.5u wg=6u A sample HSPICE inverter SPICE file may look like the following: * Netlist vdd 1 0 3 vin in 0 3 X1 OUT in 1 1 PFET lg=1.5u wg=6u X2 OUT in 0 0 NFET lg=1.5u wg=6u * Models .include 'filename.sp' * Analysis (DC Sweep) * post option necessary for awaves .options nomod post .dc vin 0 pvdd 0.01 .endTo run HSPICE on a SPICE file ‘[filename].sp’ and plot the results in Awaves, use the following commands: % add hspice % hspice filename.sp > filename.out & % awaves filename & Documentation for HSPICE and Awaves can be found at: /mit/hspice/Z-2007.03-SP1/hspice/docs/hspice_sa.pdf /mit/hspice/Z-2007.03-SP1/hspice/docs/avanwaves.pdf Note: Awaves does not run on Linux. To run plot your waveforms while on a Linux box: % ssh –Y x.dialup.mit.edu % add hspice % awaves name &MIT OpenCourseWare http://ocw.mit.edu 6.012 Microelectronic Devices and CircuitsSpring 2009 For information about citing these materials or our Terms of Use, visit:


View Full Document

MIT 6 012 - HSPICE (Athena) Quickstart Guide

Documents in this Course
Quiz #2

Quiz #2

11 pages

Quiz 1

Quiz 1

11 pages

Exam 2

Exam 2

11 pages

Quiz 1

Quiz 1

13 pages

Quiz 2

Quiz 2

14 pages

Load more
Download HSPICE (Athena) Quickstart Guide
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view HSPICE (Athena) Quickstart Guide and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view HSPICE (Athena) Quickstart Guide 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?