@@ -459,8 +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) of %d block does not match given (%d, %d)" ,
463
- x, y, block_loc.loc .x , block_loc.loc .y );
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 );
464
465
}
465
466
466
467
auto pin_class = get_class_range_for_block (bnum, is_flat);
@@ -601,7 +602,7 @@ void print_route(const Netlist<>& net_list,
601
602
602
603
if ((ilow != rr_graph.node_xhigh (inode))
603
604
|| (jlow != rr_graph.node_yhigh (inode)))
604
- fprintf (fp, " to (%d,%d) " , rr_graph.node_xhigh (inode),
605
+ fprintf (fp, " to (%d,%d,%d ) " , layer_num , rr_graph.node_xhigh (inode),
605
606
rr_graph.node_yhigh (inode));
606
607
607
608
switch (rr_type) {
@@ -685,9 +686,10 @@ void print_route(const Netlist<>& net_list,
685
686
int iclass = get_block_pin_class_num (block_id, pin_id, is_flat);
686
687
t_block_loc blk_loc;
687
688
blk_loc = get_block_loc (block_id, is_flat);
688
- fprintf (fp, " Block %s (#%zu) at (%d,%d), Pin class %d.\n " ,
689
+ fprintf (fp, " Block %s (#%zu) at (%d,%d,%d ), Pin class %d.\n " ,
689
690
net_list.block_name (block_id).c_str (),
690
691
size_t (block_id),
692
+ blk_loc.loc .layer ,
691
693
blk_loc.loc .x ,
692
694
blk_loc.loc .y ,
693
695
iclass);
0 commit comments