Help on Simulation on HSPICE

Status
Not open for further replies.

awan

Advanced Member level 4
Joined
Jun 11, 2004
Messages
106
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
Los Angeles
Activity points
815
Hi;

I am new to HSPICE and trying to simulate simple ID vs. VGS characteristics of a MOSFET. Can someone please help me to verify the following is the netlist:

I am not getting the variation of current against the DC voltage.

Question 1
VDD 10 0 DC 2.5
M1 2 1 0 0 CMOSN w=10u l=.25u
R 10 2 1000
VIN 1 0 DC 10
.DC VIN 0 10 0.1
.PLOT I(2) V(1,0)

Also, attached is the Output file for the simulation.
Thanks
 

I don't think it is going to work,

You should either have a .tran or a .ac command in your code depending on your simulation.

Also, I always prefer to define the voltage source as follows:

Vdd dd 0 1

I do not think putting the DC makes any difference. If it does, please tell me
 



I think it works,if only add some options such as ".option node list post........"
In your case so far as I know, no pic will be seen.
 

Yes, add a statement like .options post=1
 

The problem is that the current is being measured as I(2). Rather it should be meaured through the device like I(m1).
 

If you want to get I-V curves of a MOSFET, you can compose a netlist as bellow:

$title line

MI1 D G GND GND NMOS w=10u l=0.25u
VDS D GND
VGS G GND


.options post
.dc VDS 0 2.5 0.5 VGS 0 2.5 0.5
.print dc I(MI1)

.end
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…