mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 16:40:12 +02:00
Add --debugi-<srcfile> option.
This commit is contained in:
+6
-1
@@ -54,9 +54,14 @@ private:
|
||||
|
||||
V3Double0 m_statSigs; // Statistic tracking
|
||||
V3Double0 m_statIgnSigs; // Statistic tracking
|
||||
//int debug() { return 9; }
|
||||
|
||||
// METHODS
|
||||
static int debug() {
|
||||
static int level = -1;
|
||||
if (VL_UNLIKELY(level < 0)) level = v3Global.opt.debugSrcLevel(__FILE__);
|
||||
return level;
|
||||
}
|
||||
|
||||
const char* varIgnoreTrace(AstVar* nodep) {
|
||||
// Return true if this shouldn't be traced
|
||||
// See also similar rule in V3Coverage::varIgnoreToggle
|
||||
|
||||
Reference in New Issue
Block a user