aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-11-29 19:46:05 +0000
committerGitHub <noreply@github.com>2018-11-29 19:46:05 +0000
commit58e9c6f32e7ab6a5f83245141f00c3955b91d905 (patch)
tree534505a2b1c3e8fddb773207c47da615ba865d7f /ecp5
parentfc08856537aaa33e09642e55de0b9a95a53d3fd7 (diff)
parent8af367ad0ad7a2ea0bc11f4f20326dacfeb26d65 (diff)
downloadnextpnr-58e9c6f32e7ab6a5f83245141f00c3955b91d905.tar.gz
nextpnr-58e9c6f32e7ab6a5f83245141f00c3955b91d905.tar.bz2
nextpnr-58e9c6f32e7ab6a5f83245141f00c3955b91d905.zip
Merge pull request #158 from YosysHQ/improve_error
Error reporting improvements
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc3
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));
}
}