Skip to content

Commit

Permalink
backport changes from hotfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
w0lek committed Feb 15, 2024
1 parent daa4d09 commit c3c56c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vpr/src/base/vpr_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ void vpr_show_resource_usage(const t_vpr_setup& vpr_setup, const t_arch& Arch)
{
vtr::ScopedStartFinishTimer timer("Build Device Grid");
/* Read in netlist file for placement and routing */
auto& cluster_ctx = g_vpr_ctx.clustering();
auto& device_ctx = g_vpr_ctx.mutable_device();

device_ctx.arch = &Arch;
Expand Down Expand Up @@ -853,7 +854,6 @@ RouteStatus vpr_route_flow(const Netlist<>& net_list,

//Initialize the delay calculator
std::shared_ptr<SetupHoldTimingInfo> timing_info = nullptr;

std::shared_ptr<RoutingDelayCalculator> routing_delay_calc = nullptr;
if (vpr_setup.Timing.timing_analysis_enabled) {
auto& atom_ctx = g_vpr_ctx.atom();
Expand Down
1 change: 1 addition & 0 deletions vpr/src/draw/draw_basic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <cstdio>
#include <cfloat>
#include <cstring>
#define _USE_MATH_DEFINES // ensure (non-standard) value of M_PI is brought in from math.h
#include <cmath>
#include <algorithm>
#include <sstream>
Expand Down

0 comments on commit c3c56c9

Please sign in to comment.