openfpga/src/tile_direct/build_tile_direct.cpp
/***************************************************************************************
 * Report error for port matching failure
 ***************************************************************************************/
Report error for port matching failure
Report error for port matching failure
static 
void report_direct_from_port_and_to_port_mismatch(const t_direct_inf& vpr_direct, 
                                                  const BasicPort& from_tile_port,
                                                  const BasicPort& to_tile_port) {
  VTR_LOG_ERROR("From_port '%s[%lu:%lu] of direct '%s' does not match to_port '%s[%lu:%lu]'!\n",
                from_tile_port.get_name().c_str(),
                from_tile_port.get_lsb(),
                from_tile_port.get_msb(),
                vpr_direct.name,
                to_tile_port.get_name().c_str(),
                to_tile_port.get_lsb(),
                to_tile_port.get_msb());
}
static void report_direct_from_port_and_to_port_mismatch ( const t_direct_inf & vpr_direct , const BasicPort & from_tile_port , const BasicPort & to_tile_port ) { VTR_LOG_ERROR ( " \n " , from_tile_port . get_name ( ) . c_str ( ) , from_tile_port . get_lsb ( ) , from_tile_port . get_msb ( ) , vpr_direct . name , to_tile_port . get_name ( ) . c_str ( ) , to_tile_port . get_lsb ( ) , to_tile_port . get_msb ( ) ) ; }
Report error for port matching failure
Report error for port matching failure