We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 130abf7 commit b8c7d6dCopy full SHA for b8c7d6d
projects/scripts/adi_board.tcl
@@ -3,8 +3,6 @@
3
### SPDX short identifier: ADIBSD
4
###############################################################################
5
6
-package require math
7
-
8
## Global variables for interconnect interface indexing
9
#
10
set sys_hpc0_interconnect_index -1
@@ -153,8 +151,8 @@ proc ad_connect_int_width {obj} {
153
151
set left [get_property LEFT $obj]
154
152
set right [get_property RIGHT $obj]
155
156
- set high [::math::max $left $right]
157
- set low [::math::min $left $right]
+ set high [expr max($left,$right)]
+ set low [expr min($left,$right)]
158
159
return [expr {1 + $high - $low}]
160
}
0 commit comments