aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc2
1 files changed, 1 insertions, 1 deletions
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;