From 2604806512033fa69d12c915be4ff199e8424443 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 27 Sep 2017 18:35:46 +0200 Subject: [PATCH] sayma_rtm: make build dir --- artiq/gateware/targets/sayma_rtm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/gateware/targets/sayma_rtm.py b/artiq/gateware/targets/sayma_rtm.py index a8449bb81..7256c5269 100755 --- a/artiq/gateware/targets/sayma_rtm.py +++ b/artiq/gateware/targets/sayma_rtm.py @@ -146,6 +146,7 @@ def main(): build_dir = "artiq_sayma_rtm" platform = sayma_rtm.Platform() top = SaymaRTM(platform) + os.makedirs(build_dir, exist_ok=True) with open(os.path.join(build_dir, "sayma_rtm_csr.csv"), "w") as f: f.write(get_csr_csv(top.csr_regions)) platform.build(top, build_dir=build_dir)