diff options
author | Alessandro Comodi <acomodi@antmicro.com> | 2021-03-18 20:37:51 +0100 |
---|---|---|
committer | Alessandro Comodi <acomodi@antmicro.com> | 2021-03-23 20:36:23 +0100 |
commit | 658dadaa70746940003f01ac37a65e64a0b0584d (patch) | |
tree | f64caf93b0ec64c701ae84cbc2895294f57d7d4d /fpga_interchange | |
parent | 336d31cbcf592455abdbefc01ec5c6f87914b4f3 (diff) | |
download | nextpnr-658dadaa70746940003f01ac37a65e64a0b0584d.tar.gz nextpnr-658dadaa70746940003f01ac37a65e64a0b0584d.tar.bz2 nextpnr-658dadaa70746940003f01ac37a65e64a0b0584d.zip |
fpga_interchange: use higher java heap space
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Diffstat (limited to 'fpga_interchange')
-rw-r--r-- | fpga_interchange/examples/chipdb.cmake | 2 | ||||
-rw-r--r-- | fpga_interchange/examples/tests.cmake | 2 | ||||
-rw-r--r-- | fpga_interchange/family.cmake | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/fpga_interchange/examples/chipdb.cmake b/fpga_interchange/examples/chipdb.cmake index 986ae571..7b080d9c 100644 --- a/fpga_interchange/examples/chipdb.cmake +++ b/fpga_interchange/examples/chipdb.cmake @@ -41,7 +41,7 @@ function(create_rapidwright_device_db) OUTPUT ${rapidwright_device_db} COMMAND RAPIDWRIGHT_PATH=${RAPIDWRIGHT_PATH} - ${INVOKE_RAPIDWRIGHT} + ${INVOKE_RAPIDWRIGHT} ${JAVA_HEAP_SPACE} com.xilinx.rapidwright.interchange.DeviceResourcesExample ${part} DEPENDS diff --git a/fpga_interchange/examples/tests.cmake b/fpga_interchange/examples/tests.cmake index 9df19903..5b776dc7 100644 --- a/fpga_interchange/examples/tests.cmake +++ b/fpga_interchange/examples/tests.cmake @@ -251,7 +251,7 @@ function(add_interchange_test) OUTPUT ${dcp} COMMAND RAPIDWRIGHT_PATH=${RAPIDWRIGHT_PATH} - ${INVOKE_RAPIDWRIGHT} + ${INVOKE_RAPIDWRIGHT} ${JAVA_HEAP_SPACE} com.xilinx.rapidwright.interchange.PhysicalNetlistToDcp ${netlist} ${phys} ${xdc} ${dcp} DEPENDS diff --git a/fpga_interchange/family.cmake b/fpga_interchange/family.cmake index 2b78b75c..32cf7169 100644 --- a/fpga_interchange/family.cmake +++ b/fpga_interchange/family.cmake @@ -6,7 +6,8 @@ endif() find_package(ZLIB REQUIRED) set(RAPIDWRIGHT_PATH $ENV{HOME}/RapidWright CACHE PATH "Path to RapidWright") -set(INVOKE_RAPIDWRIGHT ${RAPIDWRIGHT_PATH}/scripts/invoke_rapidwright.sh CACHE PATH "Path to RapidWright invocation script") +set(INVOKE_RAPIDWRIGHT "${RAPIDWRIGHT_PATH}/scripts/invoke_rapidwright.sh" CACHE PATH "Path to RapidWright invocation script") +set(JAVA_HEAP_SPACE "-Xmx8g" CACHE STRING "Heap space reserved for Java") # 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 ${PROJECT_SOURCE_DIR}/3rdparty/fpga-interchange-schema/interchange CACHE PATH "Path to the FPGA interchange schema dir") |