VHDL222: Forbidden pragmas should not be used
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| LOW | - | - | Intentionality | Complete | 10min | synthesis, vscode, simulation, linter |
Description
The following pragmas should not be used:
-- pragma translate_off -- pragma translate_on -- synopsys translate_off -- synopsys translate_on -- synthesis translate_off -- synthesis translate_on -- exemplar translate_off -- exemplar translate_on -- altera translate_off -- altera translate_on -- xilinx translate_off -- xilinx translate_on -- pragma synthesis_off -- pragma synthesis_on -- synopsys synthesis_off -- synopsys synthesis_on -- RTL_SYNTHESIS OFF -- RTL_SYNTHESIS ON -- vhdl_comp_on -- vhdl_comp_off
This list can be updated through the pragmas parameter.
Parameters
| Parameter | Value | Description |
|---|---|---|
| pragmas | translate_on,translate_off,synthesis_on,synthesis_off,RTL_SYNTHESIS OFF,RTL_SYNTHESIS ON,vhdl_comp_on,vhdl_comp_off | Comma-separated list of forbidden pragmas |