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 --- ice40/arch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ice40/arch.cc') 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 -- cgit v1.2.3