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.

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top