@@ -157,7 +157,6 @@ static void check_repeated_edges_at_pb_pin(t_pb_graph_pin* cur_pin);
157
157
static bool operator <(const t_pb_graph_edge_comparator& edge1,
158
158
const t_pb_graph_edge_comparator& edge2);
159
159
160
-
161
160
/* *
162
161
* @brief Checks that all pins in a logically-equivalent input port connect to the exact same pins.
163
162
*
@@ -1352,7 +1351,7 @@ static bool realloc_and_load_pb_graph_pin_ptrs_at_var(const int line_num,
1352
1351
(*token_index)++;
1353
1352
} else {
1354
1353
(*token_index)++;
1355
- if (tokens[*token_index].type != e_token_type::INT) {
1354
+ if (tokens[*token_index].type != e_token_type::INT) {
1356
1355
return false ; // clb[9:abc
1357
1356
}
1358
1357
pb_lsb = vtr::atoi (tokens[*token_index].data );
@@ -1391,21 +1390,21 @@ static bool realloc_and_load_pb_graph_pin_ptrs_at_var(const int line_num,
1391
1390
1392
1391
if (tokens[*token_index].type == e_token_type::OPEN_SQUARE_BRACKET) {
1393
1392
(*token_index)++;
1394
- if (tokens[*token_index].type != e_token_type::INT) {
1393
+ if (tokens[*token_index].type != e_token_type::INT) {
1395
1394
return false ;
1396
1395
}
1397
1396
pb_msb = vtr::atoi (tokens[*token_index].data );
1398
1397
VTR_ASSERT_MSG (pb_msb >= 0 , " Pin most-significant-bit must be non-negative" );
1399
1398
(*token_index)++;
1400
- if (tokens[*token_index].type != e_token_type::COLON) {
1399
+ if (tokens[*token_index].type != e_token_type::COLON) {
1401
1400
if (tokens[*token_index].type != e_token_type::CLOSE_SQUARE_BRACKET) {
1402
1401
return false ;
1403
1402
}
1404
1403
pb_lsb = pb_msb;
1405
1404
(*token_index)++;
1406
1405
} else {
1407
1406
(*token_index)++;
1408
- if (tokens[*token_index].type != e_token_type::INT) {
1407
+ if (tokens[*token_index].type != e_token_type::INT) {
1409
1408
return false ;
1410
1409
}
1411
1410
pb_lsb = vtr::atoi (tokens[*token_index].data );
@@ -1458,28 +1457,28 @@ static bool realloc_and_load_pb_graph_pin_ptrs_at_var(const int line_num,
1458
1457
const char * port_name = tokens[*token_index].data .c_str ();
1459
1458
(*token_index)++;
1460
1459
1461
- if (get_pb_graph_pin_from_name (port_name, &pb_node_array[pb_lsb],0 ) == nullptr ) {
1460
+ if (get_pb_graph_pin_from_name (port_name, &pb_node_array[pb_lsb], 0 ) == nullptr ) {
1462
1461
vpr_throw (VPR_ERROR_ARCH, get_arch_file_name (), line_num,
1463
1462
" Failed to find port name %s" , port_name);
1464
1463
}
1465
1464
1466
1465
if (tokens[*token_index].type == e_token_type::OPEN_SQUARE_BRACKET) {
1467
1466
(*token_index)++;
1468
- if (tokens[*token_index].type != e_token_type::INT) {
1467
+ if (tokens[*token_index].type != e_token_type::INT) {
1469
1468
return false ;
1470
1469
}
1471
1470
pin_msb = vtr::atoi (tokens[*token_index].data );
1472
1471
VTR_ASSERT_MSG (pin_msb >= 0 , " Pin most-significant-bit must be non-negative" );
1473
1472
(*token_index)++;
1474
- if (tokens[*token_index].type != e_token_type::COLON) {
1473
+ if (tokens[*token_index].type != e_token_type::COLON) {
1475
1474
if (tokens[*token_index].type != e_token_type::CLOSE_SQUARE_BRACKET) {
1476
1475
return false ;
1477
1476
}
1478
1477
pin_lsb = pin_msb;
1479
1478
(*token_index)++;
1480
1479
} else {
1481
1480
(*token_index)++;
1482
- if (tokens[*token_index].type != e_token_type::INT) {
1481
+ if (tokens[*token_index].type != e_token_type::INT) {
1483
1482
return false ;
1484
1483
}
1485
1484
pin_lsb = vtr::atoi (tokens[*token_index].data );
0 commit comments