@@ -459,9 +459,9 @@ static void process_global_blocks(const Netlist<>& net_list, std::ifstream& fp,
459
459
460
460
if (block_loc.loc .x != x || block_loc.loc .y != y) {
461
461
vpr_throw (VPR_ERROR_ROUTE, filename, lineno,
462
- " The placement coordinates (%d,%d,%d) of %d block does not match given (%d,%d,%d)" ,
463
- layer_num, x, y,
464
- block_loc.loc .layer , block_loc.loc .x , block_loc.loc .y );
462
+ " The placement coordinates (%d,%d,%d) of %zu block does not match given (%d,%d,%d)" ,
463
+ x, y, layer_num, size_t (bnum),
464
+ block_loc.loc .x , block_loc.loc .y , block_loc.loc .layer );
465
465
}
466
466
467
467
auto pin_class = get_class_range_for_block (bnum, is_flat);
@@ -598,12 +598,12 @@ void print_route(const Netlist<>& net_list,
598
598
int layer_num = rr_graph.node_layer (inode);
599
599
600
600
fprintf (fp, " Node:\t %zu\t %6s (%d,%d,%d) " , size_t (inode),
601
- rr_graph.node_type_string (inode), layer_num, ilow, jlow);
601
+ rr_graph.node_type_string (inode), ilow, jlow, layer_num );
602
602
603
603
if ((ilow != rr_graph.node_xhigh (inode))
604
604
|| (jlow != rr_graph.node_yhigh (inode)))
605
- fprintf (fp, " to (%d,%d,%d) " , layer_num, rr_graph.node_xhigh (inode),
606
- rr_graph.node_yhigh (inode));
605
+ fprintf (fp, " to (%d,%d,%d) " , rr_graph.node_xhigh (inode),
606
+ rr_graph.node_yhigh (inode), layer_num );
607
607
608
608
switch (rr_type) {
609
609
case IPIN:
@@ -689,9 +689,9 @@ void print_route(const Netlist<>& net_list,
689
689
fprintf (fp, " Block %s (#%zu) at (%d,%d,%d), Pin class %d.\n " ,
690
690
net_list.block_name (block_id).c_str (),
691
691
size_t (block_id),
692
- blk_loc.loc .layer ,
693
692
blk_loc.loc .x ,
694
693
blk_loc.loc .y ,
694
+ blk_loc.loc .layer ,
695
695
iclass);
696
696
}
697
697
}
0 commit comments