[vpr] syntax

This commit is contained in:
tangxifan 2022-09-08 16:04:25 -07:00
parent b943d79092
commit c71b533e9f
1 changed files with 6 additions and 1 deletions

View File

@ -90,6 +90,11 @@ static std::pair<int, int> ProcessPinString(pugi::xml_node Locations,
T type, T type,
const char* pin_loc_string, const char* pin_loc_string,
const pugiutil::loc_data& loc_data); const pugiutil::loc_data& loc_data);
template<typename T>
static std::pair<int, int> ProcessInstanceString(pugi::xml_node Locations,
T type,
const char* pin_loc_string,
const pugiutil::loc_data& loc_data);
/* Process XML hierarchy */ /* Process XML hierarchy */
static void ProcessTiles(pugi::xml_node Node, static void ProcessTiles(pugi::xml_node Node,
@ -943,7 +948,7 @@ static std::pair<int, int> ProcessInstanceString(pugi::xml_node Locations,
"No integer to indicate most significant pin index: %s\n", pin_loc_string); "No integer to indicate most significant pin index: %s\n", pin_loc_string);
} }
int last_inst = vtr::atoi(token.data); last_inst = vtr::atoi(token.data);
token_index++; token_index++;
token = tokens[token_index]; token = tokens[token_index];