Verilog Parameters - 2025.2 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2025-12-05
Version
2025.2 English

Verilog parameters do the following:

  • You can create reusable, scalable, parameterized code.
  • Make code more readable, more compact, and easier to maintain.
  • Describe such functionality as:
    • Bus sizes
    • The amount of certain repetitive elements in the modeled design unit
  • Are constants. For each instantiation of a parameterized module, default operator values can be overridden.
  • Are the equivalent of VHDL generics. Does not support Null string parameters.

Use the Generics command line option to redefine Verilog parameters defined in the top-level design block. This allows you to modify the design without modifying the source code. This feature is useful for IP core generation and flow testing.