You are on page 1of 10

ELDO SPICE

SPICE
Simulated Program for Integrated Circuit
Emphasis
Developed in Berkeley
Versions: PSPICE, HSPICE, B2SIM, LTSPICE,etc.
Its a program to simulate circuit without
building hardware. Its a computer aided
design tool
Various analysis: Operating point, Time
domain analysis, Small signal analysis,etc.

Simulator Equations
Parameters Model file
.cir file
ELDO
.chi .wdb .id
Statements in circuit file
Title line:- .TITLE nmos.cir
Comment line:- begins with *
Element line:- M MOS , V Voltage source,
I Current source, R Resistor,
C - Capacitor
Control line:- .dc analysis, .ac analysis, .tran
analysis, .probe probes all nodes voltages & currents
.END line:- ends the circuit file

->NOTE: First line is always taken as a comment line.
Paths for ELDO SPICE
Library path for eldo SPICE:
.LIB "/linuxeda/dk/tsmc018/models/fp1/eldo/log018.eldo" TT
Corners specified as TT,FF,SS,etc.
Sourcing eldo SPICE:
source /linuxeda/scripts/mentor/icflow.csh
Simulating circuit file:
eldo <filename.cir> after sourcing from the same
path
Waveform viewer:
ezwave& : opens ezwave waveform viewer


Important syntax
Defining MOS:
M<mosname> <drain> <gate> <source>
<substrate> <modelname> L=<length>
W=<Width>
Eg:
M1 N2 N1 GND GND NCH L=180n W=1080n
Model names (NCH3,PCH3,etc.) can be found from library file
NCH3 for NMOS , PCH3 for PMOS (for TSMC 180nm)



Important syntax(Contd.)
Defining Voltage source:
V<voltage name> <node1> <node2> DC=<value>
AC=<value> SIN(<dc value> <ac value> <freq>)
Eg:- VIN VI1 VI2 DC=0V AC=0.3mV sin (0V 0.3mV 0.1k)
Same for current source. It must start with I
instead of V

Important syntax(Contd.)
DC analysis:
.DC <voltage source> <start value> <stop value> <step increment>
Eg:- .dc vindc 0 3.3V 0.1V
AC analysis:
.AC [LIN][OCT][DEC] <points> <start> <end>
Eg:- .AC DEC 10 1MEG 100MEG
TRANSIENT analysis:
.TRAN <step value> <final time>
Eg:- .TRAN 5NS 100NS
Operating point:
.op
Operating points can be found in .chi file

Sample circuit file
.TITLE NMOS.CIR
.CONNECT GND 0
.LIB "/linuxeda/dk/tsmc018/models/fp1/eldo/log018.eldo" TT_3V
MOS1 N1 N2 GND GND NCH3 L=0.18u W=0.36u
VDS N1 GND 3V
VGS N2 GND 3V
.DC VDS 0 3V 0.1V VGS 0 3V 0.1V
.PROBE
.END

You might also like