fpgadeveloper / zedboard-axi-dma

Demonstration of the AXI DMA engine on the ZedBoard
51 stars 27 forks source link

Use the last directory of the vivado install path for the version check #3

Closed eliaskousk closed 6 years ago

eliaskousk commented 6 years ago

Replaces the hard-coded constant '3' with the last item of the splitted path in the version check comparison at the start of the script that builds the Vivado project.

This makes the script work correctly when Vivado is installed in a path that is more or less than 3 directories deep, i.e /opt/Xilinx/Vivado/2018.2/