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.

.MEASURE usage in HSPICE for find the max value

Status
Not open for further replies.

Goldeneagle

Member level 2
Joined
May 28, 2007
Messages
43
Helped
8
Reputation
16
Reaction score
3
Trophy points
1,288
Location
Electronic City !! :-)
Activity points
1,520
Hi,

How do i measure the max value among a set of values say from n1 to n10... where n1 to n10 are the timing delays measured using a different measure statements..

like..

.mea tr n1 trig .... targ...
.mea tr n2 trig .... targ...
.mea tr n3 trig .... targ...
.mea tr n4 trig .... targ...
.mea tr n5 trig .... targ...

bcoz the following is not working...
.mea tr max_value PARAM='max(n1, n2, n3, n4, n5)'

is giving me an error..

Thanks in Advance..
 

Include the error. Is it "too many arguments in function call" ?

you can not include more than two arguments in max() function.
you can write your netlist more wisely :D

for 3 arguments for example:

Code:
.measure tran max1 param='max(n1,n2)'
.measure tran max2 param='max(max1,n3)'

and "max2" is the maximum value of "n1,n2.n3"
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top