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

Using calcVal for calibrating a circuit using local sweeps

$
0
0

Hi,

In maestro I am wanting to run a cal test which sweeps a local variable called IL. For each local sweep I obtain an output, let's say Vout. This will be done over process only (temp and voltage is constant).
To keep it simple I am only sweeping IL over two points and therefore obtain two Vout results, one result for each sweep variable entry.

In the main test (no sweep, but will be run over PVT eventually) I want to use the two individual outputs of the cal test  to calculate a new variable that I want to use to scale the output waveform in the main test which will be run over PVT.
But even without corners making it difficult I fail to obtain the result I want.

In the main test I use the following:
calcVal("Vout" "cal_test" ?matchParams list(list("IL" 2))) - calcVal("Vout" "cal_test" ?matchParams list(list("IL" 1)))
which in my opinion gives me Vout ( for IL=2) - Vout (for IL=1). But this expression fails to evaluate when running the sim. It works in the calculator after the sims have run but fails to evaluate in the main test.

Maybe I am misunderstanding the use of the matchParams option in the calVal function.Any help is appreciated.

Thanks,

Version IC6.1.8-64b.500.32
Spectre Version 21.10.460


Viewing all articles
Browse latest Browse all 4886

Trending Articles



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