Alias
Type aliases allow one type to be referenced and renamed as another, which can be used to create a localised reference to a foreign type.
Example
The Packtype definition can either use a Python dataclass style or the Packtype custom grammar:
As rendered to SystemVerilog: