From a7ea3f58e32a910f02d8dd7923a44d75a2b06e57 Mon Sep 17 00:00:00 2001 From: David Shah Date: Wed, 20 Feb 2019 09:43:12 +0000 Subject: ice40: Fix timing class of 'padin' GB outputs Signed-off-by: David Shah --- ice40/arch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ice40') diff --git a/ice40/arch.cc b/ice40/arch.cc index 23a2130c..4370b581 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -1021,7 +1021,7 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, in return TMG_IGNORE; } else if (cell->type == id_SB_GB) { if (port == id_GLOBAL_BUFFER_OUTPUT) - return TMG_COMB_OUTPUT; + return cell->gbInfo.forPadIn ? TMG_GEN_CLOCK : TMG_COMB_OUTPUT; return TMG_COMB_INPUT; } else if (cell->type == id_SB_WARMBOOT) { return TMG_ENDPOINT; -- cgit v1.2.3