From 2afe40a0b5880fe6079f12d25f6c2ff8bb86001c Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 16 Mar 2010 19:28:29 -0400 Subject: [PATCH] verilated: Add debug pointers to scopeDump() --- include/verilated.cpp | 5 +++-- include/verilated.h | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/include/verilated.cpp b/include/verilated.cpp index 15bbf9cf0..3506e93a6 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -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