Declaration - 2024.1 English

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2024-05-30
Version
2024.1 English

Declare variables in the RTL as follows:

[var] [DataType] name;

Where:

  • var is optional and implied if not in the declaration.
  • DataType is one of the following:
    • integer_vector_type: bit, logic, or reg
    • integer_atom_type: byte, shortint, int, longint, integer, or time
    • non_integer_type: shortreal, real, or realtime
    • struct
    • enum