forked from M-Labs/nac3
1
0
Fork 0
New ARTIQ compiler, third iteration
Go to file
pca006132 0f797284e2 SdReader: fixed write cache bug. 2020-07-07 14:02:13 +08:00
examples Exception handling: Implemented RPC exception. 2020-07-06 15:34:49 +08:00
openocd openocd: remove reference to deleted file 2020-07-06 10:19:22 +08:00
src SdReader: fixed write cache bug. 2020-07-07 14:02:13 +08:00
.gitignore move build artifacts out of tree 2020-05-07 13:52:40 +08:00
README.md README: update Nix build command 2020-06-10 17:31:46 +08:00
channel-rust-nightly.toml shell.nix: use local channel-rust-nightly.toml 2020-04-11 19:01:42 +08:00
default.nix update zc706 2020-07-07 12:50:05 +08:00
fsbl.nix FSBL: changed to self-built FSBL (#13) 2020-06-17 16:19:59 +08:00
fsbl.patch FSBL: changed to self-built FSBL (#13) 2020-06-17 16:19:59 +08:00
gnutoolchain.nix build FSBL 2020-05-06 16:02:44 +08:00
local_run.sh local_run: fixed bash opt bug. 2020-07-06 15:15:35 +08:00
mkbootimage.nix add Antmicro Zynq mkbootimage utility 2020-05-01 10:51:13 +08:00
remote_run.sh run scripts: added option to avoid loading bitstream 2020-07-06 11:06:18 +08:00
rustPlatform.nix pure Nix build system 2020-04-30 21:04:28 +08:00
shell.nix use clang-unwrapped 2020-07-02 21:50:19 +08:00

README.md

Configure Nix channels:

nix-channel --add https://nixbld.m-labs.hk/channel/custom/artiq/fast-beta/artiq-fast
nix-channel --update

Pure build with Nix:

nix-build -A zc706-simple-jtag  # or zc706-nist_qc2-jtag or zc706-nist_clock-jtag
./remote_run.sh

Impure incremental build:

nix-shell
cd src
./zc706.py -g ../build/gateware  # build gateware
make                             # build firmware
cd ..
./remote_run.sh -i

The impure build process can also be used on non-Nix systems.