Node Condition Monitoring

Discussion in 'Cadence' started by Jake, Mar 19, 2007.

  1. Jake

    Jake Guest

    Hi,

    Does Spectre have a way to flag a node during a transient simulation
    that has exceeded a user-specified range? If so, how do you use it?

    Thanks,
    Jake
     
    Jake, Mar 19, 2007
    #1
  2. Use spectre's "assert" statement (spectre -h assert).

    For example:

    //

    vsin (sin 0) vsource type=sine ampl=1 freq=1M

    badvolt assert expr="v(sin)" max=0.9 message="sin voltage got too big"

    tran tran stop=10u

    This outputs into the log file message such as:


    Warning from spectre at time = 233.333 ns during transient analysis `tran'.
    badvolt: sin voltage got too big. Expression `v(sin)' has exceeded its upper
    bound `900e-03'.

    ..

    Warning from spectre at time = 400 ns during transient analysis `tran'.
    badvolt: Expression `v(sin)' has returned to within bounds [-340.282e+36,
    900e-03].

    Regards,

    Andrew.
     
    Andrew Beckett, Mar 20, 2007
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.