Dear NewScreenName, [quote userid="549138" url="~/cadence_technology_forums/f/mixed-signal-design/58472/soa-checks-across-multiple-pvt-runs/1396081#1396081"]How could I have a python script to run automatically to all the out_file.soa generated in the different directories after the simulation finished?[/quote] I may be able to help a bit with this. I assembled a shell script that will traverse an Assembler database and run a python script on each netlist instance of the file "out_file.soa". I do not know what type of output your python script produces, so I wrote an example schell script that takes a filename as an argument and prints the contents of the file. I created a sample Assembler database as "Interactive.1" with 4 corners and placed an different "out_file.soa" i each netlist directory. The sample python script is called "print_soa_file.py" and the script name is "run_python_script_sml_120423.sh'. The shell script has 3 arguments: 1. The path to the simulation results (i.e., location of Interactive.X directories) 2. The Interative.X number (i.e., the numeric value of X) 3. The name of the python script in the current directory In the example I included, the runline is also included and contains the single line: $ cat runline run_python_script_sml_120423.sh /Users/sml/Desktop/python_script_scan_netlist_dir/myhome/simulation 1 print_soa_file.py $ The script, example python file, example simulation directory, and a README file are all contained in the attached compressed zip directory. I hope this is useful NewScreenName. [quote userid="549138" url="~/cadence_technology_forums/f/mixed-signal-design/58472/soa-checks-across-multiple-pvt-runs/1396081#1396081"]And if possible, any way an ocean script could read the output of such script (a string) to directly print it in the ADE assembler results? [/quote] An ocean script may also be used to navigate the Assembler database. I have included a sample ocean script with comments for one to modify for their use in several Forum posts. Shawn community.cadence.com/.../python_5F00_script_5F00_scan_5F00_netlist_5F00_dir.zip
↧