diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-07-12 21:05:18 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-07-12 21:05:18 +0200 |
commit | f9ef4cd4bdeaccef6fd1522441be8fd0f80249c1 (patch) | |
tree | 5107e252b7e8a3f83ac120ca203f416427713226 | |
parent | 4f87ea0eb6ae8a4f8fbf9890c8101cd530d4c5da (diff) | |
parent | d16d34736f6565e67b5ad3563ed69552abefd305 (diff) | |
download | nextpnr-f9ef4cd4bdeaccef6fd1522441be8fd0f80249c1.tar.gz nextpnr-f9ef4cd4bdeaccef6fd1522441be8fd0f80249c1.tar.bz2 nextpnr-f9ef4cd4bdeaccef6fd1522441be8fd0f80249c1.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
-rw-r--r-- | ecp5/family.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ecp5/family.cmake b/ecp5/family.cmake index f58cdbb2..f4d0bf87 100644 --- a/ecp5/family.cmake +++ b/ecp5/family.cmake @@ -1,6 +1,17 @@ set(devices 45k) +if (NOT DEFINED TRELLIS_ROOT) + message(FATAL_ERROR "you must define TRELLIS_ROOT using -DTRELLIS_ROOT=/path/to/prjtrellis for ECP5 support") +endif() + + +file( GLOB found_pytrellis ${TRELLIS_ROOT}/libtrellis/pytrellis.*) + +if ("${found_pytrellis}" STREQUAL "") + message(FATAL_ERROR "failed to find pytrellis library in ${TRELLIS_ROOT}/libtrellis/") +endif() + set(DB_PY ${CMAKE_CURRENT_SOURCE_DIR}/ecp5/trellis_import.py) file(MAKE_DIRECTORY ecp5/chipdbs/) |