Read the sdc and thread count from schema parameters and pass them on to VPR
@@ -63,9 +63,11 @@ def setup(chip):
options.append(blif)
- # sdc = chip.get('input', 'sdc')
- # if sdc:
- # options.append(f"--sdc_file {sdc}")
+ if 'sdc' in chip.getkeys('input'):
+ options.append(f"--sdc_file {chip.get('input', 'sdc')}")
+
+ threads = chip.get('tool', tool, 'threads', step, index)
+ options.append(f"--num_workers {threads}")
chip.add('tool', tool, 'option', step, index, options)
