From ca83fd6dc1b09dcedb1d7a05dc8bd9ec32a066df Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 20 Apr 2011 10:11:35 -0400 Subject: [PATCH] CDC: edge report under debug --- src/V3Cdc.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/V3Cdc.cpp b/src/V3Cdc.cpp index 78b97bf05..faef2d208 100644 --- a/src/V3Cdc.cpp +++ b/src/V3Cdc.cpp @@ -476,6 +476,12 @@ private: void edgeReport() { // Make report of all signal names and what clock edges they have + // + // Due to flattening, many interesting direct-connect signals are + // lost, so we can't make a report showing I/Os for a low level + // module. Disabling flattening though makes us consider each + // signal in it's own unique clock domain. + UINFO(3,__FUNCTION__<<": "<varScp()->fileline()->filebasename() + ":"; + os<<" "<varScp()->prettyName(); os<<" SRC="; @@ -739,7 +749,7 @@ public: nodep->accept(*this); analyze(); - //edgeReport(); // Not useful at the moment + if (debug()>=1) edgeReport(); // Not useful to users at the moment if (0) { *m_ofp<<"\nDBG-test-dumper\n"; V3EmitV::verilogPrefixedTree(nodep, *m_ofp, "DBG ",40,NULL,true); *m_ofp<