I am running a trim procedure similar to what is discussed in this ticket from 4 years ago: https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/40480/error-during-using-calcval-for-calibration-and-performing-temperature-sweep
Using the ?getFirstSweepPoint argument as recommended by Dimitra, I was able to run a supply and temperature sweep after trimming at room with my typ supply. I too would like to run a MonteCarlo sim now except I would like to sweep both the supply and temperature instead of just the supply as was discussed in the previous ticket. I did my best to try to modify the example shown in the previous ticket to work for two variables unfortunately after working for the first several iterations of my testbench, it fails after about the fourth trim step giving me the failure that the variable is nil. The syntax I tried is as follows:
myVar = calcVal(“trim_code” “trim_step1” ?matchParams list( list("temperature" "25") list("V_VDD" "1.8") ) )
Assuming that my variable name, previous test name and parameter names are all correct, is there an obvious syntax error here that I am missing? Is there a different way I should be argument I should be using aside from matchParams for a monteCarlo sim? Am I adding the two parameters to be swept correctly?
Thanks,
Brian