Intel® Quartus® Prime Pro Edition User Guide: Scripting
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: mwh1410471029149
Ixiasoft
Visible to Intel only — GUID: mwh1410471029149
Ixiasoft
2.9.4. Arithmetic
set a 5
set b [expr { $a + sqrt(2) }]
The Intel® Quartus® Prime software supports all standard Tcl boolean and arithmetic operators, such as && (AND), || (OR), ! (NOT), and comparison operators such as < (less than), > (greater than), and == (equal to).