Skip to content

Commit 73e268c

Browse files
Check if PinTable exist before calling gen_bitstream_setting_xml (#1716)
* Check if PinTable exist before calling gen_bitstream_setting_xml * Incremented patch version --------- Co-authored-by: chungshien-chai <chungshien-chai@users.noreply.github.com>
1 parent 494be28 commit 73e268c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ set(VERSION_MINOR 0)
3939
# Add the spdlog directory to the include path
4040
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)
4141

42-
set(VERSION_PATCH 436)
42+
set(VERSION_PATCH 437)
4343

4444

4545
option(

src/Compiler/CompilerOpenFPGA.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3605,7 +3605,8 @@ bool CompilerOpenFPGA::GenerateBitstream() {
36053605
if (io_status.first) {
36063606
std::filesystem::path design_edit_sdc =
36073607
FilePath(Action::Synthesis, "design_edit.sdc");
3608-
if (std::filesystem::exists(design_edit_sdc)) {
3608+
if (std::filesystem::exists(design_edit_sdc) && !m_PinMapCSV.empty() &&
3609+
std::filesystem::exists(m_PinMapCSV)) {
36093610
std::string command = CFG_print(
36103611
"model_config gen_bitstream_setting_xml -device_size %s -design %s "
36113612
"-pin %s "

0 commit comments

Comments
 (0)