mirror of
https://github.com/verilator/verilator.git
synced 2026-09-08 02:28:43 +02:00
Add --debugi-<srcfile> option.
This commit is contained in:
+5
-1
@@ -44,7 +44,11 @@
|
||||
class SplitAsBaseVisitor : public AstNVisitor {
|
||||
public:
|
||||
// METHODS
|
||||
//int debug() { return 9; }
|
||||
static int debug() {
|
||||
static int level = -1;
|
||||
if (VL_UNLIKELY(level < 0)) level = v3Global.opt.debugSrcLevel(__FILE__);
|
||||
return level;
|
||||
}
|
||||
};
|
||||
|
||||
//######################################################################
|
||||
|
||||
Reference in New Issue
Block a user