User-Defined Types - 2023.1 English

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2023-06-09
Version
2023.1 English

Vivado synthesis supports user-defined types, which are defined using the typedef keyword. Use the following syntax:

typedef data_type type_identifier {size};

or

typedef [enum, struct] type_identifier;