diff --git a/include/verilated.cpp b/include/verilated.cpp index da56d1e6f..cd0e7dc3a 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -726,7 +726,7 @@ static inline void _vl_vsss_read(FILE* fp, int& floc, WDataInP fromp, const std: _vl_vsss_advance(fp, floc); } *cp++ = '\0'; - //VL_DBG_MSGF("\t_read got='"<>=1) { diff --git a/src/V3EmitC.cpp b/src/V3EmitC.cpp index dc0a252ae..9dfe986db 100644 --- a/src/V3EmitC.cpp +++ b/src/V3EmitC.cpp @@ -1003,7 +1003,7 @@ void EmitCStmts::emitVarDecl(AstVar* nodep, const string& prefixIfImp) { if (nodep->isSc()) { m_ctorVarsVec.push_back(nodep); if (nodep->attrScClocked() && nodep->isInput()) { - puts("sc_in_clk\t"); + puts("sc_in_clk "); } else { if (nodep->isInout()) puts("sc_inout<"); else if (nodep->isInput()) puts("sc_in<"); @@ -1011,7 +1011,7 @@ void EmitCStmts::emitVarDecl(AstVar* nodep, const string& prefixIfImp) { else nodep->v3fatalSrc("Unknown type"); puts(nodep->scType()); - puts(">\t"); + puts("> "); } puts(nodep->name()); emitDeclArrayBrackets(nodep); diff --git a/src/V3File.cpp b/src/V3File.cpp index 21e8b1fac..9dddb4377 100644 --- a/src/V3File.cpp +++ b/src/V3File.cpp @@ -591,7 +591,7 @@ const char* V3OutFormatter::indentStr(int num) { static char str[MAXSPACE+20]; char* cp = str; if (num>MAXSPACE) num=MAXSPACE; - if (m_lang!=LA_VERILOG) { // verilogPrefixedTree doesn't want tabs + if (m_lang!=LA_VERILOG && m_lang!=LA_XML) { // verilogPrefixedTree doesn't want tabs while (num>=8) { *cp++ = '\t'; num -= 8; diff --git a/test_regress/t/t_xml_first.out b/test_regress/t/t_xml_first.out index a6bbcae9c..92f3cf306 100644 --- a/test_regress/t/t_xml_first.out +++ b/test_regress/t/t_xml_first.out @@ -15,26 +15,26 @@ - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + @@ -42,15 +42,15 @@ - - - - - - - - - + + + + + + + + + @@ -58,8 +58,8 @@ - - + + diff --git a/test_regress/t/t_xml_tag.out b/test_regress/t/t_xml_tag.out index 007c517ec..0bde73392 100644 --- a/test_regress/t/t_xml_tag.out +++ b/test_regress/t/t_xml_tag.out @@ -20,20 +20,20 @@ - - - - + + + + - - - - + + + +