mirror of
https://github.com/verilator/verilator.git
synced 2026-09-05 08:42:46 +02:00
Add --debugi-<srcfile> option.
This commit is contained in:
+6
-1
@@ -38,9 +38,14 @@
|
||||
class EmitVBaseVisitor : public EmitCBaseVisitor {
|
||||
// MEMBERS
|
||||
bool m_suppressSemi;
|
||||
//int debug() { return 9; }
|
||||
|
||||
// METHODS
|
||||
static int debug() {
|
||||
static int level = -1;
|
||||
if (VL_UNLIKELY(level < 0)) level = v3Global.opt.debugSrcLevel(__FILE__);
|
||||
return level;
|
||||
}
|
||||
|
||||
virtual void puts(const string& str) = 0;
|
||||
virtual void putbs(const string& str) = 0;
|
||||
virtual void putsNoTracking(const string& str) = 0;
|
||||
|
||||
Reference in New Issue
Block a user