Forum Discussion
Altera_Forum
Honored Contributor
14 years agotranslate_off/on doesnt quite work like that. They are plaed inside comments embedded within the code, like this:
--synthesis translate_off
signal a : integer; -- synthesisor will not see signal a
--synthesis translate_on
you cannot embed translate_on/off in the middle of a line, you'll get a syntax error.