Skip to content
Snippets Groups Projects
Commit 03d85ace authored by Christian Mauch's avatar Christian Mauch
Browse files

Add aggregator board license to generation file

Change-Id: Id8b5b34d8acd9624ed095f177560f087fb299f9e
parent e84e6bdf
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,10 @@ def generate_license_strings(db): ...@@ -40,6 +40,10 @@ def generate_license_strings(db):
":" + str(C.AnanasSliceOnAnanas.size)) ":" + str(C.AnanasSliceOnAnanas.size))
for adc in wafer.adcs: for adc in wafer.adcs:
slurm_licenses.append(str(adc.value.coord)) slurm_licenses.append(str(adc.value.coord))
# append aggregator licenses for HX multi chip setups which start
# at Wafer Id 80
if wafer_coord.value() >= 80:
slurm_licenses.append("W{}M0".format(wafer_coord.value()))
# remove non unique trigger and ADC entries while retaining order # remove non unique trigger and ADC entries while retaining order
slurm_licenses = dict.fromkeys(slurm_licenses) slurm_licenses = dict.fromkeys(slurm_licenses)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment