diff options
author | David Shah <davey1576@gmail.com> | 2018-08-08 18:07:34 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-08-08 18:07:34 +0200 |
commit | 751335977fe7d69b23f6110ec4938408ec7a7ff8 (patch) | |
tree | 5320b8113d932287adae302a62bccadf94b73f07 | |
parent | 674cabb6bea05032c8bd7e638684ac7f6e448a6b (diff) | |
download | nextpnr-751335977fe7d69b23f6110ec4938408ec7a7ff8.tar.gz nextpnr-751335977fe7d69b23f6110ec4938408ec7a7ff8.tar.bz2 nextpnr-751335977fe7d69b23f6110ec4938408ec7a7ff8.zip |
ice40: Add error for unknown cell type when getting timing info
Signed-off-by: David Shah <davey1576@gmail.com>
-rw-r--r-- | ice40/arch.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index 888a0dee..5e56ea10 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -957,8 +957,10 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, Id if (port == id_glb_buf_out) return TMG_COMB_OUTPUT; return TMG_COMB_INPUT; + } else if (cell->type == id("SB_WARMBOOT")) { + return TMG_ENDPOINT; } - return TMG_IGNORE; + log_error("no timing info for port '%s' of cell type '%s'\n", port.c_str(this), cell->type.c_str(this)); } bool Arch::isGlobalNet(const NetInfo *net) const |