From 63f84a11353791ac3f8916cdcf7c2c6e6d45c4fb Mon Sep 17 00:00:00 2001 From: Thierry Moreau Date: Sat, 16 May 2020 09:08:59 -0700 Subject: [PATCH] fix rpc server bug on VTA (#5607) --- cmake/modules/VTA.cmake | 1 + vta/python/vta/exec/rpc_server.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/modules/VTA.cmake b/cmake/modules/VTA.cmake index 31208bca3af4..f99707f2f9b7 100644 --- a/cmake/modules/VTA.cmake +++ b/cmake/modules/VTA.cmake @@ -89,6 +89,7 @@ elseif(PYTHON) # VTA FPGA driver sources if(USE_VTA_FPGA) + file(GLOB FSIM_RUNTIME_SRCS ${VTA_HW_PATH}/src/*.cc) file(GLOB FPGA_RUNTIME_SRCS vta/runtime/*.cc) # Rules for Zynq-class FPGAs with pynq OS support (see pynq.io) if(${VTA_TARGET} STREQUAL "pynq" OR diff --git a/vta/python/vta/exec/rpc_server.py b/vta/python/vta/exec/rpc_server.py index 9cfd50927041..220da4331dae 100644 --- a/vta/python/vta/exec/rpc_server.py +++ b/vta/python/vta/exec/rpc_server.py @@ -42,7 +42,7 @@ def server_start(): os.path.abspath(os.path.expanduser(__file__))) proj_root = os.path.abspath(os.path.join(curr_path, "../../../../")) dll_path = find_libvta("libvta")[0] - cfg_path = os.path.abspath(os.path.join(proj_root, "build/vta_config.json")) + cfg_path = os.path.abspath(os.path.join(proj_root, "3rdparty/vta-hw/config/vta_config.json")) runtime_dll = [] _load_module = tvm.get_global_func("tvm.rpc.server.load_module")