TRANSLATE_OFF/TRANSLATE_ON OFF/ON VHDL Example - 2025.2 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2025-12-05
Version
2025.2 English
-- synthesis translate_off
Code...
-- synthesis translate_on
-- synthesis on
Code....
-- synthesis off
CAUTION:
Be careful with the types of code you include between the translate statements. If it is code that affects the behavior of the design, a simulator uses that code, and creates a simulation mismatch.