diff options
author | Alessandro Comodi <acomodi@antmicro.com> | 2021-03-12 12:25:41 +0100 |
---|---|---|
committer | Alessandro Comodi <acomodi@antmicro.com> | 2021-03-16 15:39:01 +0100 |
commit | d77d0ff34a3e183ad4f9f1d8af7eddad55e0929e (patch) | |
tree | c345b522c3a878a7132cbae2dce572045aa9d7f0 /fpga_interchange/family.cmake | |
parent | 701587241fb8d4b490c4998ab3f2590bc09d7f55 (diff) | |
download | nextpnr-d77d0ff34a3e183ad4f9f1d8af7eddad55e0929e.tar.gz nextpnr-d77d0ff34a3e183ad4f9f1d8af7eddad55e0929e.tar.bz2 nextpnr-d77d0ff34a3e183ad4f9f1d8af7eddad55e0929e.zip |
fpga_intrchange: add cmake infrastructure to generate chipdbs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Diffstat (limited to 'fpga_interchange/family.cmake')
-rw-r--r-- | fpga_interchange/family.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fpga_interchange/family.cmake b/fpga_interchange/family.cmake index e62ab458..112cb3dc 100644 --- a/fpga_interchange/family.cmake +++ b/fpga_interchange/family.cmake @@ -5,7 +5,14 @@ endif() find_package(ZLIB REQUIRED) +set(RAPIDWRIGHT_PATH $ENV{HOME}/RapidWright CACHE PATH "Path to RapidWright") +# FIXME: Make patch data available in the python package and remove this cached var +set(PYTHON_INTERCHANGE_PATH $ENV{HOME}/python-fpga-interchange CACHE PATH "Path to the FPGA interchange python library") +set(INTERCHANGE_SCHEMA_PATH $ENV{HOME}/fpga_interchange_schema CACHE PATH "Path to the FPGA interchange schema dir") + add_subdirectory(3rdparty/fpga-interchange-schema/cmake/cxx_static) +include(${family}/examples/chipdb.cmake) +include(${family}/examples/tests.cmake) foreach (target ${family_targets}) target_include_directories(${target} PRIVATE ${TCL_INCLUDE_PATH}) |