From 5d9019994eff79c355a37d3ab35d2f57f9f340b2 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Sat, 3 Nov 2018 12:55:36 -0700 Subject: [PATCH] [xc7] Fix getPortTimingClass for IOBs --- xc7/arch.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xc7/arch.cc b/xc7/arch.cc index 042fb689..ec37edc7 100644 --- a/xc7/arch.cc +++ b/xc7/arch.cc @@ -945,9 +945,9 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, Id } else if (cell->type == id_IOB33) { if (port == id_I) - return TMG_STARTPOINT; - else if (port == id_O) return TMG_ENDPOINT; + else if (port == id_O) + return TMG_STARTPOINT; } else if (cell->type == id_BUFGCTRL) { if (port == id_O)