I’m trying to use microTVM, I set USE_MICRO ON in build/config.cmake, like this:
and I ran command:
cmake ..
make -j4
Then I got errors,
[ 1%] Built target arduino
[ 1%] Building CXX object CMakeFiles/vta_fsim.dir/vta/runtime/runtime.cc.o
[ 2%] Built target zephyr
[ 3%] Building CXX object CMakeFiles/vta_fsim.dir/3rdparty/vta-hw/src/sim/sim_driver.cc.o
[ 4%] Built target project_libbacktrace
[ 4%] Building CXX object CMakeFiles/vta_fsim.dir/3rdparty/vta-hw/src/sim/sim_tlpp.cc.o
In file included from /root/tvm/3rdparty/vta-hw/include/vta/hw_spec.h:33:0,
from /root/tvm/3rdparty/vta-hw/include/vta/sim_tlpp.h:26,
from /root/tvm/3rdparty/vta-hw/src/sim/sim_tlpp.cc:24:
/root/tvm/3rdparty/vta-hw/include/vta/hw_spec.h:158:29: error: ‘VTA_LOG_UOP_BUFF_SIZE’ was not declared in this scope
uint64_t uop_bgn : VTA_LOG_UOP_BUFF_DEPTH;
^
/root/tvm/3rdparty/vta-hw/include/vta/hw_spec.h:158:29: note: suggested alternative: ‘VTA_UOP_BUFF_SIZE’
/root/tvm/3rdparty/vta-hw/include/vta/hw_spec.h:160:29: error: ‘VTA_LOG_UOP_BUFF_SIZE’ was not declared in this scope
uint64_t uop_end : VTA_LOG_UOP_BUFF_DEPTH + 1;
^
/root/tvm/3rdparty/vta-hw/include/vta/hw_spec.h:160:29: note: suggested alternative: ‘VTA_UOP_BUFF_SIZE’
/root/tvm/3rdparty/vta-hw/include/vta/hw_spec.h:166:29: error: ‘VTA_LOG_ACC_BUFF_SIZE’ was not declared in this scope
uint64_t dst_factor_out : VTA_LOG_ACC_BUFF_DEPTH;
^
/root/tvm/3rdparty/vta-hw/include/vta/hw_spec.h:166:29: note: suggested alternative: ‘VTA_ACC_BUFF_SIZE’
/root/tvm/3rdparty/vta-hw/include/vta/hw_spec.h:166:29: error: ‘VTA_LOG_BATCH’ was not declared in this scope
uint64_t dst_factor_out : VTA_LOG_ACC_BUFF_DEPTH;
... ...
What’s wrong?