Synthesisability of a signal which is constant

For named constants the preference should be, in order of decreasing preference:

  • enums
  • localparams
  • macros (defines)

Enums have both types and type checking. Localparams have types but no real checking. Macros are just text substitution.