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

when cross() fails

$
0
0

Hi,

In my sim, I sweep code A and check output B, and use cross() function to find the code A so that B = B_target

Understandably, when there is no crossing, cross() returns nothing. My question is, if B vs code A is monotonic, is there a way to output max(code A) when max (B) < B_target and vice versa?

thanks,

Kevin

btw, it doesn't look like calculator accepts logic expressions. i.e, this one doesn't work output = (B<B_target)*max(code A) + cross()


Viewing all articles
Browse latest Browse all 4906

Trending Articles



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