Skip to content

Commit 549ef96

Browse files
committed
Fix compilation issue with ENABLE_CLASSIC_VPR_STA disabled
1 parent 2a44206 commit 549ef96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vpr/SRC/base/place_and_route.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ static int binary_search_place_and_route(t_placer_opts placer_opts,
4949
t_router_opts router_opts,
5050
t_det_routing_arch *det_routing_arch, t_segment_inf * segment_inf,
5151
float** net_delay,
52+
#ifdef ENABLE_CLASSIC_VPR_STA
5253
const t_timing_inf& timing_inf,
54+
#endif
5355
std::shared_ptr<SetupTimingInfo> timing_info);
5456

5557
static float comp_width(t_chan * chan, float x, float separation);
@@ -249,7 +251,9 @@ static int binary_search_place_and_route(t_placer_opts placer_opts,
249251
t_router_opts router_opts,
250252
t_det_routing_arch *det_routing_arch, t_segment_inf * segment_inf,
251253
float** net_delay,
254+
#ifdef ENABLE_CLASSIC_VPR_STA
252255
const t_timing_inf& timing_inf,
256+
#endif
253257
std::shared_ptr<SetupTimingInfo> timing_info) {
254258

255259
/* This routine performs a binary search to find the minimum number of *

0 commit comments

Comments
 (0)