[vpr] fixed a bug when parsing conventional pin loc

This commit is contained in:
tangxifan 2022-09-08 16:53:00 -07:00
parent 122a323668
commit 7fe240e199
1 changed files with 2 additions and 3 deletions

View File

@ -995,11 +995,10 @@ static std::pair<int, int> ProcessPinString(pugi::xml_node Locations,
"Found an open '[' but miss close ']' of the port: %s\n", pin_loc_string);
}
}
token_index++;
token = tokens[token_index];
}
token_index++;
token = tokens[token_index];
if (token.type != TOKEN_DOT) {
archfpga_throw(loc_data.filename_c_str(), loc_data.line(Locations),
"No dot is present to separate type name and port name: %s\n", pin_loc_string);