Declaration - 2023.2 English

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2023-11-01
Version
2023.2 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