forked from M-Labs/artiq
1
0
Fork 0

sayma_rtm: make build dir

This commit is contained in:
Robert Jördens 2017-09-27 18:35:46 +02:00
parent 2821f50884
commit 2604806512
1 changed files with 1 additions and 0 deletions

View File

@ -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)