hspicecc.ee.nchu.edu.tw/~aiclab/teaching/vlsi_lab/hspice教學.pdf · simulation •...
TRANSCRIPT
-
HSpice 09/10/29
-
OutlineOutline
Introduction Teach file Teach file Simulation Project
-
IntroductionIntroduction
-
HspiceHspice
SPICE(*.sp)
-
: !#$%*+-/ [ ]>[]_
1024 :Tab(Blank)
(Comma)(=)(Parentheses) ()()
(:) X
-
1. Instance and Element Names2. Units and Scale Factor()
-
3. Independent Source Functiona) Piecewise Linear Source Function - PWL or )PL
-
b) Pulse Source Function - PULSE
-
c) Sinusoidal Source Function
-
4. Transient Analysis - .TRAN Analysis
-
5. DC Analysis - .DC Analysis
-
6. AC Analysis - .AC Analysis
-
7. MOSFETSPICE
-
SimulationSimulation
netlist1 1.
2.p 18p_18
n_18
-
3.
-
4.
-
5.>>hspice>>hspice
>>inv.sp
-
6. cscope
-
cscopecscope
(1)Terminal cscope
(2)cscope(2)cscopeFILEOpenPlotfiles*.tr0 (EX:inv.tr0
-
(3) Open awave
-
(4)
-
ProjectProject
1.INV 2 NAND2.NAND
-
3.TG
-
v1 ck gnd pulse(0 1.8v 0ns 0.1ns 0.1ns 5ns 10ns)2 kb d l (1 8 0 0 0 1 0 1 10 )v2 ckb gnd pulse(1.8v 0 0ns 0.1ns 0.1ns 5ns 10ns)
v3 vin gnd pwl(0 0v 6ns 0v 6.1ns 1.8v 16ns 1.8v 16.1ns 0 21ns 0 22.1ns 1.8v)