Introduction to HSPICE
Introduction to HSPICE Introduction to HSPICE
Simulation Environment Setup• .LIB: To use the technology files provided by TSMC/UMC.Syntax. .LIB ‘(\)’ Example. .LIB ‘.\NOTHING.l’ TT• .PROT(ECT)/.UNPROT(ECT): Indicate parts notshown in listing files (.lis).Syntax.Example..PROT(ECT) and .UNPRT(ECT).PROT.LIB ‘.\NOTHING.l l’ TT.UNPROT• .INCLUDE: Include other files.Syntax. .INCLUDE ‘(\)’Example. .INCLUDE ‘.\EMPTY.sp’• .MODEL: Create a new model with parameters you provided.Syntax..MODEL + Example..MODEL nch NMOS LEVEL=1+ VT=1.2 KP=200u LAMBDA=0.04EE2270 Microelectronic Circuits Laboratorym9763518 Cho, Wei-Han
Simulation Environment Setup• .PARAM: Declare a new variable with initial value you gives.Syntax. .PARAM =pvalueor .PARAM =or .PARAM =‘’Example. .PARAM RL1=20Kor .PARAM RL2=RLor .PARAM RL3=‘2*RL1’• *.GLOBAL: Assign a node name globallySyntax. .GLOBAL …Example. .GLOBAL vdd vss※ Initially ‘0’, ‘gnd’, ‘gnd!’, ‘ground’ are global l node name as ground.EE2270 Microelectronic Circuits Laboratorym9763518 Cho, Wei-Han
- Page 1 and 2: Introduction to HSPICE• What’s
- Page 3 and 4: Star-HSpice EnvironmentOrientation
- Page 5 and 6: AvanWaves Graph InterfaceClick!1.2.
- Page 7: Simulation Environment Setup• .TI
- Page 11 and 12: • Components:Components & Sources
- Page 13 and 14: Components & Sources• Input line
- Page 15 and 16: Performing Analysis• .OP: Analyze
- Page 17 and 18: Output Specify• .PRINT: Print vol
- Page 19 and 20: Output Specify• .PROBE: Probe dat
- Page 21 and 22: Output Specify• Output Variable S
- Page 23: Example• Example_DC1: I D -V DS c
Simulation Environment Setup• .LIB: To use the technology files provided by TSMC/UMC.Syntax. .LIB ‘(\)’ Example. .LIB ‘.\NOTHING.l’ TT• .PROT(ECT)/.UNPROT(ECT): Indicate parts notshown in listing files (.lis).Syntax.Example..PROT(ECT) and .UNPRT(ECT).PROT.LIB ‘.\NOTHING.l l’ TT.UNPROT• .INCLUDE: Include other files.Syntax. .INCLUDE ‘(\)’Example. .INCLUDE ‘.\EMPTY.sp’• .MODEL: Create a new model with parameters you provided.Syntax..MODEL + Example..MODEL nch NMOS LEVEL=1+ VT=1.2 KP=200u LAMBDA=0.04EE2270 Microelectronic Circuits Labora<strong>to</strong>rym9763518 Cho, Wei-Han