From 5a26e0f0d3756cc0c8c11b261e216d0fe09db905 Mon Sep 17 00:00:00 2001 From: gojimmypi Date: Wed, 4 Mar 2020 13:10:48 -0800 Subject: Update README with TRELLIS_INSTALL_PREFIX example see https://github.com/YosysHQ/nextpnr/pull/404 and https://github.com/SymbiFlow/prjtrellis/pull/123 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 5eaa3449..d1c176a4 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,8 @@ such as pack, place, route, and write output files.) ### nextpnr-ecp5 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 . -- cgit v1.2.3 From 050cb6914fc4b7379b9e38f459902164e72a9f28 Mon Sep 17 00:00:00 2001 From: gojimmypi Date: Wed, 4 Mar 2020 13:25:47 -0800 Subject: Update README TRELLIS_INSTALL_PREFIX example per https://github.com/YosysHQ/nextpnr/pull/406#discussion_r387937313 it is not an install directory --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index d1c176a4..cd0997b3 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ 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` will install to `/usr/share/trellis`) +(for example: `-DTRELLIS_INSTALL_PREFIX=/usr` tells nextpnr to look in `/usr/share/trellis`) ``` cmake -DARCH=ecp5 -DTRELLIS_INSTALL_PREFIX=/path/to/prjtrellis . -- cgit v1.2.3 From b4aaae2c5fcc5101342a6ea04622e299fb461fd6 Mon Sep 17 00:00:00 2001 From: gojimmypi Date: Wed, 4 Mar 2020 13:39:33 -0800 Subject: 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 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index cd0997b3..94e37f90 100644 --- a/README.md +++ b/README.md @@ -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 . -- cgit v1.2.3