Loading src/main/java/hk/quantr/verilogcompiler/listener/preprocess/VerilogPreProcessorListener.java +1 −1 Changes for src/main/java/hk/quantr/verilogcompiler/listener/preprocess/VerilogPreProcessorListener.java: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ public class VerilogPreProcessorListener extends VerilogParserBaseListener { // verilogStatements += "$display(\"%x\", add(1,2));\n"; // verilogStatements += "profile(\"" + ctx.variable_lvalue().getText() + "\");\n"; verilogStatements += "/* verilator lint_off WIDTH */\n"; verilogStatements += "profile(>>" + (parentMacro.originalLineNo + 1) + ", \"" + ctx.variable_lvalue().getText() + "\", " + ctx.variable_lvalue().getText() + ");\n"; verilogStatements += "profile(" + (parentMacro.originalLineNo + 1) + ", \"" + ctx.variable_lvalue().getText() + "\", " + ctx.variable_lvalue().getText() + ");\n"; verilogStatements += "/* verilator lint_on WIDTH */\n"; parentMacro.children.add(new MacroListing(parentMacro, parentMacro.parseNo + 1, lineNo, parentMacro.originalLineNo, verilogStatements, MacroListing.Type.PROFILING)); } Loading Loading
src/main/java/hk/quantr/verilogcompiler/listener/preprocess/VerilogPreProcessorListener.java +1 −1 Changes for src/main/java/hk/quantr/verilogcompiler/listener/preprocess/VerilogPreProcessorListener.java: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ public class VerilogPreProcessorListener extends VerilogParserBaseListener { // verilogStatements += "$display(\"%x\", add(1,2));\n"; // verilogStatements += "profile(\"" + ctx.variable_lvalue().getText() + "\");\n"; verilogStatements += "/* verilator lint_off WIDTH */\n"; verilogStatements += "profile(>>" + (parentMacro.originalLineNo + 1) + ", \"" + ctx.variable_lvalue().getText() + "\", " + ctx.variable_lvalue().getText() + ");\n"; verilogStatements += "profile(" + (parentMacro.originalLineNo + 1) + ", \"" + ctx.variable_lvalue().getText() + "\", " + ctx.variable_lvalue().getText() + ");\n"; verilogStatements += "/* verilator lint_on WIDTH */\n"; parentMacro.children.add(new MacroListing(parentMacro, parentMacro.parseNo + 1, lineNo, parentMacro.originalLineNo, verilogStatements, MacroListing.Type.PROFILING)); } Loading