@@ -273,7 +273,7 @@ static void invalidate_affected_connections(
273
273
274
274
static float analyze_setup_slack_cost (const PlacerSetupSlacks* setup_slacks);
275
275
276
- static e_move_result assess_swap (double delta_c, double t,double cong_delta_c,double cost,const t_placer_opts& placer_opts);
276
+ static e_move_result assess_swap (double delta_c, double t, double cong_delta_c, double cost, const t_placer_opts& placer_opts);
277
277
278
278
static void update_placement_cost_normalization_factors (t_placer_costs* costs, const t_placer_opts& placer_opts, const t_noc_opts& noc_opts);
279
279
@@ -2140,24 +2140,16 @@ static int check_block_placement_consistency() {
2140
2140
if (physical_tile_type (bnum) != physical_tile) {
2141
2141
VTR_LOG_ERROR (
2142
2142
" Block %zu type (%s) does not match grid location (%zu,%zu, %d) type (%s).\n " ,
2143
- size_t (bnum), logical_block->name , i, j, layer_num, physical_tile->name );
2143
+ size_t (bnum), logical_block->name , i, j, layer_num, physical_tile->name );
2144
2144
error++;
2145
2145
}
2146
2146
2147
2147
auto & loc = place_ctx.block_locs [bnum].loc ;
2148
2148
if (loc.x != i || loc.y != j || loc.layer != layer_num
2149
- || !is_sub_tile_compatible (physical_tile, logical_block,
2150
- loc.sub_tile )) {
2149
+ || !is_sub_tile_compatible (physical_tile, logical_block, loc.sub_tile )) {
2151
2150
VTR_LOG_ERROR (
2152
2151
" Block %zu's location is (%d,%d,%d) but found in grid at (%zu,%zu,%d,%d).\n " ,
2153
- size_t (bnum),
2154
- loc.x ,
2155
- loc.y ,
2156
- loc.sub_tile ,
2157
- tile_loc.x ,
2158
- tile_loc.y ,
2159
- tile_loc.layer_num ,
2160
- layer_num);
2152
+ size_t (bnum), loc.x , loc.y , loc.sub_tile , tile_loc.x , tile_loc.y , tile_loc.layer_num , layer_num);
2161
2153
error++;
2162
2154
}
2163
2155
++usage_check;
@@ -2166,11 +2158,7 @@ static int check_block_placement_consistency() {
2166
2158
if (usage_check != place_ctx.grid_blocks .get_usage (tile_loc)) {
2167
2159
VTR_LOG_ERROR (
2168
2160
" %d block(s) were placed at location (%d,%d,%d), but location contains %d block(s).\n " ,
2169
- place_ctx.grid_blocks .get_usage (tile_loc),
2170
- tile_loc.x ,
2171
- tile_loc.y ,
2172
- tile_loc.layer_num ,
2173
- usage_check);
2161
+ place_ctx.grid_blocks .get_usage (tile_loc), tile_loc.x , tile_loc.y , tile_loc.layer_num , usage_check);
2174
2162
error++;
2175
2163
}
2176
2164
}
0 commit comments