User-Defined Types - 2022.1 English

Vivado Design Suite User Guide: Synthesis (UG901)

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