Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

need help in parameter sweep in Hspice!

Status
Not open for further replies.

qslazio

Full Member level 3
Joined
May 23, 2004
Messages
175
Helped
18
Reputation
36
Reaction score
7
Trophy points
1,298
Activity points
1,420
hspice parameter sweep

Please see page34~35 in the lecture notes of my attachment.
On page 35 there is a plot which is generated by sweeping vstar and see the Ids.
Here vstar is a voltage definited by 2*Id/gm.
I'm wonder how i can plot this using Hspice or Spectre.
As we know, dc sweep can only sweep independent sources or parameters.

Can anyone help me with this? thanks

you can download the pdf also from this link:
**broken link removed**
 

hspice sweep parameter

This is probably most straigh-forward using HSpice.

First diode connect a transistor of any size and connect a DC source to the gate/drain. That will be your DC sweep.

Add the following lines to your spice deck.

.probe vstar = par('2*i(m1)/gmo(m1)')
.probe id = par('i(m1)')

This is assuming you have named your transistor "M1."

This creates the variables vstar and id in the choices when you go to plot the data. I believe they can be found under the "parameters" category in AWaves. I haven't done this recently, so I don't remember the exact names of the windows and such. But look around the AWaves window. You can also choose to set vstar as the x-axis, which is what you want.
 

hspice sweep

jayc said:
You can also choose to set vstar as the x-axis, which is what you want.

could you tell me how to choose vstar as the x-axis?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top