add warning

This commit is contained in:
Lin 2024-10-31 15:04:07 +08:00
parent 64c4f2f7aa
commit 4a22f6ebfc
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ int read_pcf(const char* fname, PcfData& pcf_data,
break; // or ignore the full line comment and move on
} else {
if (reduce_error_to_warning) {
VTR_LOG_WARN("Unknown command '%s'!\n", word.c_str());
break;
} else {
/* Reach unknown command for OpenFpga, error out */