mirror of https://github.com/YosysHQ/nextpnr.git
parent
be607c10a8
commit
109aa63474
|
|
@ -88,7 +88,8 @@ PYBIND11_MODULE(MODULE_NAME, m)
|
|||
{
|
||||
py::register_exception_translator([](std::exception_ptr p) {
|
||||
try {
|
||||
if (p) std::rethrow_exception(p);
|
||||
if (p)
|
||||
std::rethrow_exception(p);
|
||||
} catch (const assertion_failure &e) {
|
||||
PyErr_SetString(PyExc_AssertionError, e.what());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -246,7 +246,8 @@ struct Timing
|
|||
// been visited
|
||||
auto it = port_fanin.find(&port.second);
|
||||
if (it == port_fanin.end())
|
||||
log_error("Timing counted negative fanin count for port %s.%s (net %s), please report this error.\n",
|
||||
log_error("Timing counted negative fanin count for port %s.%s (net %s), please report this "
|
||||
"error.\n",
|
||||
ctx->nameOf(usr.cell), ctx->nameOf(port.first), ctx->nameOf(port.second.net));
|
||||
if (--it->second == 0) {
|
||||
topological_order.emplace_back(port.second.net);
|
||||
|
|
|
|||
Loading…
Reference in New Issue