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.

[SOLVED] HSPICE simple simultaneous usage of SWEEP and measure statement

Status
Not open for further replies.

dnanar

Junior Member level 1
Joined
May 8, 2014
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
140
Hi,


I'm trying to learn how to use HSPICE through some tutorials and the reference manual but I'm running into a problem that I can't solve.

I want to know how my circuit responds for various input voltages through time:

Code:
.tran 0.01p Tsimu SWEEP vdd 0.15 0.85 0.10

However, I want to get the timing when some signal s15 arrives at 0.9*vdd so I do (the first line is just to display vdd*0.9):
Code:
.measure TRAN vdmax PARAM = 'vdd*0.9'
.measure TRAN t WHEN V(s15) = vdmax RISE=1

My problem is that the value for vdmax stays always identical to the value in the first sweep... (stuck to 0.15*0.9). Does anyone know how to solve this? What is the proper way to do that please?


Thanks!
 

Code:
.measure TRAN vdmax PARAM = 'vdd*0.9'
.measure TRAN t WHEN V(s15) = vdmax RISE=1

My problem is that the value for vdmax stays always identical to the value in the first sweep... (stuck to 0.15*0.9). Does anyone know how to solve this? What is the proper way to do that please?

I'm not sure, but perhaps PARAM is just in the wrong statement?
Code:
.measure TRAN vdmax = 'vdd*0.9'
.measure TRAN t WHEN V(s15) PARAM = vdmax RISE=1
MEAS_equation_evaluation.png
 
  • Like
Reactions: dnanar

    dnanar

    Points: 2
    Helpful Answer Positive Rating
Thanks, that was it!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top