@@ -385,7 +385,6 @@ struct ArchReader {
385
385
const char* name,
386
386
t_sub_tile& sub_tile,
387
387
t_physical_tile_type& type) {
388
-
389
388
vtr::bimap<t_logical_pin, t_physical_pin> directs_map;
390
389
auto ltype = get_type_by_name<t_logical_block_type>(name, ltypes_);
391
390
@@ -446,7 +445,7 @@ struct ArchReader {
446
445
auto alt_sites_pins = site_in_tile->getAltPinsToPrimaryPins ();
447
446
448
447
if (take_sites_.count (site_type.getName ()) != 0 ) {
449
- std::function<int (int )> map = [](int x){ return x; };
448
+ std::function<int (int )> map = [](int x) { return x; };
450
449
add_ltype (map, sub_tile.name , sub_tile, type);
451
450
}
452
451
@@ -458,15 +457,15 @@ struct ArchReader {
458
457
459
458
auto pin_map = alt_sites_pins[i];
460
459
461
- std::function<int (int )> map = [pin_map, site_type, port_name_to_sub_tile_idx, this ](int x){
460
+ std::function<int (int )> map = [pin_map, site_type, port_name_to_sub_tile_idx, this ](int x) {
462
461
auto pin = site_type.getPins ()[pin_map.getPins ()[x]];
463
462
return (*port_name_to_sub_tile_idx)[str (pin.getName ())];
464
463
};
465
464
466
465
add_ltype (map, str (alt_site.getName ()).c_str (), sub_tile, type);
467
466
}
468
467
} else {
469
- std::function<int (int )> map = [](int x){ return x; };
468
+ std::function<int (int )> map = [](int x) { return x; };
470
469
add_ltype (map, sub_tile.name , sub_tile, type);
471
470
}
472
471
@@ -743,7 +742,7 @@ struct ArchReader {
743
742
if (found)
744
743
take_sites_.insert (site_type.getName ());
745
744
746
- for (auto alt_site_idx : site_type.getAltSiteTypes ()) {
745
+ for (auto alt_site_idx : site_type.getAltSiteTypes ()) {
747
746
auto alt_site = site_types[alt_site_idx];
748
747
found = false ;
749
748
for (auto bel : alt_site.getBels ()) {
@@ -1891,7 +1890,7 @@ struct ArchReader {
1891
1890
for (auto site_type : tile.getSiteTypes ()) {
1892
1891
auto site_ = siteTypeList[site_type.getPrimaryType ()];
1893
1892
has_valid_sites |= take_sites_.count (site_.getName ()) != 0 ;
1894
- for (auto alt_site_idx : site_.getAltSiteTypes ()){
1893
+ for (auto alt_site_idx : site_.getAltSiteTypes ()) {
1895
1894
auto alt_site_ = siteTypeList[alt_site_idx];
1896
1895
has_valid_sites |= take_sites_.count (alt_site_.getName ()) != 0 ;
1897
1896
}
@@ -1936,7 +1935,7 @@ struct ArchReader {
1936
1935
1937
1936
auto site = siteTypeList[site_in_tile.getPrimaryType ()];
1938
1937
site_taken |= take_sites_.count (site.getName ()) != 0 ;
1939
- for (auto alt_site_idx : site.getAltSiteTypes ()){
1938
+ for (auto alt_site_idx : site.getAltSiteTypes ()) {
1940
1939
auto alt_site = siteTypeList[alt_site_idx];
1941
1940
site_taken |= take_sites_.count (alt_site.getName ()) != 0 ;
1942
1941
}
0 commit comments