forked from M-Labs/artiq
1
0
Fork 0

targets: kc705 -> kc705_dds

This commit is contained in:
Sebastien Bourdeauducq 2017-01-05 18:40:56 +01:00
parent 8be9a827ba
commit fe53bab953
9 changed files with 10 additions and 11 deletions

View File

@ -84,7 +84,7 @@ def main():
if action == "build": if action == "build":
logger.info("Building runtime") logger.info("Building runtime")
try: try:
subprocess.check_call(["python3", "-m", "artiq.gateware.targets.kc705", subprocess.check_call(["python3", "-m", "artiq.gateware.targets.kc705_dds",
"-H", "nist_clock", "-H", "nist_clock",
"--no-compile-gateware", "--no-compile-gateware",
"--output-dir", "/tmp/kc705"]) "--output-dir", "/tmp/kc705"])

View File

@ -314,8 +314,8 @@ class NIST_QC2(_NIST_Ions):
def main(): def main():
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description="ARTIQ core device builder / KC705 " description="ARTIQ device binary builder / single-FPGA KC705-based "
"+ NIST Ions CLOCK/QC2 hardware adapters") "systems with AD9 DDS (NIST Ions hardware)")
builder_args(parser) builder_args(parser)
soc_kc705_args(parser) soc_kc705_args(parser)
parser.add_argument("-H", "--hw-adapter", default="nist_clock", parser.add_argument("-H", "--hw-adapter", default="nist_clock",

View File

@ -105,7 +105,7 @@ class Master(MiniSoC, AMPSoC):
def main(): def main():
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description="ARTIQ with DRTIO on KC705 - Master") description="ARTIQ device binary builder / KC705 DRTIO master")
builder_args(parser) builder_args(parser)
soc_kc705_args(parser) soc_kc705_args(parser)
parser.add_argument("-c", "--config", default="simple_gbe", parser.add_argument("-c", "--config", default="simple_gbe",

View File

@ -202,7 +202,7 @@ class Satellite(BaseSoC):
def main(): def main():
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description="ARTIQ with DRTIO on KC705 - Satellite") description="ARTIQ device binary builder / KC705 DRTIO satellite")
builder_args(parser) builder_args(parser)
soc_kc705_args(parser) soc_kc705_args(parser)
parser.add_argument("-c", "--config", default="simple_gbe", parser.add_argument("-c", "--config", default="simple_gbe",

View File

@ -257,8 +257,7 @@ class Phaser(MiniSoC, AMPSoC):
def main(): def main():
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description="ARTIQ core device builder for " description="ARTIQ device binary builder / KC705 phaser demo")
"KC705+AD9154 hardware")
builder_args(parser) builder_args(parser)
soc_kc705_args(parser) soc_kc705_args(parser)
args = parser.parse_args() args = parser.parse_args()

View File

@ -229,7 +229,7 @@ trce -v 12 -fastpaths -tsi {build_name}.tsi -o {build_name}.twr {build_name}.ncd
def main(): def main():
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description="ARTIQ core device builder / Pipistrello demo") description="ARTIQ device binary builder / Pipistrello demo")
builder_args(parser) builder_args(parser)
soc_pipistrello_args(parser) soc_pipistrello_args(parser)
args = parser.parse_args() args = parser.parse_args()

View File

@ -6,7 +6,7 @@ BUILD_SETTINGS_FILE=$HOME/.m-labs/build_settings.sh
SOC_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq/binaries/kc705-nist_clock SOC_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq/binaries/kc705-nist_clock
mkdir -p $SOC_PREFIX mkdir -p $SOC_PREFIX
$PYTHON -m artiq.gateware.targets.kc705 -H nist_clock --toolchain vivado $MISOC_EXTRA_VIVADO_CMDLINE $PYTHON -m artiq.gateware.targets.kc705_dds -H nist_clock --toolchain vivado $MISOC_EXTRA_VIVADO_CMDLINE
cp misoc_nist_clock_kc705/gateware/top.bit $SOC_PREFIX cp misoc_nist_clock_kc705/gateware/top.bit $SOC_PREFIX
cp misoc_nist_clock_kc705/software/bios/bios.bin $SOC_PREFIX cp misoc_nist_clock_kc705/software/bios/bios.bin $SOC_PREFIX
cp misoc_nist_clock_kc705/software/runtime/runtime.fbi $SOC_PREFIX cp misoc_nist_clock_kc705/software/runtime/runtime.fbi $SOC_PREFIX

View File

@ -6,7 +6,7 @@ BUILD_SETTINGS_FILE=$HOME/.m-labs/build_settings.sh
SOC_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq/binaries/kc705-nist_qc2 SOC_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq/binaries/kc705-nist_qc2
mkdir -p $SOC_PREFIX mkdir -p $SOC_PREFIX
$PYTHON -m artiq.gateware.targets.kc705 -H nist_qc2 --toolchain vivado $MISOC_EXTRA_VIVADO_CMDLINE $PYTHON -m artiq.gateware.targets.kc705_dds -H nist_qc2 --toolchain vivado $MISOC_EXTRA_VIVADO_CMDLINE
cp misoc_nist_qc2_kc705/gateware/top.bit $SOC_PREFIX cp misoc_nist_qc2_kc705/gateware/top.bit $SOC_PREFIX
cp misoc_nist_qc2_kc705/software/bios/bios.bin $SOC_PREFIX cp misoc_nist_qc2_kc705/software/bios/bios.bin $SOC_PREFIX
cp misoc_nist_qc2_kc705/software/runtime/runtime.fbi $SOC_PREFIX cp misoc_nist_qc2_kc705/software/runtime/runtime.fbi $SOC_PREFIX

View File

@ -170,7 +170,7 @@ These steps are required to generate gateware bitstream (``.bit``) files, build
* For KC705:: * For KC705::
$ python3.5 -m artiq.gateware.targets.kc705 -H nist_clock # or nist_qc2 $ python3.5 -m artiq.gateware.targets.kc705_dds -H nist_clock # or nist_qc2
.. note:: Add ``--toolchain ise`` if you wish to use ISE instead of Vivado. .. note:: Add ``--toolchain ise`` if you wish to use ISE instead of Vivado.