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.

.meas command issue for Hspice 2017

Status
Not open for further replies.

cheweiwu

Newbie level 2
Joined
May 30, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Taiwan
Activity points
1,298
Hspice 2017 .meas command issue

Dear All,

there's a .meas command problem i met for different version of Hspice.

if there are 3 delay time obtained by .meas command

for example:

tr1 = 1e6
tr2 = 2e6
tr3 = failed

and i use MAX option to find the largest one:

.meas tran trise param="max(tr1,tr2,tr3)"

if version of spice = 2014

trise = 2e6

if version of spice = 2017

trise = failed


i tried MEASFAIL option, which would not help because the option

just replace "failed" to 0 in .mt# and not involve the calculation of MAX option.

Does anyone know how to execute MAX option with failed parameter in 2017 Hspice?

Thanks a lot ...
 

Re: Hspice 2017 .meas command issue

Try performing the base .measures first, with error
trapping and substitution of a benign real number
for any "failed". Then do the max() knowing that a
sane value exists for all, beforehand.

Seems like there might have been a built-in default
assigned to "failed" (NaN, in other simulators?) that
got changed across the major release boundary.

HSpice vendor applications engineering would likely
be a better resource for you, than random volunteers
from Teh InterWebz.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top