Matt VD
New Member
Offline
Posts: 7
|
Just as an update.... in the newest version of VerilogA you CAN use string variables to open files. I use VerilogA extensively as the way to store results and automate measurements over corners, different settings, etc. To do this, I usually set my file variable string to something like the following: file_results_%D_%T_%P.txt Where %D = date, %T = time, %P = PID. Then I will cat all the file_results*.txt into a csv file, and use Excel to look at the results. (I write my VerilogA to output data in Excel PivotChart/Pivot Table readable format... if you've never used Pivot Chart in Excel, you should definitely take a look. It's a big help for data-analysis over corners/settings and quick plots of exactly what you want.)
In the newest version of VerilogA, you can also read in from a text file and use this to control the simulations (for example, I use this feature to automate setting trim bits over corners).
|