I have written a behavioral model using verilog-a and want to simulate it using spectre.
Additionally, I want to study how the statistical variations of some of the parameters defined in my model affect the overal electrical characteristics, that is, I need to do a Monte Carlo simulation for this study.
I know how to do the Monte Carlo simulation provided with foundry PDK, so my problem is whether can I do the Monte Carlo with the parameters that I defined in my verilog-a model and plot the statistical analysis results as a histogram or something?
Thanks if any of you could lend me a hand on this!
There's an example in this solution of how to do this.