Skip to content

Commit 450540c

Browse files
committed
vpr: test: fix interchange test
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent 162ca07 commit 450540c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vpr/test/test_interchange_device.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ TEST_CASE("read_interchange_tiles", "[vpr]") {
110110

111111
FPGAInterchangeReadArch(kArchFile, /*timing_enabled=*/true, &arch, physical_tile_types, logical_block_types);
112112

113-
std::unordered_set<std::string> ptypes = {"NULL", "IOB", "PWR", "CLB"};
113+
std::unordered_set<std::string> ptypes = {"EMPTY", "IOB", "PWR", "CLB"};
114114

115115
// Check that there are exactly the expected models
116116
for (auto ptype : physical_tile_types) {
@@ -134,7 +134,7 @@ TEST_CASE("read_interchange_pb_types", "[vpr]") {
134134

135135
FPGAInterchangeReadArch(kArchFile, /*timing_enabled=*/true, &arch, physical_tile_types, logical_block_types);
136136

137-
std::unordered_set<std::string> ltypes = {"NULL", "IOPAD", "SLICE", "POWER"};
137+
std::unordered_set<std::string> ltypes = {"EMPTY", "IOPAD", "SLICE", "POWER"};
138138

139139
std::unordered_map<std::string, PORTS> slice_ports = {
140140
{"L0_0", PORTS::IN_PORT},
@@ -162,7 +162,7 @@ TEST_CASE("read_interchange_pb_types", "[vpr]") {
162162
ltypes.erase(name);
163163

164164
if (ltype.pb_type == nullptr) {
165-
REQUIRE(name == std::string("NULL"));
165+
REQUIRE(name == std::string("EMPTY"));
166166
continue;
167167
}
168168

0 commit comments

Comments
 (0)