TRANSLATE_OFF and TRANSLATE_ON instruct the
Synthesis tool to ignore blocks of code. These attributes are given within a comment in
RTL. The comment can start with one of the following keywords:
- synthesis
- synopsy
- pragma
- xilinx
In newer versions of the tool, using a keyword has become optional. The tool works with translate_off/on or off/on in the comment.
TRANSLATE_OFF starts the ignore, and it ends
with TRANSLATE_ON. These commands do not nest.
You can set this attributre only in the RTL.