21.3.54 get_libero_version
(Ask a Question)Description
This Tcl command returns the version number of the Libero SoC version. The value that is returned is the same as the version number that is displayed in the
.get_libero_version
Arguments
Return Type | Description |
---|---|
string | Returns the version number of the Libero SoC version. |
Supported Families
Supported Families |
---|
PolarFire® |
RTG4™ |
SmartFusion® 2 |
IGLOO® 2 |
Example
The following example displays Libero version number with var2 variable.
get_libero_version
#save into a variable
set var2 [get_libero_version]
#display variable
puts "Libero Version is $var2"
You will see output similar to the following.
Libero Version is 12.6.0