Synthesis reporting updates

This commit is contained in:
David Harris 2024-04-28 16:52:45 -07:00
parent 055cfcb717
commit b50bb4cad8
2 changed files with 16 additions and 9 deletions

View File

@ -33,9 +33,9 @@ def synthsintocsv():
for oneSynth in allSynths: for oneSynth in allSynths:
descrip = specReg.findall(oneSynth) descrip = specReg.findall(oneSynth)
print("From " + oneSynth + " Find ") # print("From " + oneSynth + " Find ")
for d in descrip: # for d in descrip:
print(d) # print(d)
if (descrip[3] == "sram"): if (descrip[3] == "sram"):
base = 4 base = 4
else: else:
@ -54,7 +54,7 @@ def synthsintocsv():
for phrase in ['Path Slack', 'Design Area']: for phrase in ['Path Slack', 'Design Area']:
bashCommand = 'grep "{}" '+ oneSynth[2:]+'/reports/*qor*' bashCommand = 'grep "{}" '+ oneSynth[2:]+'/reports/*qor*'
bashCommand = bashCommand.format(phrase) bashCommand = bashCommand.format(phrase)
print(bashCommand) # print(bashCommand)
try: try:
output = subprocess.check_output(['bash','-c', bashCommand]) output = subprocess.check_output(['bash','-c', bashCommand])
nums = metricReg.findall(str(output)) nums = metricReg.findall(str(output))

View File

@ -1,14 +1,21 @@
# Run all Wally synthesis experiments from chapter 8 # 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 # However, trying to run the freqsweeps at the same time maxes out licenses and some runs fail
#./wallySynth.py --freqsweep 330 --tech sky130 # Adding the sleep gives them time to finish.
#./wallySynth.py --freqsweep 870 --tech sky90 ./wallySynth.py --freqsweep 330 --tech sky130
#./wallySynth.py --freqsweep 2800 --tech tsmc28psyn --usesram 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 sky130 --targetfreq 330
./wallySynth.py --configsweep --tech sky90 --targetfreq 870 ./wallySynth.py --configsweep --tech sky90 --targetfreq 870
./wallySynth.py --configsweep --tech tsmc28psyn --targetfreq 2800 --usesram ./wallySynth.py --configsweep --tech tsmc28psyn --targetfreq 2800 --usesram
./wallySynth.py --featuresweep --tech sky130 --targetfreq 330 ./wallySynth.py --featuresweep --tech sky130 --targetfreq 330
./wallySynth.py --featuresweep --tech sky90 --targetfreq 870 ./wallySynth.py --featuresweep --tech sky90 --targetfreq 870
./wallySynth.py --featuresweep --tech tsmc28psyn --targetfreq 2800 --usesram ./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