Update README with TRELLIS_INSTALL_PREFIX example

see https://github.com/YosysHQ/nextpnr/pull/404 and https://github.com/SymbiFlow/prjtrellis/pull/123
This commit is contained in:
gojimmypi 2020-03-04 13:10:48 -08:00 committed by GitHub
parent a957e90396
commit 5a26e0f0d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,6 +98,7 @@ such as pack, place, route, and write output files.)
For ECP5 support, you must download [Project Trellis](https://github.com/SymbiFlow/prjtrellis), For ECP5 support, you must download [Project Trellis](https://github.com/SymbiFlow/prjtrellis),
then follow its instructions to download the latest database and build _libtrellis_. then follow its instructions to download the latest database and build _libtrellis_.
(for example: `-DTRELLIS_INSTALL_PREFIX=/usr` will install to `/usr/share/trellis`)
``` ```
cmake -DARCH=ecp5 -DTRELLIS_INSTALL_PREFIX=/path/to/prjtrellis . cmake -DARCH=ecp5 -DTRELLIS_INSTALL_PREFIX=/path/to/prjtrellis .