Print object type info in VpiSingleIterator
@@ -223,7 +223,8 @@ public:
vpiHandle vpi_hdl = m_parent->get_handle<vpiHandle>();
m_iterator = vpi_iterate(vpitype, vpi_hdl);
if (NULL == m_iterator) {
- LOG_WARN("vpi_iterate returned NULL for %d", vpitype);
+ LOG_WARN("vpi_iterate returned NULL for type %d for object %s(%d)",
+ vpitype, vpi_get_str(vpiType, vpi_hdl), vpi_get(vpiType, vpi_hdl));
return;
}
}
