diff options
| -rw-r--r-- | ecp5/arch.cc | 3 | ||||
| -rw-r--r-- | ice40/arch.cc | 2 |
2 files changed, 3 insertions, 2 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)); } } diff --git a/ice40/arch.cc b/ice40/arch.cc index 02e5515b..ddf25270 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -951,7 +951,7 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, in return TMG_IGNORE; return TMG_ENDPOINT; } - log_error("no timing info for port '%s' of cell type '%s'\n", port.c_str(this), cell->type.c_str(this)); + log_error("cell type '%s' is unsupported (instantiated as '%s')\n", cell->type.c_str(this), cell->name.c_str(this)); } TimingClockingInfo Arch::getPortClockingInfo(const CellInfo *cell, IdString port, int index) const |
