We will start using 0.25um technology.
Technology file for IRSIM simulation: tsmc025.prm
Technology file for HSPICE simulation: tsmc025.inc
When you use "extract", a file with extension ".ext" is generated. We have to convert it to IRSIM input file format and HSPICE input file format before simulate the extracted circuit. The tools for converting are "ext2sim" and "ext2spice". They are already installed.
We need add more information with the netlist we get from ext2spice before we simulate the circuit in HSPICE. Assuming we are designing a 2-input NAND gate and already get nand.spice from ext2spice. To do simulation in HSpice, we need a
0.25um MOSFET model file, and a hspice input file which specifies the power supply, input signal and simulation type. We can put all these things into a file called "nand.sp" . following is the content of this file:
* 2-input nand .include tsmc025.inc .op .options acct list post measout *power supply vdd vdd 0 dc 3.3 *inputs Vina a 0 PWL 0ns 0, 10ns 0, 10.001ns 3.3, 30ns 3.3, 30.001ns 0, 50ns 0 Vinb b 0 PWL 0ns 0, 20ns 0, 20.001ns 3.3, 40ns 3.3, 40.001ns 0, 50ns 0 *netlist .include "nand.spice" *simulation type .TRAN 0.1ns 50ns .END |