update README TRELLIS_INSTALL_PREFIX example

`TRELLIS_INSTALL_PREFIX` will tell `next-pnr` to look in both `share` and `lib` directories.

See https://github.com/YosysHQ/nextpnr/pull/406#discussion_r387945570
This commit is contained in:
gojimmypi 2020-03-04 13:39:33 -08:00 committed by GitHub
parent 050cb6914f
commit b4aaae2c5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,8 @@ such as pack, place, route, and write output files.)
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_.
(for example: `-DTRELLIS_INSTALL_PREFIX=/usr` tells nextpnr to look in `/usr/share/trellis`)
(for example: `-DTRELLIS_INSTALL_PREFIX=/usr` tells nextpnr to look in `/usr/share/trellis`
and `/usr/lib/trellis`)
```
cmake -DARCH=ecp5 -DTRELLIS_INSTALL_PREFIX=/path/to/prjtrellis .