aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-08-08 18:07:34 +0200
committerDavid Shah <davey1576@gmail.com>2018-08-08 18:07:34 +0200
commit751335977fe7d69b23f6110ec4938408ec7a7ff8 (patch)
tree5320b8113d932287adae302a62bccadf94b73f07
parent674cabb6bea05032c8bd7e638684ac7f6e448a6b (diff)
downloadnextpnr-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.cc4
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