diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-25 18:14:51 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-25 18:14:51 +0200 |
commit | ec47ce2320fdc9d698e71c07af0844f7ecc2445c (patch) | |
tree | b7a3b232daed5ef0ff7521dc6b5765613c37206b /ice40/arch.cc | |
parent | 9affcf82d969bf34aae449a28391451a4f4fdfd8 (diff) | |
parent | 76ff7919132a58971b197a40e7fba119f0b021f5 (diff) | |
download | nextpnr-ec47ce2320fdc9d698e71c07af0844f7ecc2445c.tar.gz nextpnr-ec47ce2320fdc9d698e71c07af0844f7ecc2445c.tar.bz2 nextpnr-ec47ce2320fdc9d698e71c07af0844f7ecc2445c.zip |
Merge master
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r-- | ice40/arch.cc | 8 |
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; |