In Verilog, is it possible to define XXX only if a parameter is set?
I have a bunch of portions of my code where I include or exclude using `ifdef XXXX, `else XXXX, endif.
However, instead of globally `define XXXX, for each instance of my module, I wish for that `define to be turned on or off based on a parameter. Is there a way to do this?