[core] remove useless errors

This commit is contained in:
tangxifan 2023-08-25 11:53:49 -07:00
parent 384f02741f
commit 92f92658c9
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ bool FabricTile::register_pb_in_lookup(const FabricTileId& tile_id,
return false;
}
/* Throw error if this coord is already registered! */
if (pb_coord2id_lookup_[coord.x()][coord.y()]) {
if (pb_coord2id_lookup_[coord.x()][coord.y()] && pb_coord2id_lookup_[coord.x()][coord.y()] != tile_id) {
VTR_LOG_ERROR(
"Programmable block at [%lu][%lu] has already been registered!\n",
coord.x(), coord.y());