Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

getVersion

getVersion( 
[ g_opt ] 
) 
=> t_[sub]version

Description

Returns the version number of the Cadence software you are currently using. If you specify the optional argument g_opt, as t (or a non-nil value), the subversion number of the Cadence software currently used is returned. By default, the full version number, including the hotfix version, of the Cadence software currently used is returned.

Use the SKILL system structure to determine the bitType (32bit / 64bit) of the current Virtuoso session:

system.LP64
=> nil ;; 32bit
=> t  ;; 64bit

or

system.system.ILP32
=> nil ;; 64bit
=> t  ;; 32bit

These system.?? properties are initialized at startup.

Arguments

g_opt

If the optional argument, g_opt, is specified as t (or a non-nil value), the subversion number of the Cadence software currently used is returned. By default, the full version number, including the hotfix version, of the Cadence software currently used is returned.

Value Returned

t_[sub]version

String identifying the version/subversion of the program you are running.

Examples

getVersion() 
=> "@(#)$CDS: virtuoso version [Version] [DateStamp] [BuildHost] $"
getVersion(nil) 
=> "@(#)$CDS: virtuoso version [Version] [DateStamp] [BuildHost] $"
getVersion( 'subVer ) 
=> "sub-version [SubVersion]"
getVersion(t) 
=> "sub-version  [SubVersion] "
getVersion(“subversion”) 
=> "sub-version  [SubVersion] "

Related Topics

Core Functions

dbGetVersion


Return to top
 ⠀
X