mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
parent
22d5859876
commit
7edff48b6d
@ -58,6 +58,14 @@ def scripts_path():
|
||||
return p
|
||||
|
||||
|
||||
def proxy_path():
|
||||
p = ["share", "bscan-spi-bitstreams"]
|
||||
p = os.path.abspath(os.path.join(
|
||||
os.path.dirname(shutil.which("openocd")),
|
||||
"..", *p))
|
||||
return p
|
||||
|
||||
|
||||
class Programmer:
|
||||
def __init__(self, target_file):
|
||||
self.target_file = target_file
|
||||
@ -218,7 +226,7 @@ def main():
|
||||
for action in opts.action:
|
||||
if action == "proxy":
|
||||
proxy_found = False
|
||||
for p in [bin_dir, os.path.expanduser("~/.migen"),
|
||||
for p in [bin_dir, proxy_path(), os.path.expanduser("~/.migen"),
|
||||
"/usr/local/share/migen", "/usr/share/migen"]:
|
||||
proxy_bitfile = os.path.join(p, config["proxy_bitfile"])
|
||||
if os.access(proxy_bitfile, os.R_OK):
|
||||
|
@ -22,7 +22,7 @@ requirements:
|
||||
- llvmlite-artiq 0.12.0
|
||||
- rust-core-or1k 1.20.0 16
|
||||
- cargo 0.11.0
|
||||
- openocd 0.10.0+git
|
||||
- openocd 0.10.0+git 2
|
||||
- lit
|
||||
- outputcheck
|
||||
- coverage
|
||||
|
@ -10,5 +10,3 @@ V=1 $PYTHON -m artiq.gateware.targets.kc705_dds -H nist_clock --toolchain vivado
|
||||
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/runtime/runtime.fbi $SOC_PREFIX
|
||||
|
||||
wget -P $SOC_PREFIX https://raw.githubusercontent.com/jordens/bscan_spi_bitstreams/master/bscan_spi_xc7k325t.bit
|
||||
|
@ -10,5 +10,3 @@ V=1 $PYTHON -m artiq.gateware.targets.kc705_dds -H nist_qc2 --toolchain vivado $
|
||||
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/runtime/runtime.fbi $SOC_PREFIX
|
||||
|
||||
wget -P $SOC_PREFIX https://raw.githubusercontent.com/jordens/bscan_spi_bitstreams/master/bscan_spi_xc7k325t.bit
|
||||
|
@ -10,5 +10,3 @@ V=1 $PYTHON -m artiq.gateware.targets.phaser --toolchain vivado $MISOC_EXTRA_VIV
|
||||
cp misoc_phaser_kc705/gateware/top.bit $SOC_PREFIX
|
||||
cp misoc_phaser_kc705/software/bios/bios.bin $SOC_PREFIX
|
||||
cp misoc_phaser_kc705/software/runtime/runtime.fbi $SOC_PREFIX
|
||||
|
||||
wget -P $SOC_PREFIX https://raw.githubusercontent.com/jordens/bscan_spi_bitstreams/master/bscan_spi_xc7k325t.bit
|
||||
|
@ -29,7 +29,7 @@ requirements:
|
||||
- llvmlite-artiq 0.12.0
|
||||
- binutils-or1k-linux
|
||||
- pythonparser >=1.1
|
||||
- openocd 0.10.0+git
|
||||
- openocd 0.10.0+git 2
|
||||
- lit
|
||||
- outputcheck
|
||||
- scipy
|
||||
|
Loading…
Reference in New Issue
Block a user