aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-08-08 16:34:41 +0200
committerDavid Shah <davey1576@gmail.com>2018-08-08 16:34:41 +0200
commite6eb2038683fd3c81570b8c8e5307678bca5f77e (patch)
treea8b515dba03790793e98801b7233d1764d5ea151 /ice40/arch.cc
parentd173ddba367f7082f122df75dffb59577afaf0b4 (diff)
downloadnextpnr-e6eb2038683fd3c81570b8c8e5307678bca5f77e.tar.gz
nextpnr-e6eb2038683fd3c81570b8c8e5307678bca5f77e.tar.bz2
nextpnr-e6eb2038683fd3c81570b8c8e5307678bca5f77e.zip
ice40: Add timing arcs through global buffers
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc4
1 files changed, 4 insertions, 0 deletions
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;
}