I would like to change the value variable (global or local to a test) every time a given test runs.
I have created a local variable (numOfRuns), which is initialised to zero. Every time the test is run, the variable should be incremented by 1.
Later, I will the use this value to be included into the expressions I have created in the "outputs setup" tab.
Thanks in advance.
Not sure off the top of my head how easy this is to do (or even if it's possible - although that may dependent upon your precise requirements). My first question would be why you would want this? It seems a bit unusual...
The second question would be whether you want it to increment each time you hit the run button, or per actual simulation point (so if you do sweeps and/or corners, should it increment then too)?