From e6eb2038683fd3c81570b8c8e5307678bca5f77e Mon Sep 17 00:00:00 2001 From: David Shah Date: Wed, 8 Aug 2018 16:34:41 +0200 Subject: ice40: Add timing arcs through global buffers Signed-off-by: David Shah --- ice40/arch.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ice40/arch.cc') diff --git a/ice40/arch.cc b/ice40/arch.cc index abce0aba..3d31f980 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -953,6 +953,10 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, Id if (port == id("CLKHF")) return TMG_GEN_CLOCK; return TMG_IGNORE; + } else if (cell->type == id_sb_gb) { + if (port == id_glb_buf_out) + return TMG_COMB_OUTPUT; + return TMG_COMB_INPUT; } return TMG_IGNORE; } -- cgit v1.2.3