From 024db62ef0525cc4458e9af122840d88b6f09865 Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 26 Nov 2018 09:47:16 +0000 Subject: Update README.md Fixes #74 Signed-off-by: David Shah --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 2ea73636..86f7ef2d 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,8 @@ Getting started ### nextpnr-ice40 -To build the iCE40 version of nextpnr, install [icestorm](http://www.clifford.at/icestorm/) with chipdbs installed in `/usr/local/share/icebox`. +To build the iCE40 version of nextpnr, install [icestorm](http://www.clifford.at/icestorm/) with chipdbs installed in `/usr/local/share/icebox` +(or another location, which should be passed as -DICEBOX_ROOT=/path/to/icebox to CMake). Then build and install `nextpnr-ice40` using the following commands: ``` @@ -96,8 +97,6 @@ sudo make install - More examples of the ECP5 flow for a range of boards can be found in the [Project Trellis Examples](https://github.com/SymbiFlow/prjtrellis/tree/master/examples). - - Currently the ECP5 flow supports LUTs, flipflops and IO. IO must be instantiated using `TRELLIS_IO` primitives and constraints specified - using `LOC` and `IO_TYPE` attributes on those instances, as is used in the examples. ### nextpnr-generic @@ -116,7 +115,7 @@ Additional notes for building nextpnr Use cmake `-D` options to specify which version of nextpnr you want to build. -Use `-DARCH=...` to set the architecture. It is semicolon separated list. +Use `-DARCH=...` to set the architecture. It is a semicolon separated list. Use `cmake . -DARCH=all` to build all supported architectures. The following runs a debug build of the iCE40 architecture without GUI @@ -134,6 +133,9 @@ cmake -DARCH=ice40 -DBUILD_PYTHON=OFF -DBUILD_GUI=OFF -DSTATIC_BUILD=ON . make -j$(nproc) ``` +You can change the location where nextpnr will be installed (this will usually default to `/usr/local`) by using +`-DCMAKE_INSTALL_PREFIX=/install/prefix`. + Notes for developers -------------------- -- cgit v1.2.3