HSpice Tutorial #0

References for HSpice


 

HSpice Output File Name Extension

Analysis Type HSpice Netlist Command Output File Name Extension
DC Analysis .DC .sw#
Transient Analysis .TRAN .tr#
AC Analysis .AC .ac#

DC Analysis

Example #1

*** DC Sweep for VIN from 0V to 5V with the increment of 0.5V
.DC  VIN  0  5  0.5

     

Example #2

*** DC Sweep for VGS from 0V to 5V with the increment of 1V
*** For each value of VGS, perform DC Sweep for VIN from 0V to 5V
*** with the increment of 0.5V
.DC  VIN  0  5  0.5  VGS  0  5  1

 

Transient Analysis

*** Transient Analysis from 0 sec. to 100 ns with the increment of 1ns
.TRAN  1ns  100ns

 


last update: October 30, 2009