Hspice Tutorial
Author: Jeannette Djigbenou
This tutorial shows hspice simulation of a CMOS inverter. A good tutorial on spice simulation is available here.
- Before you run your SPICE simulations in a new xterm or rxvt window, run the following UNIX command in your UNIX directory:HSpice
And the UNIX cursor should change, for instance if your username is myname and your working directory is myworkdir, and you are using the machine fox, The cursor should change from:
myname@fox ~/myworkdir>to:
[HSpice] myname@fox ~/myworkdir>
For the rest of this document, the instructions will be based on the simulations for the TSMC 0.18um process. However, some alternate files for TSMC 0.25 um, 0.35um and HP 0.5um process will also be indicated.
Copy the following inverter netlist file and MOSFET model file into your working directory.
IBM 90 nm Coming Soon! | IBM 0.13 um inv_tr_013.sp for transient analysis. inv_fr_013.sp for frequency analysis. |
TSMC 0.18 um | TSMC 0.25 um |
TSMC 0.35 um inv_tr_035.sp for transient analysis. inv_fr_035.sp for frequency analysis. tsmc_035um_model for 0.35 um process model. | HP 0.5 um inv_tr_050.sp for transient analysis. inv_fr_050.sp for frequency analysis. hp05um_model for 0.5 um process model. |
22nm Predictive Technology Model from ASU: | Other spice models can be found on the MOSIS web page and the PTM website. |
Note that the SPICE (.sp) toplevel file must contain a line, usually near the end, saying:
.option post
This case-insensitive line may specify other options in addition, such as:.option POST NOMOD accurate
but the option POST must be specified!