Remove tabs from --xml output.
This commit is contained in:
parent
562f17ea4b
commit
12607abb33
|
|
@ -726,7 +726,7 @@ static inline void _vl_vsss_read(FILE* fp, int& floc, WDataInP fromp, const std:
|
||||||
_vl_vsss_advance(fp, floc);
|
_vl_vsss_advance(fp, floc);
|
||||||
}
|
}
|
||||||
*cp++ = '\0';
|
*cp++ = '\0';
|
||||||
//VL_DBG_MSGF("\t_read got='"<<tmpp<<"'\n");
|
//VL_DBG_MSGF(" _read got='"<<tmpp<<"'\n");
|
||||||
}
|
}
|
||||||
static inline void _vl_vsss_setbit(WDataOutP owp, int obits, int lsb, int nbits, IData ld) VL_MT_SAFE {
|
static inline void _vl_vsss_setbit(WDataOutP owp, int obits, int lsb, int nbits, IData ld) VL_MT_SAFE {
|
||||||
for (; nbits && lsb<obits; nbits--, lsb++, ld>>=1) {
|
for (; nbits && lsb<obits; nbits--, lsb++, ld>>=1) {
|
||||||
|
|
|
||||||
|
|
@ -1003,7 +1003,7 @@ void EmitCStmts::emitVarDecl(AstVar* nodep, const string& prefixIfImp) {
|
||||||
if (nodep->isSc()) {
|
if (nodep->isSc()) {
|
||||||
m_ctorVarsVec.push_back(nodep);
|
m_ctorVarsVec.push_back(nodep);
|
||||||
if (nodep->attrScClocked() && nodep->isInput()) {
|
if (nodep->attrScClocked() && nodep->isInput()) {
|
||||||
puts("sc_in_clk\t");
|
puts("sc_in_clk ");
|
||||||
} else {
|
} else {
|
||||||
if (nodep->isInout()) puts("sc_inout<");
|
if (nodep->isInout()) puts("sc_inout<");
|
||||||
else if (nodep->isInput()) puts("sc_in<");
|
else if (nodep->isInput()) puts("sc_in<");
|
||||||
|
|
@ -1011,7 +1011,7 @@ void EmitCStmts::emitVarDecl(AstVar* nodep, const string& prefixIfImp) {
|
||||||
else nodep->v3fatalSrc("Unknown type");
|
else nodep->v3fatalSrc("Unknown type");
|
||||||
|
|
||||||
puts(nodep->scType());
|
puts(nodep->scType());
|
||||||
puts(">\t");
|
puts("> ");
|
||||||
}
|
}
|
||||||
puts(nodep->name());
|
puts(nodep->name());
|
||||||
emitDeclArrayBrackets(nodep);
|
emitDeclArrayBrackets(nodep);
|
||||||
|
|
|
||||||
|
|
@ -591,7 +591,7 @@ const char* V3OutFormatter::indentStr(int num) {
|
||||||
static char str[MAXSPACE+20];
|
static char str[MAXSPACE+20];
|
||||||
char* cp = str;
|
char* cp = str;
|
||||||
if (num>MAXSPACE) num=MAXSPACE;
|
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) {
|
while (num>=8) {
|
||||||
*cp++ = '\t';
|
*cp++ = '\t';
|
||||||
num -= 8;
|
num -= 8;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue