@@ -430,7 +430,7 @@ int get_sub_tile_physical_pin(int sub_tile_index,
430
430
archfpga_throw (__FILE__, __LINE__,
431
431
" Couldn't find the corresponding physical tile pin of the logical block pin %d."
432
432
" Physical Tile Type: %s, Logical Block Type: %s.\n " ,
433
- pin, physical_tile->name , logical_block->name );
433
+ pin, physical_tile->name . c_str () , logical_block->name . c_str () );
434
434
}
435
435
436
436
return result->second .pin ;
@@ -450,7 +450,7 @@ int get_logical_block_physical_sub_tile_index(t_physical_tile_type_ptr physical_
450
450
if (sub_tile_index == OPEN) {
451
451
archfpga_throw (__FILE__, __LINE__,
452
452
" Found no instances of logical block type '%s' within physical tile type '%s'. " ,
453
- logical_block->name , physical_tile->name );
453
+ logical_block->name . c_str () , physical_tile->name . c_str () );
454
454
}
455
455
456
456
return sub_tile_index;
@@ -488,7 +488,7 @@ int get_logical_block_physical_sub_tile_index(t_physical_tile_type_ptr physical_
488
488
if (sub_tile_index == OPEN) {
489
489
archfpga_throw (__FILE__, __LINE__,
490
490
" Found no instances of logical block type '%s' within physical tile type '%s'. " ,
491
- logical_block->name , physical_tile->name );
491
+ logical_block->name . c_str () , physical_tile->name . c_str () );
492
492
}
493
493
494
494
return sub_tile_index;
@@ -633,7 +633,7 @@ std::pair<int, int> get_capacity_location_from_physical_pin(t_physical_tile_type
633
633
634
634
archfpga_throw (__FILE__, __LINE__,
635
635
" Couldn't find sub tile that contains the pin %d in physical tile %s.\n " ,
636
- pin, physical_tile->name );
636
+ pin, physical_tile->name . c_str () );
637
637
}
638
638
639
639
int get_physical_pin_from_capacity_location (t_physical_tile_type_ptr physical_tile, int relative_pin, int capacity_location) {
@@ -652,7 +652,7 @@ int get_physical_pin_from_capacity_location(t_physical_tile_type_ptr physical_ti
652
652
653
653
archfpga_throw (__FILE__, __LINE__,
654
654
" Couldn't find sub tile that contains the relative pin %d at the capacity location %d in physical tile %s.\n " ,
655
- relative_pin, capacity_location, physical_tile->name );
655
+ relative_pin, capacity_location, physical_tile->name . c_str () );
656
656
}
657
657
bool is_opin (int ipin, t_physical_tile_type_ptr type) {
658
658
/* Returns true if this clb pin is an output, false otherwise. */
@@ -809,14 +809,14 @@ std::vector<std::string> block_type_class_index_to_pin_names(t_physical_tile_typ
809
809
if (is_pin_on_tile (type, pin_physical_start)) {
810
810
VTR_ASSERT (is_pin_on_tile (type, pin_physical_end) == true );
811
811
port_name = sub_tile.ports [iport].name ;
812
- block_name = vtr::string_fmt (" %s[%d]" , type->name , icapacity);
812
+ block_name = vtr::string_fmt (" %s[%d]" , type->name . c_str () , icapacity);
813
813
} else {
814
814
VTR_ASSERT (is_pin_on_tile (type, pin_physical_end) == false );
815
815
auto pb_pin = get_pb_pin_from_pin_physical_num (type, pin_physical_start);
816
816
port_name = pb_pin->port ->name ;
817
817
auto pb_graph_node = get_pb_graph_node_from_pin_physical_num (type, pin_physical_start);
818
818
block_name = vtr::string_fmt (" %s[%d].%s" ,
819
- type->name ,
819
+ type->name . c_str () ,
820
820
icapacity,
821
821
pb_graph_node->hierarchical_type_name ().c_str ());
822
822
}
0 commit comments