User-Defined Types - 2025.2 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2025-12-05
Version
2025.2 English

Vivado synthesis supports user-defined types that you define using the typedef keyword. Use the following syntax:

typedef data_type type_identifier {size};

or

typedef [enum, struct] type_identifier;