@@ -53,7 +53,7 @@ TEST_CASE("read_interchange_layout", "[vpr]") {
53
53
REQUIRE (gd.height == 12 );
54
54
REQUIRE (gd.width == 12 );
55
55
56
- std::unordered_map<std::string, bool > tile_types ({{" PWR " , false }, {" IOB" , false }, {" CLB" , false }});
56
+ std::unordered_map<std::string, bool > tile_types ({{" constant_block " , false }, { " IB " , false }, { " OB " , false }, {" IOB" , false }, {" CLB" , false }});
57
57
for (auto & loc : gd.loc_defs ) {
58
58
auto ret = tile_types.find (loc.block_type );
59
59
REQUIRE (ret != tile_types.end ());
@@ -91,7 +91,7 @@ TEST_CASE("read_interchange_luts", "[vpr]") {
91
91
const auto & lut_elements = it.second ;
92
92
93
93
for (const auto & lut_element : lut_elements) {
94
- REQUIRE (lut_element.lut_bels .size () == 2 );
94
+ REQUIRE (lut_element.lut_bels .size () == 1 );
95
95
96
96
for (auto lut_bel : lut_element.lut_bels ) {
97
97
CHECK (std::find (lut_bels.begin (), lut_bels.end (), lut_bel.name ) != lut_bels.end ());
@@ -110,7 +110,7 @@ TEST_CASE("read_interchange_tiles", "[vpr]") {
110
110
111
111
FPGAInterchangeReadArch (kArchFile , /* timing_enabled=*/ true , &arch, physical_tile_types, logical_block_types);
112
112
113
- std::unordered_set<std::string> ptypes = {" EMPTY" , " IOB" , " PWR " , " CLB" };
113
+ std::unordered_set<std::string> ptypes = {" EMPTY" , " IOB" , " IB " , " OB " , " CLB" , " constant_block " };
114
114
115
115
// Check that there are exactly the expected models
116
116
for (auto ptype : physical_tile_types) {
@@ -134,7 +134,7 @@ TEST_CASE("read_interchange_pb_types", "[vpr]") {
134
134
135
135
FPGAInterchangeReadArch (kArchFile , /* timing_enabled=*/ true , &arch, physical_tile_types, logical_block_types);
136
136
137
- std::unordered_set<std::string> ltypes = {" EMPTY" , " IOPAD" , " SLICE" , " POWER " };
137
+ std::unordered_set<std::string> ltypes = {" EMPTY" , " IOPAD" , " IPAD " , " OPAD " , " SLICE" , " constant_block " };
138
138
139
139
std::unordered_map<std::string, PORTS> slice_ports = {
140
140
{" L0_0" , PORTS::IN_PORT},
0 commit comments