Knowledge Base Article

Can I tell which version of Qsys my peripheral is being generated in within the _hw.tcl file?

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 "
Updated 3 months ago
Version 3.0
No CommentsBe the first to comment