There are a few ways to setup Vivado to compile VHDL files as VHDL-2019. The first is in the IDE. Go to the Source file Properties window and set the Type to VHDL-2019 from the drop-down of available file types.
Figure 1. Source File Properties
You can also set files to VHDL-2019 with the set_property
command in the Tcl Console. The syntax is as follows:
set_property FILE_TYPE {VHDL 2019} [get_files <file.vhd>]
For the non-project or Tcl flow, the command for reading in VHDL-2019 is :
read_vhdl -vhdl2019 <file.vhd>
If you want to read in more than one file, you can either use multiple
read_vhdl
commands or multiple files with one command, as
follows:
read_vhdl -vhdl2019 {a.vhd b.vhd c.vhd}