VERILOG2067: Encoding bytes should be valid
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 10min | synthesis, vscode, linter, simulation |
Description
Noncompliant code example
// '(' in 'asdf()0123' is an invalid base64 byte
`pragma protect begin_protected
`pragma protect encoding=(enctype="base64"), data_block
asdf()0123
`pragma protect end_protected
If a character in an encoded protected envelope is invalid for the kind of encoding specified, the rest of the protected envelope will be skipped.
Parameters
No parameters.