EmbDev.net

Forum: FPGA, VHDL & Verilog synthesis translate_off / on


von Faras (Guest)


Rate this post
useful
not useful
Hi,
I have a code with the following structure

--synthesis translate_off
some sort of memory implementation/ coding
--synthesis translate_on

Please let me know if deleting this piece of code will affect the final 
output from my FPGA implementation of the code.

Thanks,
Best regards,
Faras

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Faras wrote:
> Please let me know if deleting this piece of code will affect the final
> output from my FPGA implementation of the code.
It shouldn't, but that depends on your synthesizer. Check out the 
corresponding documentation.

One way could also be to implement the design two times and to compare 
the output...

Or to put a necessary instruction in between such a comment sequence...

Or to remove those comments...

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.