From e57ad02afb410427e9c3abfebe4357d822c01118 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Thu, 8 Nov 2018 16:38:58 -0800 Subject: Added NextPNR deps and install instructions to docs. --- docs/index.html | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index a8ab14b..efda996 100644 --- a/docs/index.html +++ b/docs/index.html @@ -142,7 +142,8 @@ Installing prerequisites (this command is for Ubuntu 14.04):
 sudo apt-get install build-essential clang bison flex libreadline-dev \
                      gawk tcl-dev libffi-dev git mercurial graphviz   \
-                     xdot pkg-config python python3 libftdi-dev
+                     xdot pkg-config python python3 libftdi-dev \
+                     qt5-default python3-dev libboost-dev
 

@@ -152,9 +153,14 @@ On Fedora 24 the following command installs all prerequisites:

 sudo dnf install make automake gcc gcc-c++ kernel-devel clang bison \
                  flex readline-devel gawk tcl-devel libffi-devel git mercurial \
-                 graphviz python-xdot pkgconfig python python3 libftdi-devel
+                 graphviz python-xdot pkgconfig python python3 libftdi-devel \
+                 qt5-devel python3-devel boost-devel
 
+

+Note: All tools will be installed relative to /usr/local +

+

Installing the IceStorm Tools (icepack, icebox, iceprog, icetime, chip databases):

@@ -165,7 +171,7 @@ make -j$(nproc) sudo make install

-Installing Arachne-PNR (the place&route tool): +Installing Arachne-PNR (place&route tool, predecessor to NextPNR):

git clone https://github.com/cseed/arachne-pnr.git arachne-pnr
@@ -173,6 +179,16 @@ cd arachne-pnr
 make -j$(nproc)
 sudo make install
+

+Installing NextPNR (place&route tool, Arachne-PNR replacement): +

+ +
git clone https://github.com/YosysHQ/nextpnr nextpnr
+cd nextpnr
+cmake -DARCH=ice40 -DCMAKE_INSTALL_PREFIX=/usr/local .
+make -j$(nproc)
+sudo make install
+

Installing Yosys (Verilog synthesis):

@@ -183,8 +199,9 @@ make -j$(nproc) sudo make install

-The Arachne-PNR build converts the IceStorm text chip databases into the arachne-pnr binary chip databases. Always rebuild Arachne-PNR -after updating your IceStorm installation. +Both place and route tools (Arachne-PNR & NextPNR) convert the IceStorm +text chip databases into the respective PNR binary chip databases during build. +Always rebuild the PNR tools after updating your IceStorm installation.

-- cgit v1.2.3