From 4e05d093977043f5cb959406cd0a8583cf2a9bbe Mon Sep 17 00:00:00 2001 From: David Shah Date: Thu, 29 Nov 2018 19:26:23 +0000 Subject: Improve reporting of unknown cell types Signed-off-by: David Shah --- ecp5/arch.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ecp5') diff --git a/ecp5/arch.cc b/ecp5/arch.cc index 22b350c7..719426ab 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -670,7 +670,8 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, in } return TMG_IGNORE; } else { - NPNR_ASSERT_FALSE_STR("no timing data for cell type '" + cell->type.str(this) + "'"); + log_error("cell type '%s' is unsupported (instantiated as '%s')\n", cell->type.c_str(this), + cell->name.c_str(this)); } } -- cgit v1.2.3