Reduce verbosity under `--debug` default level
This commit is contained in:
parent
70c6651aac
commit
bdcfc4e286
|
|
@ -154,7 +154,7 @@ void V3ErrorGuarded::v3errorEnd(std::ostringstream& sstr, const string& extra)
|
||||||
}
|
}
|
||||||
// Suppress duplicate messages
|
// Suppress duplicate messages
|
||||||
if (!m_messages.insert(msg).second) return;
|
if (!m_messages.insert(msg).second) return;
|
||||||
if (!extra.empty()) {
|
if (!extra.empty() && !m_errorSuppressed) {
|
||||||
const string extraMsg = warnMore() + extra + "\n";
|
const string extraMsg = warnMore() + extra + "\n";
|
||||||
const size_t pos = msg.find('\n');
|
const size_t pos = msg.find('\n');
|
||||||
msg.insert(pos + 1, extraMsg);
|
msg.insert(pos + 1, extraMsg);
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ class UnrollVisitor final : public VNVisitor {
|
||||||
bool cantUnroll(AstNode* nodep, const char* reason) const {
|
bool cantUnroll(AstNode* nodep, const char* reason) const {
|
||||||
if (m_generate)
|
if (m_generate)
|
||||||
nodep->v3warn(E_UNSUPPORTED, "Unsupported: Can't unroll generate for; " << reason);
|
nodep->v3warn(E_UNSUPPORTED, "Unsupported: Can't unroll generate for; " << reason);
|
||||||
UINFO(3, " Can't Unroll: " << reason << " :" << nodep << endl);
|
UINFO(4, " Can't Unroll: " << reason << " :" << nodep << endl);
|
||||||
// if (debug() >= 9) nodep->dumpTree("- cant: ");
|
// if (debug() >= 9) nodep->dumpTree("- cant: ");
|
||||||
V3Stats::addStatSum("Unrolling gave up, "s + reason, 1);
|
V3Stats::addStatSum("Unrolling gave up, "s + reason, 1);
|
||||||
return false;
|
return false;
|
||||||
|
|
@ -210,7 +210,7 @@ class UnrollVisitor final : public VNVisitor {
|
||||||
SimulateVisitor simvis;
|
SimulateVisitor simvis;
|
||||||
simvis.mainParamEmulate(clonep);
|
simvis.mainParamEmulate(clonep);
|
||||||
if (!simvis.optimizable()) {
|
if (!simvis.optimizable()) {
|
||||||
UINFO(3, "Unable to simulate" << endl);
|
UINFO(4, "Unable to simulate" << endl);
|
||||||
if (debug() >= 9) nodep->dumpTree("- _simtree: ");
|
if (debug() >= 9) nodep->dumpTree("- _simtree: ");
|
||||||
VL_DO_DANGLING(clonep->deleteTree(), clonep);
|
VL_DO_DANGLING(clonep->deleteTree(), clonep);
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue