You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Migen and MiSoC (http://m-labs.hk/gateware.html)
15
34
35
+
* Fetch them from https://github.com/m-labs/migen and https://github.com/m-labs/misoc
36
+
37
+
* Install Migen::
38
+
39
+
$ cd migen && sudo python setup.py install
40
+
41
+
* Install MiSoC dependencies by following steps 2., 3. and 6. (respectively JTAG tools, flash proxy bitstream and compiler-rt) from the MiSoC README.
42
+
43
+
.. note::
44
+
``python`` refers to Python 3. You may need to use the ``python3`` command instead of ``python`` on some distributions.
45
+
16
46
After these components are installed, build and flash the bitstream and BIOS by running `from the MiSoC top-level directory`: ::
17
47
18
48
$ ./make.py -X /path_to/ARTIQ/soc -t artiq all
@@ -39,30 +69,29 @@ Installing the host-side software
39
69
40
70
The main dependency of ARTIQ is LLVM and its Python bindings (http://llvmpy.org). Currently, this installation is tedious because of the OpenRISC support not being merged upstream LLVM and because of incompatibilities between the versions of LLVM that support OpenRISC and the versions of LLVM that support the Python bindings. ::
``python`` refers to Python 3. You may need to use the ``python3`` command instead of ``python`` on some distributions.
@@ -71,7 +100,7 @@ You may want to use ``checkinstall`` instead of ``make install`` (to register th
71
100
72
101
You can then install ARTIQ itself: ::
73
102
74
-
cd /path_to/ARTIQ
75
-
sudo python setup.py
103
+
$ cd /path_to/ARTIQ
104
+
$ sudo python setup.py install
76
105
77
106
Alternatively, you can simply add the ARTIQ directory to your ``PYTHONPATH`` environment variable. The advantage of this technique is that you will not need to reinstall ARTIQ when modifying or upgrading it, which is useful during development.
0 commit comments