@@ -170,6 +170,11 @@ void PinPlacer::print_stats(const PcCsvReader& csv) const {
170
170
}
171
171
}
172
172
flush_out (true );
173
+ if (tr < 4 and i > 20 ) {
174
+ lputs (" \t ... ..." );
175
+ flush_out (true );
176
+ break ;
177
+ }
173
178
}
174
179
flush_out (true );
175
180
lprintf (" ---- outputs(%zu): ---- \n " , outputs.size ());
@@ -194,8 +199,13 @@ void PinPlacer::print_stats(const PcCsvReader& csv) const {
194
199
}
195
200
}
196
201
flush_out (true );
202
+ if (tr < 4 and i > 20 ) {
203
+ lputs (" \t ... ..." );
204
+ flush_out (true );
205
+ break ;
206
+ }
197
207
}
198
- flush_out (true );
208
+ flush_out (true );
199
209
ls << " <----- pin_c got " << inputs.size () << " inputs and "
200
210
<< outputs.size () << " outputs" << endl;
201
211
ls << " <-- pin_c placed " << placed_inputs_.size () << " inputs and "
@@ -1235,27 +1245,27 @@ DevPin PinPlacer::get_available_bump_ipin(PcCsvReader& csv,
1235
1245
1236
1246
uint iteration = 1 ;
1237
1247
for (; iteration <= 100 ; iteration++) {
1238
- if (tr >= 4 ) {
1248
+ if (tr >= 5 ) {
1239
1249
lprintf (" start iteration %u\n " , iteration);
1240
1250
flush_out (false );
1241
1251
}
1242
1252
PcCsvReader::Tile* tile = csv.getUnusedTile (true , except, itile_overlap_level_);
1243
1253
if (!tile) {
1244
- if (tr >= 3 ) {
1254
+ if (tr >= 4 ) {
1245
1255
lputs (" no i-tile" );
1246
- if (tr >= 5 )
1256
+ if (tr >= 6 )
1247
1257
printTileUsage (csv);
1248
1258
}
1249
1259
goto ret;
1250
1260
}
1251
- if (tr >= 4 ) {
1261
+ if (tr >= 5 ) {
1252
1262
ls << " got i-tile " << tile->key2 () << endl;
1253
- if (tr >= 6 ) tile->dump ();
1263
+ if (tr >= 7 ) tile->dump ();
1254
1264
}
1255
1265
assert (tile->num_used_ < itile_overlap_level_);
1256
1266
site = tile->bestInputSite ();
1257
1267
if (!site) {
1258
- if (tr >= 3 ) lputs (" no i-site" );
1268
+ if (tr >= 4 ) lputs (" no i-site" );
1259
1269
except.insert (tile->id_ );
1260
1270
continue ;
1261
1271
}
@@ -1366,25 +1376,25 @@ DevPin PinPlacer::get_available_bump_opin(PcCsvReader& csv,
1366
1376
1367
1377
uint iteration = 1 ;
1368
1378
for (; iteration <= 100 ; iteration++) {
1369
- if (tr >= 4 )
1379
+ if (tr >= 5 )
1370
1380
lprintf (" start iteration %u\n " , iteration);
1371
1381
PcCsvReader::Tile* tile = csv.getUnusedTile (false , except, otile_overlap_level_);
1372
1382
if (!tile) {
1373
- if (tr >= 3 ) {
1383
+ if (tr >= 4 ) {
1374
1384
lputs (" no o-tile" );
1375
- if (tr >= 5 )
1385
+ if (tr >= 6 )
1376
1386
printTileUsage (csv);
1377
1387
}
1378
1388
goto ret;
1379
1389
}
1380
- if (tr >= 4 ) {
1390
+ if (tr >= 5 ) {
1381
1391
ls << " got o-tile " << tile->key2 () << endl;
1382
- if (tr >= 6 ) tile->dump ();
1392
+ if (tr >= 7 ) tile->dump ();
1383
1393
}
1384
1394
assert (tile->num_used_ < otile_overlap_level_);
1385
1395
site = tile->bestOutputSite ();
1386
1396
if (!site) {
1387
- if (tr >= 3 ) lputs (" no o-site" );
1397
+ if (tr >= 4 ) lputs (" no o-site" );
1388
1398
except.insert (tile->id_ );
1389
1399
continue ;
1390
1400
}
@@ -1401,7 +1411,7 @@ DevPin PinPlacer::get_available_bump_opin(PcCsvReader& csv,
1401
1411
used_bump_pins_.insert (site->bump_B_ );
1402
1412
used_XYs_.insert (site->xy ());
1403
1413
used_tiles_.insert (tile->id_ );
1404
- if (tr >= 6 ) {
1414
+ if (tr >= 7 ) {
1405
1415
lprintf (" \t\t ==1==TX GABO used_bump_pins_.insert( %s ) row_= %u\n " ,
1406
1416
site->bump_B_ .c_str (), site->row_ );
1407
1417
}
@@ -1420,7 +1430,7 @@ DevPin PinPlacer::get_available_bump_opin(PcCsvReader& csv,
1420
1430
used_bump_pins_.insert (site->bump_B_ );
1421
1431
used_XYs_.insert (site->xy ());
1422
1432
used_tiles_.insert (tile->id_ );
1423
- if (tr >= 6 ) {
1433
+ if (tr >= 7 ) {
1424
1434
lprintf (" \t\t ==2==GPIO_tx GABO used_bump_pins_.insert( %s ) row_= %u\n " ,
1425
1435
site->bump_B_ .c_str (), site->row_ );
1426
1436
}
@@ -1429,7 +1439,7 @@ DevPin PinPlacer::get_available_bump_opin(PcCsvReader& csv,
1429
1439
}
1430
1440
}
1431
1441
// not found => try another tile
1432
- if (tr >= 4 )
1442
+ if (tr >= 5 )
1433
1443
lprintf (" not found => disabling tile %s\n " , tile->key2 ().c_str ());
1434
1444
except.insert (tile->id_ );
1435
1445
} // iteration
0 commit comments