forked from M-Labs/artiq
sayma_rtm: make build dir
This commit is contained in:
parent
2821f50884
commit
2604806512
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue