2015-01-19 08:17:43 -05:00
|
|
|
.. _sdk-download-and-install:
|
|
|
|
|
|
|
|
====================
|
|
|
|
Download and install
|
|
|
|
====================
|
2015-02-12 16:03:24 -05:00
|
|
|
1. Install Python3 and your vendor's software
|
2015-01-19 17:28:14 -05:00
|
|
|
|
|
|
|
2. Obtain Migen and install it:
|
2015-01-22 11:44:04 -05:00
|
|
|
- git clone https://github.com/m-labs/migen
|
2015-01-19 17:28:14 -05:00
|
|
|
- cd migen
|
|
|
|
- python3 setup.py install
|
|
|
|
- cd ..
|
|
|
|
|
2015-01-28 13:53:58 -05:00
|
|
|
3. Obtain LiteScope and install it:
|
|
|
|
- git clone https://github.com/enjoy-digital/litescope
|
|
|
|
- cd litescope
|
2015-01-19 17:28:14 -05:00
|
|
|
- python3 setup.py install
|
|
|
|
- cd ..
|
|
|
|
|
2015-02-12 16:03:24 -05:00
|
|
|
4. Obtain MiSoC and install it:
|
2015-01-22 11:44:04 -05:00
|
|
|
- git clone https://github.com/m-labs/misoc --recursive
|
2015-02-12 16:03:24 -05:00
|
|
|
- cd misoc
|
|
|
|
- python3 setup.py install
|
|
|
|
- cd ..
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
In case you have issues with Migen/MiSoC, please retry with our forks at:
|
|
|
|
https://github.com/enjoy-digital/misoc
|
|
|
|
https://github.com/enjoy-digital/migen
|
|
|
|
until new features are merged.
|
2015-01-19 17:28:14 -05:00
|
|
|
|
2015-01-22 11:44:04 -05:00
|
|
|
5. Obtain LiteSATA
|
|
|
|
- git clone https://github.com/enjoy-digital/litesata
|
2015-01-19 17:28:14 -05:00
|
|
|
|
2015-01-22 11:44:04 -05:00
|
|
|
6. Build and load BIST design (only for KC705 for now):
|
2015-01-19 17:28:14 -05:00
|
|
|
- python3 make.py all
|
|
|
|
|
2015-01-22 11:44:04 -05:00
|
|
|
7. Test design (only for KC705 for now):
|
|
|
|
- go to ./test directory and run:
|
2015-01-19 17:28:14 -05:00
|
|
|
- python3 bist.py
|
2015-01-22 11:44:04 -05:00
|
|
|
|
|
|
|
8. If you only want to build the core and use it with your
|
|
|
|
regular design flow:
|
|
|
|
- python3 make.py -t core build-core
|