verilated: Add debug pointers to scopeDump()

This commit is contained in:
Wilson Snyder
2010-03-16 19:28:29 -04:00
parent e57d004718
commit 2afe40a0b5
2 changed files with 8 additions and 6 deletions
+3 -2
View File
@@ -1078,10 +1078,11 @@ void* VerilatedScope::exportFindError(int funcnum) const {
}
void VerilatedScope::scopeDump() const {
VL_PRINTF(" SCOPE: %s\n", name());
VL_PRINTF(" SCOPE %p: %s\n", this, name());
for (int i=0; i<m_funcnumMax; i++) {
if (m_callbacksp && m_callbacksp[i]) {
VL_PRINTF(" DPI-EXPORT: %s\n", VerilatedImp::exportName(i));
VL_PRINTF(" DPI-EXPORT %p: %s\n",
m_callbacksp[i], VerilatedImp::exportName(i));
}
}
}