I have defined a VHDL constant, which I use as a switch inside a "generate" statement to whether generate a portion of the code or skip it. I have a Verilog module in the same top level, and I would like to do something similar. I want to use the VHDL constant in Verilog's "ifdef" statement, to either instantiate or skip the Verilog module. Is there any tricks that I can play to achieve this? Since I know that VHDL constants cannot be used in Verilog "ifdef" statements.
Thanks, --Rudy