Closed robincoxe closed 4 years ago
Line 250 of gr-ettus/python/rfnoc_modtool/rfnoc-newmod/CMakeLists.txt has a bug:
gr-ettus/python/rfnoc_modtool/rfnoc-newmod/CMakeLists.txt
COMMAND source ${FPGA}/usrp3/top/e300/setupenv.sh && make -C rfnoc/testbenches/${name} ${SIM} FPGA_TOP_DIR=${FPGA}
e300 is now e3xx in the fpga repo, so this step causes make nocblock[name_of_your_block]_tb to fail.
Also might be worth changing rfnoc/testbenches/${name}to an absolute path-- ${CMAKE_SOURCE_DIR}/rfnoc/testbenches/${name}
rfnoc/testbenches/${name}
${CMAKE_SOURCE_DIR}/rfnoc/testbenches/${name}
@mbr0wn This can be closed
Thanks for the bug report @robincoxe, and thanks for the PR @primercuervo !
Line 250 of
gr-ettus/python/rfnoc_modtool/rfnoc-newmod/CMakeLists.txt
has a bug:COMMAND source ${FPGA}/usrp3/top/e300/setupenv.sh && make -C rfnoc/testbenches/${name} ${SIM} FPGA_TOP_DIR=${FPGA}
e300 is now e3xx in the fpga repo, so this step causes make nocblock[name_of_your_block]_tb to fail.
Also might be worth changing
rfnoc/testbenches/${name}
to an absolute path--${CMAKE_SOURCE_DIR}/rfnoc/testbenches/${name}