[#73220] add escape characters to signal bit index

This commit is contained in:
Mateusz Gancarz 2025-02-20 15:49:07 +01:00
parent 5c3e3a35c2
commit b3da0df83a
1 changed files with 2 additions and 2 deletions

View File

@ -282,9 +282,9 @@ void VerilatedSaif::recursivelyPrintScopes(uint32_t scopeIndex) {
printStr("(");
printStr(signalName.c_str());
if (activity.width > 1) {
printStr("[");
printStr("\\[");
printStr(std::to_string(activity.lsb + i).c_str());
printStr("]");
printStr("\\]");
}
printStr(" (T0 ");
printStr(std::to_string(m_time - bit.highTime).c_str());