Renato_PERU_1979
Newbie level 2
People, please, I'm new in the use of HSPICE, so I need some helps. I tried to simulate somethings with a mosfet. and I tried to find the maximun point in the deriv('sqrt(id(mn1))') and the Vgs for that point, and the sqrt(id(mn1)) for the same Vgs point. I know that I can do that using par functions and plotting in cosmo scope, but I want to use the Measure command. I did something like this to find the maximun point in the deriv('sqrt(id(mn1))') and the Vgs for that point:
The hspice gave me the good answer : deriv_sqrt_id_max= 5.7847E-03 at= 1.1300E+00
But the problem is when a tried to use the same command .measure to find the sqrt(id(mn1)) in that point. I tried something like this:
I know that I wrong in the last code, but I tried to explain what I want, something like "to nested" or "to link" the measure command. Is it possible?
Thanks!
Code:
.measure dc deriv_sqrt_id_max max deriv'(sqrt(id(mn1)))'
The hspice gave me the good answer : deriv_sqrt_id_max= 5.7847E-03 at= 1.1300E+00
But the problem is when a tried to use the same command .measure to find the sqrt(id(mn1)) in that point. I tried something like this:
Code:
.measure dc deriv_sqrt_id_max max deriv'(sqrt(id(mn1)))'
.measure dc sqrt_id find par('sqrt(id(mn1))') when par='max(deriv(sqrt(id(mn1))))'
I know that I wrong in the last code, but I tried to explain what I want, something like "to nested" or "to link" the measure command. Is it possible?
Thanks!