From d0916943c570292c84d04644f28f2e5b812a57b3 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Tue, 4 Sep 2018 10:41:32 -0700 Subject: [PATCH] Extend delays to cover BYP and FAN --- xc7/arch.cc | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/xc7/arch.cc b/xc7/arch.cc index 8be5d7a4..3e5b7c06 100644 --- a/xc7/arch.cc +++ b/xc7/arch.cc @@ -146,8 +146,13 @@ 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_L = boost::regex("L(H|V|VB)(_L)?\\d+"); + const boost::regex re_124 = boost::regex("[NESW][NESWLR](\\d)BEG(_[NS])?\\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"); + const boost::regex re_BOUNCE_NS = boost::regex("(BYP|FAN)_BOUNCE_[NS]3_\\d"); + const boost::regex re_FAN = boost::regex("FAN(_ALT)?\\d"); + boost::cmatch what; ExtendedWireInfo ewi(ddb); for (const auto &tw : wire_to_tilewire) @@ -171,6 +176,14 @@ std::vector TorcInfo::construct_wire_to_delay(const std::vector