diff options
author | David Shah <dave@ds0.me> | 2018-11-26 09:47:16 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2018-11-26 09:47:16 +0000 |
commit | 024db62ef0525cc4458e9af122840d88b6f09865 (patch) | |
tree | e0d9d3cd90e1632610f6d9826775bc0ab394ef26 /README.md | |
parent | fe670cf3f60ca354b64714faccd1bdae5e6f6aae (diff) | |
download | nextpnr-024db62ef0525cc4458e9af122840d88b6f09865.tar.gz nextpnr-024db62ef0525cc4458e9af122840d88b6f09865.tar.bz2 nextpnr-024db62ef0525cc4458e9af122840d88b6f09865.zip |
Update README.md
Fixes #74
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 -------------------- |