fix(precheck): update analog template paths

This commit is contained in:
Uri Shaked
2024-06-18 14:29:40 +03:00
parent ada2e9215e
commit 674fdc7ef7
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ def main():
tiles = yaml_data.get("project", {}).get("tiles", "1x1")
is_analog = yaml_data.get("project", {}).get("analog_pins", 0) > 0
if is_analog:
template_def = f"../def/analog/tt_block_{tiles}_pg_ana.def"
template_def = f"../def/analog/tt_analog_{tiles}.def"
else:
template_def = f"../def/tt_block_{tiles}_pg.def"
logging.info(f"using def template {template_def}")