Declaration - Declaration - 2022.2 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2022-11-16
Version
2022.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