Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Hspice .measure question

Status
Not open for further replies.

taoly

Member level 1
Joined
Mar 5, 2003
Messages
32
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
149
I run a amplifier AC simulation with hspice. I wonder how can i get the output gain at different input signal frequency(such as 1kHz) by .measure?

thx.
 

aryajur

Advanced Member level 3
Joined
Oct 23, 2004
Messages
793
Helped
124
Reputation
248
Reaction score
37
Trophy points
1,308
Location
San Jose, USA
Activity points
7,788
There are lot of examples given in the HSPICE manual, I don't have the manual presently but I think this is the correct syntax:

.measure ac gain find v(node_for_gain) AT=1K

since you might be having a unity magnitude AC source for input ac voltage at any node will correspond to the gain upto that node. You can use an other name ofr your parameter than 'gain' which I used above.
 

777cbr

Newbie level 1
Joined
Nov 1, 2007
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
The only thing that I would do different is to use a
.LET AC GAINVECTOR=V(OUT)/V(IN)
and then substitute GAINVECTOR for v(node_for_gain)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top