openfpga/src/utils/check_tile_annotation.cpp
/********************************************************************
 * Check if the tile annotation is valid without any conflict with
 * circuit library content and physical tiles.
 *******************************************************************/
Check if the tile annotation is valid without any conflict with
circuit library content and physical tiles.
Check if the tile annotation is valid without any conflict with circuit library content and physical tiles .
bool check_tile_annotation(const TileAnnotation& tile_annotation,
                           const CircuitLibrary& circuit_lib,
                           const std::vector<t_physical_tile_type>& physical_tile_types) {
  int num_err = 0;
  num_err += check_tile_annotation_conflicts_with_circuit_library(tile_annotation, circuit_lib);
  num_err += check_tile_annotation_conflicts_with_physical_tile(tile_annotation, physical_tile_types);
  VTR_LOG("Found %ld errors when checking tile annotation!\n",
          num_err);
  return (0 == num_err);
}
bool check_tile_annotation ( const TileAnnotation & tile_annotation , const CircuitLibrary & circuit_lib , const std :: vector < t_physical_tile_type > & physical_tile_types ) { int num_err = 0 ; num_err += check_tile_annotation_conflicts_with_circuit_library ( tile_annotation , circuit_lib ) ; num_err += check_tile_annotation_conflicts_with_physical_tile ( tile_annotation , physical_tile_types ) ; VTR_LOG ( " \n " , num_err ) ; return ( 0 == num_err ) ; }
Check if the tile annotation is valid without any conflict with
 circuit library content and physical tiles.
Check if the tile annotation is valid without any conflict with circuit library content and physical tiles .