Skip to content

Commit 010b0ac

Browse files
init value of false for load_flat_placement
1 parent 14b562e commit 010b0ac

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

vpr/src/base/vpr_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ struct t_packer_opts {
736736
bool use_attraction_groups;
737737
int pack_num_moves;
738738
std::string pack_move_type;
739-
bool load_flat_placement;
739+
bool load_flat_placement = false;
740740
};
741741

742742
/**

vpr/test/test_connection_router.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ TEST_CASE("connection_router", "[vpr]") {
143143
kArchFile,
144144
"wire.eblif",
145145
"--route_chan_width", "100"};
146-
vpr_init(sizeof(argv) / sizeof(argv[0]), argv,
147-
&options, &vpr_setup, &arch);
146+
vpr_init(sizeof(argv) / sizeof(argv[0]), argv, &options, &vpr_setup, &arch);
148147

149148
vpr_create_device_grid(vpr_setup, arch);
150149
vpr_setup_clock_networks(vpr_setup, arch);

vpr/test/test_vpr.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ TEST_CASE("read_rr_edge_override", "[vpr]") {
257257
"wire.eblif",
258258
"--route_chan_width",
259259
"100"};
260-
vpr_init(sizeof(argv) / sizeof(argv[0]), argv,
261-
&options, &vpr_setup, &arch);
260+
vpr_init(sizeof(argv) / sizeof(argv[0]), argv, &options, &vpr_setup, &arch);
262261
vpr_create_device(vpr_setup, arch);
263262

264263
const auto& device_ctx = g_vpr_ctx.device();

0 commit comments

Comments
 (0)