aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-06-25 18:14:51 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-06-25 18:14:51 +0200
commitec47ce2320fdc9d698e71c07af0844f7ecc2445c (patch)
treeb7a3b232daed5ef0ff7521dc6b5765613c37206b /ice40/arch.cc
parent9affcf82d969bf34aae449a28391451a4f4fdfd8 (diff)
parent76ff7919132a58971b197a40e7fba119f0b021f5 (diff)
downloadnextpnr-ec47ce2320fdc9d698e71c07af0844f7ecc2445c.tar.gz
nextpnr-ec47ce2320fdc9d698e71c07af0844f7ecc2445c.tar.bz2
nextpnr-ec47ce2320fdc9d698e71c07af0844f7ecc2445c.zip
Merge master
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index a0c64bb8..d58951dd 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -1052,6 +1052,14 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, in
return TMG_COMB_INPUT;
} else if (cell->type == id_SB_WARMBOOT) {
return TMG_ENDPOINT;
+ } else if (cell->type == id_SB_LED_DRV_CUR) {
+ if (port == id_LEDPU)
+ return TMG_IGNORE;
+ return TMG_ENDPOINT;
+ } else if (cell->type == id_SB_RGB_DRV) {
+ if (port == id_RGB0 || port == id_RGB1 || port == id_RGB2 || port == id_RGBPU)
+ return TMG_IGNORE;
+ return TMG_ENDPOINT;
} else if (cell->type == id_SB_RGBA_DRV) {
if (port == id_RGB0 || port == id_RGB1 || port == id_RGB2)
return TMG_IGNORE;