axi_dmac: patch version checking
Current implementation does not supports updated versions of Vivado e.g. 2017.4.1 or 2018.2.1 This fix ignores the update number from the version checking.main
parent
f5af939c04
commit
fc74201c88
|
@ -28,7 +28,7 @@ proc init {cellpath otherInfo} {
|
|||
|
||||
# Versions earlier than 2017.3 infer sub-optimal asymmetric memory
|
||||
# See https://www.xilinx.com/support/answers/69179.html
|
||||
if {[expr [version -short] > 2017.2]} {
|
||||
if {[expr [join [lrange [split [version -short] .] 0 1] .] > 2017.2 ]} {
|
||||
set_property "CONFIG.ALLOW_ASYM_MEM" 1 $ip
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue