Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThe translate_off and translate_on synthesis directives indicate whether the Quartus II software or a third-party synthesis tool should compile a portion of HDL code that is not relevant for synthesis. The translate_off directive marks the beginning of code that the synthesis tool should ignore; the translate_on directive indicates that synthesis should resume. You can also use the synthesis_on and
synthesis_off directives as a synonym for translate on and off e.g. (try this, not tested) signal x : integer translate_off := 10 translate_on;