vpr/src/pack/cluster.cpp
/**
 * This function identifies the logic block type which is
 * defined by the block type which has a lut primitive
 */
This function identifies the logic block type which is
defined by the block type which has a lut primitive
This function identifies the logic block type which is defined by the block type which has a lut primitive
static t_logical_block_type_ptr identify_logic_block_type(std::map<const t_model*, std::vector<t_logical_block_type_ptr>>& primitive_candidate_block_types) {
    std::string lut_name = ".names";
    for (auto& model : primitive_candidate_block_types) {
        std::string model_name(model.first->name);
        if (model_name == lut_name)
            return model.second[0];
    }
    return nullptr;
}
static t_logical_block_type_ptr identify_logic_block_type ( std :: map < const t_model * , std :: vector < t_logical_block_type_ptr > > & primitive_candidate_block_types ) { std :: string lut_name = " " ; for ( auto & model : primitive_candidate_block_types ) { std :: string model_name ( model . first -> name ) ; if ( model_name == lut_name ) return model . second [ 0 ] ; } return nullptr ; }
This function identifies the logic block type which is
 defined by the block type which has a lut primitive
This function identifies the logic block type which is defined by the block type which has a lut primitive