From d872e98c62755a3b41a7bcb79c62860b83dcc5f1 Mon Sep 17 00:00:00 2001 From: chungshien-chai Date: Wed, 6 Nov 2024 23:49:53 -0800 Subject: [PATCH 1/2] Check if PinTable exist before calling gen_bitstream_setting_xml --- src/Compiler/CompilerOpenFPGA.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Compiler/CompilerOpenFPGA.cpp b/src/Compiler/CompilerOpenFPGA.cpp index 9cfd61a0e..a3f661200 100644 --- a/src/Compiler/CompilerOpenFPGA.cpp +++ b/src/Compiler/CompilerOpenFPGA.cpp @@ -3605,7 +3605,8 @@ bool CompilerOpenFPGA::GenerateBitstream() { if (io_status.first) { std::filesystem::path design_edit_sdc = FilePath(Action::Synthesis, "design_edit.sdc"); - if (std::filesystem::exists(design_edit_sdc)) { + if (std::filesystem::exists(design_edit_sdc) && !m_PinMapCSV.empty() && + std::filesystem::exists(m_PinMapCSV)) { std::string command = CFG_print( "model_config gen_bitstream_setting_xml -device_size %s -design %s " "-pin %s " From 2ae92be07be1cf812f77c712c23f06093ca46275 Mon Sep 17 00:00:00 2001 From: chungshien-chai Date: Thu, 7 Nov 2024 07:51:27 +0000 Subject: [PATCH 2/2] Incremented patch version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index da23c7076..039cf58fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ set(VERSION_MINOR 0) # Add the spdlog directory to the include path include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third_party/spdlog/include ${CMAKE_CURRENT_SOURCE_DIR}/third_party/exprtk ${CMAKE_CURRENT_SOURCE_DIR}/third_party/scope_guard) -set(VERSION_PATCH 436) +set(VERSION_PATCH 437) option(