AR# 51838: Design Assistant for Vivado Synthesis - Help with SystemVerilog Support - Packages
Design Assistant for Vivado Synthesis - Help with SystemVerilog Support - Packages
This answer record describes SystemVerilog Packages supported by Vivado Synthesis and also provides coding examples for them. These coding examples are attached to this answer record. The answer record also contains information related to known issues and good coding practices.
Note: Each coding example can be used to directly create a Vivado project. Please refer to the header in each source file for the SystemVerilog constructs covered in each example.
SystemVerilog Packages structures that are supported by Vivado Synthesis
Please refer to Table 1-1 at the end of this AR for the related coding examples.
Packages provide an additional way to share different constructs. They have similar behavior to VHDL packages. Packages can contain many things, for example, functions, tasks, types, enums. Packages are referenced in other modules by the import command.