Add type key and value to coverage.dat

Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
Ryszard Rozak 2025-05-20 14:12:59 +02:00
parent de08655c5b
commit d735b29a8f
1 changed files with 4 additions and 0 deletions

View File

@ -390,6 +390,10 @@ public:
hier = val;
} else {
// Print it
if (key == "page") {
const std::string type = val.substr(2, val.find('/') - 2);
name += keyValueFormatter(VL_CIK_TYPE, type);
}
name += keyValueFormatter(key, val);
}
}