Hspice .measure question

Status
Not open for further replies.

taoly

Junior Member level 3
Joined
Mar 5, 2003
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
138
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.
 

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.
 

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.

Similar threads

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