Forum Discussion
Altera_Forum
Honored Contributor
15 years agoAdvices on VHDL signals initialization (Quartus synthesis vs Modelsim simulation)
Hi everybody, I use Modelsim to simulate my VHDL design, and when declaring signals I usually don't add any initialization since I know that inside the FPGA the logic is "automatically" initial...
Altera_Forum
Honored Contributor
15 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.