Skip to content

Commit

Permalink
fix segfault in NoC cost report
Browse files Browse the repository at this point in the history
  • Loading branch information
soheilshahrouz committed Jun 6, 2024
1 parent b7bf7b5 commit 2ed4497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpr/src/place/noc_place_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ void print_noc_costs(std::string_view header, const t_placer_costs& costs, const
"congestion_cost: %g, "
"accum_congested_ratio: %g, "
"n_congested_links: %d \n",
header,
header.data(),
calculate_noc_cost(costs.noc_cost_terms, costs.noc_cost_norm_factors, noc_opts),
costs.noc_cost_terms.aggregate_bandwidth,
costs.noc_cost_terms.latency,
Expand Down

0 comments on commit 2ed4497

Please sign in to comment.