Altera_Forum
Honored Contributor
11 years agoVHDL Preprocessor?
Hello!
I am trying to make a reusable piece of code which has some generics on top and some constant declarations following. My problem is that depending on some generic values the constants need to have different values. Since i cannot use code outside before the "begin" keyword of the "architecture" then how can I do it? I cannot find any preprocessor directives like "define" for VHDL... Does anybody have a solution for this? Thanks in advance