Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4886

use events in spectreMDL expressions

$
0
0

I am exploring spectreMDL. One of the feature I would like to use at the  moment is to stop a transient simulation at a given condition. My current DUT needs to be configured, and it takes different amount of time depending on the PVT corners.  I detect the time-event when the DUT is ready with an assert. I use this assert in a paramset file. Is there a way to either reference an assert, or to define an event and use it in MDL expressions? In the example below I would like to disable the cross() function before an event. How could I do it?

alias measurement stop_after_1cycle {
  export real event
  run tran
  event = cross(sig=V(sig), dir='rise, thresh=1.25, n=2, start=@(myassert))
}
run stop_after_1cycle


Viewing all articles
Browse latest Browse all 4886

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>