mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-28 01:32:49 -04:00
wallySynthAll.sh automates running all synthesis experiments without maxopt
This commit is contained in:
parent
b692c913c4
commit
887cf935dc
2 changed files with 17 additions and 3 deletions
|
@ -10,7 +10,8 @@ from datetime import datetime
|
||||||
import re
|
import re
|
||||||
import collections
|
import collections
|
||||||
|
|
||||||
archs = ["rv32i_zicsr", "rv32im_zicsr", "rv32imc_zicsr", "rv32imc_zba_zbb_zbc_zbs_zicsr", "rv32imafdc_zba_zbb_zbc_zbs_zicsr"]
|
#archs = ["rv32i_zicsr", "rv32im_zicsr", "rv32imc_zicsr", "rv32imc_zba_zbb_zbc_zbs_zicsr", "rv32imafdc_zba_zbb_zbc_zbs_zicsr"]
|
||||||
|
archs = ["rv32imafdc_zba_zbb_zbc_zbs_zicsr", "rv32i_zicsr", "rv32im_zicsr", "rv32imc_zicsr", "rv32imc_zba_zbb_zbc_zbs_zicsr"]
|
||||||
|
|
||||||
def calcgeomean(d, arch):
|
def calcgeomean(d, arch):
|
||||||
progs = ["aha-mont64", "crc32", "cubic", "edn", "huffbench", "matmult-int", "minver", "nbody", "nettle-aes", "nettle-sha256", "nsichneu", "picojpeg", "qrduino", "sglib-combined", "slre", "st", "statemate", "ud", "wikisort"]
|
progs = ["aha-mont64", "crc32", "cubic", "edn", "huffbench", "matmult-int", "minver", "nbody", "nettle-aes", "nettle-sha256", "nsichneu", "picojpeg", "qrduino", "sglib-combined", "slre", "st", "statemate", "ud", "wikisort"]
|
||||||
|
@ -81,6 +82,6 @@ def run_arch_sweep():
|
||||||
os.system("mv -f wally"+res+".json "+dir+"/wally"+res+"_"+arch+".json")
|
os.system("mv -f wally"+res+".json "+dir+"/wally"+res+"_"+arch+".json")
|
||||||
return dir
|
return dir
|
||||||
|
|
||||||
#directory = run_arch_sweep()
|
directory = run_arch_sweep()
|
||||||
directory = "run_20231116_071322"
|
#directory = "run_20231117_082325"
|
||||||
tabulate_arch_sweep(directory)
|
tabulate_arch_sweep(directory)
|
13
synthDC/wallySynthAll.sh
Executable file
13
synthDC/wallySynthAll.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
# Run all Wally synthesis experiments from chapter 8
|
||||||
|
./wallySynth.py --freqsweep 330 --tech sky130
|
||||||
|
./wallySynth.py --freqsweep 870 --tech sky90
|
||||||
|
./wallySynth.py --freqsweep 2800 --tech tsmc28psyn --usesram
|
||||||
|
./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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue