From 751335977fe7d69b23f6110ec4938408ec7a7ff8 Mon Sep 17 00:00:00 2001 From: David Shah Date: Wed, 8 Aug 2018 18:07:34 +0200 Subject: ice40: Add error for unknown cell type when getting timing info Signed-off-by: David Shah --- ice40/arch.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3