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

Syntax in ADE output expression for finding the minimum of two or more numbers

$
0
0

Product: IC6.1.8

An output "A" is defined and its value is returned (i.e., updated, refreshed) per Spectre simulation run. Then I want to define another output "B", whose value is the smallest of output "A" and "0.5" (for example). How do I construct the output expression for "B"? I was thinking something like B = min(A, 0.5).

I've tried Calculator function "ymin" like this B = ymin(A 0.5), but for ymin, the syntax of A 0.5 is wrong, apparently, my sense is that A 0.5 has to form a vector, but how? I don't know. I've tried [A 0.5], or {A 0.5}, i.e., B = ymin([A 0.5]), that didn't work. When I searched Cadence knowledge base, I found this article but it leads to nowhere.

https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/23964/about-selecting-the-minimum-value-among-two-or-more

Would someone please help?


Viewing all articles
Browse latest Browse all 4925

Trending Articles



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