fixed various sweep options to not run an extra job

This commit is contained in:
David Harris 2023-02-17 10:35:39 -08:00
parent 0da32a41f6
commit 41fbe32489

View File

@ -48,12 +48,12 @@ if __name__ == '__main__':
config = args.version if args.version else 'rv32e'
for freq in [round(sc+sc*x/100) for x in freqVaryPct]: # rv32e freq sweep
runSynth(config, mod, tech, freq, maxopt, usesram, usetopo)
if args.configsweep:
elif args.configsweep:
defaultfreq = 1500 if tech == 'sky90' else 5000
freq = args.targetfreq if args.targetfreq else defaultfreq
for config in ['rv32i', 'rv64gc', 'rv64i', 'rv32gc', 'rv32imc', 'rv32e']: #configs
runSynth(config, mod, tech, freq, maxopt, usesram, usetopo)
if args.featuresweep:
elif args.featuresweep:
defaultfreq = 500 if tech == 'sky90' else 1500
freq = args.targetfreq if args.targetfreq else defaultfreq
config = args.version if args.version else 'rv64gc'