From 5214d1dbb52de813325154a2f104b2e5136f370a Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Tue, 4 Sep 2018 11:05:03 -0700 Subject: [PATCH] Segment anchors may not be beginning of wires --- xc7/arch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xc7/arch.cc b/xc7/arch.cc index 3e5b7c06..e1af6434 100644 --- a/xc7/arch.cc +++ b/xc7/arch.cc @@ -146,7 +146,7 @@ std::vector TorcInfo::construct_wire_to_delay(const std::vector wire_to_delay; wire_to_delay.reserve(wire_to_tilewire.size()); - const boost::regex re_124 = boost::regex("[NESW][NESWLR](\\d)BEG(_[NS])?\\d"); + const boost::regex re_124 = boost::regex("[NESW][NESWLR](\\d)((BEG(_[NS])?)|END|[A-E])?\\d"); const boost::regex re_L = boost::regex("L(H|V|VB)(_L)?\\d+"); const boost::regex re_BYP = boost::regex("BYP(_ALT)?\\d"); const boost::regex re_BYP_B = boost::regex("BYP_[BL]\\d");