Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if PinTable exist before calling gen_bitstream_setting_xml #1716

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
3 changes: 2 additions & 1 deletion src/Compiler/CompilerOpenFPGA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
Loading