VERILOG2085: Pragma protect directives should not define unknown keyword options
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 10min | synthesis, vscode, linter, simulation |
Description
Noncompliant code example
// Unknown keyword option 'foo' `pragma protect encoding=(enctype="base64", foo="bar")
Compliant solution
`pragma protect encoding=(enctype="base64", bytes=6)
Pragma protect directives should not define unknown keyword options.
Parameters
No parameters.