[VTA] hotfix for de10-nano driver (#4081)
authorHua Jiang <huaj@xilinx.com>
Tue, 8 Oct 2019 19:16:03 +0000 (12:16 -0700)
committerThierry Moreau <moreau@uw.edu>
Tue, 8 Oct 2019 19:16:02 +0000 (12:16 -0700)
commitbe869546243182a965dbeb1438fc2c2402558040
tree608c7f7a7ab1fb0e9cacb206ac240599d8f065e3
parent2ee0f6504472ca15d43858a51aabee6227d0a1f3
[VTA] hotfix for de10-nano driver (#4081)

Issue:
git clone latest TVM/VTA and run VTA on xilinx FPGA board, application
crashed due to the "call stack overflow" which caused by a infinite recursive
function call. this issue ever happen before and get addressed by PR 3843.

Analysis:
seems like de10-nano driver PR  used old code base then the  logic change
of 3843 get eliminated.

Solution:
add the logic back.
cmake/modules/VTA.cmake