2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-19 00:16:29 +08:00

kc705_drtio_satellite: set output dir

This commit is contained in:
Sebastien Bourdeauducq 2016-11-05 23:48:15 +08:00
parent de47123737
commit de065b7578

View File

@ -160,10 +160,13 @@ def main():
parser = argparse.ArgumentParser(description="KC705 DRTIO satellite")
parser.add_argument("--toolchain", default="vivado",
help="FPGA toolchain to use: ise, vivado")
parser.add_argument("--output-dir", default="drtiosat_kc705",
help="output directory for generated "
"source files and binaries")
args = parser.parse_args()
top = Satellite(args.toolchain)
top.build()
top.build(build_dir=args.output_dir)
if __name__ == "__main__":
main()