mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Reduce --debugi 2 verbosity
This commit is contained in:
parent
f623db7d68
commit
e927536099
@ -123,7 +123,7 @@ void V3ErrorGuarded::v3errorEnd(std::ostringstream& sstr, const string& extra)
|
||||
// Skip suppressed messages
|
||||
if (m_errorSuppressed
|
||||
// On debug, show only non default-off warning to prevent pages of warnings
|
||||
&& (!debug() || m_errorCode.defaultsOff()))
|
||||
&& (!debug() || debug() < 3 || m_errorCode.defaultsOff()))
|
||||
return;
|
||||
string msg = msgPrefix() + sstr.str();
|
||||
// If suppressed print only first line to reduce verbosity
|
||||
|
@ -87,7 +87,7 @@ protected:
|
||||
bool preproc(FileLine* fl, const string& modname, VInFilter* filterp, V3ParseImp* parsep,
|
||||
const string& errmsg) { // "" for no error
|
||||
// Preprocess the given module, putting output in vppFilename
|
||||
UINFONL(1, " Preprocessing " << modname << endl);
|
||||
UINFO(1, "Preprocessing " << modname << endl);
|
||||
|
||||
// Preprocess
|
||||
s_filterp = filterp;
|
||||
|
@ -377,8 +377,8 @@ public:
|
||||
}
|
||||
|
||||
UINFO(6, "Tour was: ");
|
||||
for (const Vertex* vxp : tour) UINFONL(6, " " << vxp->key());
|
||||
UINFONL(6, "\n");
|
||||
for (const Vertex* vxp : tour) UINFONL(6, "- " << vxp->key());
|
||||
UINFONL(6, "-\n");
|
||||
}
|
||||
|
||||
void dumpGraph(std::ostream& os, const string& nameComment) const {
|
||||
|
@ -5033,17 +5033,17 @@ class WidthVisitor final : public VNVisitor {
|
||||
assertAtStatement(nodep);
|
||||
// if (debug()) nodep->dumpTree("- AssignPre: ");
|
||||
{
|
||||
if (debug()) nodep->dumpTree("- assin:: ");
|
||||
// if (debug()) nodep->dumpTree("- assin:: ");
|
||||
userIterateAndNext(nodep->lhsp(), WidthVP{SELF, BOTH}.p());
|
||||
UASSERT_OBJ(nodep->lhsp()->dtypep(), nodep, "How can LHS be untyped?");
|
||||
UASSERT_OBJ(nodep->lhsp()->dtypep()->widthSized(), nodep, "How can LHS be unsized?");
|
||||
nodep->dtypeFrom(nodep->lhsp());
|
||||
//
|
||||
// AstPattern needs to know the proposed data type of the lhs, so pass on the prelim
|
||||
if (debug()) nodep->dumpTree("- assrhs: ");
|
||||
// if (debug()) nodep->dumpTree("- assrhs: ");
|
||||
userIterateAndNext(nodep->rhsp(), WidthVP{nodep->dtypep(), PRELIM}.p());
|
||||
//
|
||||
if (debug()) nodep->dumpTree("- assign: ");
|
||||
// if (debug()) nodep->dumpTree("- assign: ");
|
||||
AstNodeDType* const lhsDTypep
|
||||
= nodep->lhsp()->dtypep(); // Note we use rhsp for context determined
|
||||
iterateCheckAssign(nodep, "Assign RHS", nodep->rhsp(), FINAL, lhsDTypep);
|
||||
@ -7115,7 +7115,7 @@ class WidthVisitor final : public VNVisitor {
|
||||
<< " (IEEE 1800-2023 6.19.3)\n"
|
||||
<< nodep->warnMore()
|
||||
<< "... Suggest use enum's mnemonic, or static cast");
|
||||
if (debug()) nodep->backp()->dumpTree("- back: ");
|
||||
// if (debug()) nodep->backp()->dumpTree("- back: ");
|
||||
}
|
||||
}
|
||||
AstNodeDType* subDTypep = expDTypep;
|
||||
|
Loading…
Reference in New Issue
Block a user