Description
Whilst there is no in-built TCL function to see which version of the tool the peripheral is being generated in, it is possible to perform checks for supported versions within a Qsys peripheral script.
Resolution
The following code may be manipulated and placed in a peripheral script to report the currently running Quartus® II version.
set quartus_version [exec quartus_sh --tcl_eval puts "${::quartus(version)}"]
send_message note "The current version of Quartus is "