Skip to content

Commit 7028e83

Browse files
committed
Add back some missing enables for reading of edge metadata.
Signed-off-by: Keith Rothman <[email protected]>
1 parent 8fa2b49 commit 7028e83

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

utils/fasm/test/test_fasm.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ TEST_CASE("fasm_integration_test", "[fasm]") {
182182
};
183183
vpr_init(sizeof(argv)/sizeof(argv[0]), argv,
184184
&options, &vpr_setup, &arch);
185+
vpr_setup.RouterOpts.read_edge_metadata = true;
185186
bool flow_succeeded = vpr_flow(vpr_setup, arch);
186187
REQUIRE(flow_succeeded == true);
187188

@@ -219,6 +220,7 @@ TEST_CASE("fasm_integration_test", "[fasm]") {
219220
vpr_setup.PackerOpts.doPacking = STAGE_LOAD;
220221
vpr_setup.PlacerOpts.doPlacement = STAGE_LOAD;
221222
vpr_setup.RouterOpts.doRouting = STAGE_LOAD;
223+
vpr_setup.RouterOpts.read_edge_metadata = true;
222224
vpr_setup.AnalysisOpts.doAnalysis = STAGE_SKIP;
223225

224226
bool flow_succeeded = vpr_flow(vpr_setup, arch);

vpr/test/test_vpr.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ TEST_CASE("read_rr_graph_metadata", "[vpr]") {
123123
};
124124
vpr_init(sizeof(argv) / sizeof(argv[0]), argv,
125125
&options, &vpr_setup, &arch);
126+
vpr_setup.RouterOpts.read_edge_metadata = true;
126127
vpr_create_device(vpr_setup, arch);
127128

128129
const auto& device_ctx = g_vpr_ctx.device();
@@ -164,6 +165,7 @@ TEST_CASE("read_rr_graph_metadata", "[vpr]") {
164165

165166
vpr_init(sizeof(argv) / sizeof(argv[0]), argv,
166167
&options, &vpr_setup, &arch);
168+
vpr_setup.RouterOpts.read_edge_metadata = true;
167169
vpr_create_device(vpr_setup, arch);
168170

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

0 commit comments

Comments
 (0)