From b50bb4cad84761096adec85adbbe8dbe4a9aca1d Mon Sep 17 00:00:00 2001 From: David Harris Date: Sun, 28 Apr 2024 16:52:45 -0700 Subject: [PATCH] Synthesis reporting updates --- synthDC/extractSummary.py | 8 ++++---- synthDC/wallySynthAll.sh | 17 ++++++++++++----- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/synthDC/extractSummary.py b/synthDC/extractSummary.py index 150f20efb..354c6f70f 100755 --- a/synthDC/extractSummary.py +++ b/synthDC/extractSummary.py @@ -33,9 +33,9 @@ def synthsintocsv(): for oneSynth in allSynths: descrip = specReg.findall(oneSynth) - print("From " + oneSynth + " Find ") - for d in descrip: - print(d) +# print("From " + oneSynth + " Find ") +# for d in descrip: +# print(d) if (descrip[3] == "sram"): base = 4 else: @@ -54,7 +54,7 @@ def synthsintocsv(): for phrase in ['Path Slack', 'Design Area']: bashCommand = 'grep "{}" '+ oneSynth[2:]+'/reports/*qor*' bashCommand = bashCommand.format(phrase) - print(bashCommand) +# print(bashCommand) try: output = subprocess.check_output(['bash','-c', bashCommand]) nums = metricReg.findall(str(output)) diff --git a/synthDC/wallySynthAll.sh b/synthDC/wallySynthAll.sh index 9af40a379..f235c73e3 100755 --- a/synthDC/wallySynthAll.sh +++ b/synthDC/wallySynthAll.sh @@ -1,14 +1,21 @@ # Run all Wally synthesis experiments from chapter 8 # However, trying to run the freqsweeps at the same time maxes out licenses and some runs fail -#./wallySynth.py --freqsweep 330 --tech sky130 -#./wallySynth.py --freqsweep 870 --tech sky90 -#./wallySynth.py --freqsweep 2800 --tech tsmc28psyn --usesram +# Adding the sleep gives them time to finish. +./wallySynth.py --freqsweep 330 --tech sky130 +sleep 300 +./wallySynth.py --freqsweep 870 --tech sky90 +sleep 300 +./wallySynth.py --freqsweep 2800 --tech tsmc28psyn --usesram +sleep 300 + +# These jobs can run in parallel and take longer ./wallySynth.py --configsweep --tech sky130 --targetfreq 330 ./wallySynth.py --configsweep --tech sky90 --targetfreq 870 ./wallySynth.py --configsweep --tech tsmc28psyn --targetfreq 2800 --usesram ./wallySynth.py --featuresweep --tech sky130 --targetfreq 330 ./wallySynth.py --featuresweep --tech sky90 --targetfreq 870 ./wallySynth.py --featuresweep --tech tsmc28psyn --targetfreq 2800 --usesram -# Extract summary data (run this by hand after all experiments finish) -#./extractSummary.py --sky130freq 330 --sky90freq 870 --tsmcfreq 2800 + +# Extract summary data (run this by hand after all experiments finish) +./extractSummary.py --sky130freq 330 --sky90freq 870 --tsmcfreq 2800