aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
authorDaniel Serpell <daniel.serpell@gmail.com>2018-12-01 22:27:04 -0300
committerDaniel Serpell <daniel.serpell@gmail.com>2018-12-01 22:27:04 -0300
commitd4b3c1d819703667b604ad144a36415c2f3bcdf5 (patch)
tree6bb98bc9f3e650a31b4f055338bb1facb2ff2ba2 /ice40/arch.cc
parentdc549cd56bf1db4342a2bab1fb3fc04ca3a9ceea (diff)
downloadnextpnr-d4b3c1d819703667b604ad144a36415c2f3bcdf5.tar.gz
nextpnr-d4b3c1d819703667b604ad144a36415c2f3bcdf5.tar.bz2
nextpnr-d4b3c1d819703667b604ad144a36415c2f3bcdf5.zip
ice40: Add support for placing SB_LEDDA_IP block.
Signed-off-by: Daniel Serpell <daniel.serpell@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 ddf25270..ada78020 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -950,6 +950,10 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, in
if (port == id_RGB0 || port == id_RGB1 || port == id_RGB2)
return TMG_IGNORE;
return TMG_ENDPOINT;
+ } else if (cell->type == id_SB_LEDDA_IP) {
+ if (port == id_CLK || port == id_CLOCK)
+ return TMG_CLOCK_INPUT;
+ return TMG_IGNORE;
}
log_error("cell type '%s' is unsupported (instantiated as '%s')\n", cell->type.c_str(this), cell->name.c_str(this));
}