From 41fbe32489374adfff782d4734d0c2e9be13f126 Mon Sep 17 00:00:00 2001 From: David Harris Date: Fri, 17 Feb 2023 10:35:39 -0800 Subject: [PATCH] fixed various sweep options to not run an extra job --- synthDC/wallySynth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synthDC/wallySynth.py b/synthDC/wallySynth.py index d89964c1..426f4a12 100755 --- a/synthDC/wallySynth.py +++ b/synthDC/wallySynth.py @@ -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'