Skip to content

[sw,dv] %c format specifier not supported by SW-DV log #690

Description

@martin-velay

Follow-up from PR #600.

The upstream format-string cleanup rewrites %c to %0c (the same way %d becomes %0d), but SV $sformatf rejects %0c (*W,SYSFMW: Illegal format ignored) — the log emits a warning even though the character still prints (#600 (comment)).

PR #600 dropped %c from the dv_log_smoketest rather than fix this, since %0c is invalid SV anyway.

Options:

  • Fix cleanup_format to leave %c untouched.
  • Leave %c unsupported and document it as such.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions