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

Finding and transferring the value of a variable that gives the minimum value of an output in a test where more than one variable swept to another test using calcVal function in Assembler

$
0
0

Hello,

I am using Virtuoso version IC6.1.8.

My goal is to transfer and assign the output (let's call output_2) of one test (let's call test_1) to one of the variables (let's call var_2) of another test (let's call test_2) in Assembler.

In test_1, I run a DC analysis where I sweep temperature as the Sweep Variable in DC analysis settings. Additionally, I sweep another variable (let's call var_1) using the Design Variables (i.e. var_1 = 0:1:7).

At the end of test_1, I would like to find the var_1 value that results in the minimum output_1 value and transfer it to the var_2 variable of test_2. I can find the var_1 value that results in the minimum output_1 value by evaluating xmin(output_1) expression in the calcualtor and I get the correct var_1 value. However, when I assign the same expression to an output, I get "eval err" because this output is calculated for each swept var_1 value instead of taking the full range (0:1:7) into account. At the end, the following, which came to my mind as the first idea, doesn't work:

For test_1; output_2 =  xmin(output_1)

For test_2; var_2 = calcVal("output_2" "test_1")

How can I make this work?

Many thanks in advance.

Best regards,

Can


Viewing all articles
Browse latest Browse all 4906

Trending Articles



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