bug fix and enriched debugging info print out

This commit is contained in:
tangxifan 2020-08-19 13:41:04 -06:00
parent 79b6ff3cb0
commit f631245b2b
1 changed files with 4 additions and 1 deletions

View File

@ -337,6 +337,9 @@ bool try_match_pb_graph_pin(t_pb_graph_pin* operating_pb_graph_pin,
/* Reach here, it means all the requirements have been met */
return true;
}
/* If we reach here, we failed */
return false;
}
/********************************************************************
@ -426,7 +429,7 @@ void annotate_physical_pb_graph_pin(t_pb_graph_pin* operating_pb_graph_pin,
/* If we reach here, it means that pin pairing fails, error out! */
VTR_LOG_ERROR("Fail to match a physical pin for '%s' from pb_graph_node '%s'!\n",
operating_pb_graph_pin->port->name,
operating_pb_graph_pin->to_string().c_str(),
physical_pb_graph_node->hierarchical_type_name().c_str());
}