You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vivado requires to explicitly set the VHDL version to 2008+ if VHDL2008 features are being used in design files.
This might be solved in multiple ways:
Worst but fastest: Set all files to VHDL2008 by adding following line to vivado.jinja. This will likely not break anything and support VHDL2008 in addition, but is highly bodgy. set_property file_type {VHDL 2008} [get_files -filter {FILE_TYPE == VHDL}]
Reasonably easy: Add a new function to set VHDL version explicitly for all files.
Most effort but probably best: Implement both setting the version for all files + per each file add command.
I will probably implement this by myself when I find the time, so let me know before you start so we can avoid duplicate work :)
The text was updated successfully, but these errors were encountered:
Add an options parameter in the add_<HDL> methods.
In the meantime, you could use a hook: prj.add_hook('precfg', 'set_property file_type {VHDL 2008} [get_files -filter {FILE_TYPE == VHDL}]')
Vivado requires to explicitly set the VHDL version to 2008+ if VHDL2008 features are being used in design files.
This might be solved in multiple ways:
set_property file_type {VHDL 2008} [get_files -filter {FILE_TYPE == VHDL}]
I will probably implement this by myself when I find the time, so let me know before you start so we can avoid duplicate work :)
The text was updated successfully, but these errors were encountered: