diff options
author | David Shah <dave@ds0.me> | 2018-11-29 19:26:23 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2018-11-29 19:26:23 +0000 |
commit | 4e05d093977043f5cb959406cd0a8583cf2a9bbe (patch) | |
tree | 932187ffee7f893ded6525018a1d1ba41be2dc93 /ecp5 | |
parent | dbc14ea76d1af5b1d00a665dc0877969c1e76dc0 (diff) | |
download | nextpnr-4e05d093977043f5cb959406cd0a8583cf2a9bbe.tar.gz nextpnr-4e05d093977043f5cb959406cd0a8583cf2a9bbe.tar.bz2 nextpnr-4e05d093977043f5cb959406cd0a8583cf2a9bbe.zip |
Improve reporting of unknown cell types
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/arch.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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)); } } |