Skip to content

Commit

Permalink
Merge branch 'master' into dhcen
Browse files Browse the repository at this point in the history
  • Loading branch information
yrabbit committed Aug 19, 2024
2 parents 2c7052c + fa55e93 commit ebaa651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion himbaechel/uarch/xilinx/xilinx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ void XilinxImpl::init_database(Arch *arch)
{
const ArchArgs &args = arch->args;
init_uarch_constids(arch);
std::regex devicere = std::regex("(xc7[azkv]\\d+t)([a-z0-9]+)-(\\dL?)");
std::smatch match;
std::regex devicere = std::regex("(xc7[azkv]\\d+t?)([a-z0-9]+)-(\\dL?)");
if (!std::regex_match(args.device, match, devicere)) {
log_error("Invalid device %s\n", args.device.c_str());
}
Expand Down

0 comments on commit ebaa651

Please sign in to comment.