parent
fe670cf3f6
commit
024db62ef0
10
README.md
10
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
|
||||
--------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user