Skip to content

Commit 6d7179f

Browse files
committed
[vpr][base] call setupvipinf if vib_infs is not empty
1 parent de8f8e0 commit 6d7179f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vpr/src/base/SetupVPR.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ void SetupVPR(const t_options* options,
245245
routingArch->write_rr_graph_filename = options->write_rr_graph_file;
246246
routingArch->read_rr_graph_filename = options->read_rr_graph_file;
247247

248-
SetupVibInf(device_ctx.physical_tile_types, arch->switches, arch->Segments, arch->vib_infs);
248+
if (!arch->vib_infs.empty()) {
249+
SetupVibInf(device_ctx.physical_tile_types, arch->switches, arch->Segments, arch->vib_infs);
250+
}
249251

250252
for (auto has_global_routing : arch->layer_global_routing) {
251253
device_ctx.inter_cluster_prog_routing_resources.emplace_back(has_global_routing);

0 commit comments

Comments
 (0)