reduce some error message to warnings

This commit is contained in:
tangxifan 2019-11-02 00:09:13 -06:00
parent 5bae8fecde
commit 358e9892ac
2 changed files with 7 additions and 4 deletions

View File

@ -579,14 +579,17 @@ void check_circuit_library(const CircuitLibrary& circuit_lib) {
num_err += check_required_default_circuit_model(circuit_lib, SPICE_MODEL_WIRE);
/* If we have any errors, exit */
vpr_printf(TIO_MESSAGE_INFO,
"Finished checking circuit library with %d errors!\n",
num_err);
if (0 < num_err) {
vpr_printf(TIO_MESSAGE_INFO,
"Finished checking circuit library with %d errors!\n",
num_err);
exit(1);
}
vpr_printf(TIO_MESSAGE_INFO,
"Checking circuit library passed.\n");
return;
}

View File

@ -1920,7 +1920,7 @@ static void check_all_tracks_reach_pins(t_type_ptr type,
for (itrack = 0; itrack < nodes_per_chan; itrack++) {
if (num_conns_to_track[itrack] <= 0) {
vpr_printf(TIO_MESSAGE_ERROR, "check_all_tracks_reach_pins: Track %d does not connect to any CLB %ss.\n",
vpr_printf(TIO_MESSAGE_WARNING, "check_all_tracks_reach_pins: Track %d does not connect to any CLB %ss.\n",
itrack, (ipin_or_opin == DRIVER ? "OPIN" : "IPIN"));
}
}