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

How to set conditional tests in ADEXL to avoid running tests not needed in a sequence of tests.

$
0
0

Hello All,

I am currently executing a pre-trim and pos-trim checks for an oscillator using ADEXL and Montecarlo sampling with the PSS tool. In the initial pre-trim I ran the simulation bench at 27degC and find a gross code approximation. Then in several post-trim simulations I refined the search to obtain the best code. I used a combination of "calcVal" and "VAR" to share information between the consecutive tests. The problem is that I am spending like 5 tests to find the best code even if in my first test I already found the best code. I would like to find a way to not enable the next tests if I already found the code in the first tests. Something like a conditional that if the error is less than half the LSB I would not run the next post-trim tests and I would run just the last two tests, that are actually at a different temperature sharing just the best code found in the first tests.

The sequence I follow is:

1) Run test at 27 degC and find the approximated code to center the frequency of the oscillator.

2) Run same test at 27degC with the code found in 1). Measure frequency and find a better code than in 1).

3) Run same test at 27degC with the code found in 2). Measure frequency and find a better code than in 2).

4) Run same test at 27degC with the code found in 3). Measure frequency and find a better code than in 3).

5) Run same test at 27degC with the code found in 4). Measure frequency and find a better code than in 4).

6) Run same test at 27degC with the code found in 5).

7) Run same test at -40degC with the code found in 5).

8) Run same test at 125degC with the code found in 5).

If the error during any of the steps 2) to 5) is less than the desired accuracy do not execute more tests at 27degC and jump directly to tests 7) and 8) saving the best code found in that specific test.

I already have this sequence working from 1) to 8) but I would like to save tests if they are not needed.

Thanks a lot for any help you can give me.

angel


Viewing all articles
Browse latest Browse all 4923

Trending Articles



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