> configure(npc)

ysyx_22040000 李心杨
 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux
  18:32:30  up 2 days 17:33,  2 users,  load average: 0.59, 0.57, 0.71
This commit is contained in:
tracer-ysyx 2024-01-10 18:32:30 +08:00 committed by xinyangli
parent 01c708a1b7
commit 475b881843
No known key found for this signature in database
2 changed files with 6 additions and 2 deletions

View file

@ -52,7 +52,9 @@ foreach(TOPMODULE IN LISTS TOPMODULES)
DEPENDS ${CMAKE_SOURCE_DIR}/constr/${TOPMODULE}.nxdc
)
add_executable(V${TOPMODULE}_nvboard csrc_nvboard/${TOPMODULE}/main.cpp ${CMAKE_CURRENT_BINARY_DIR}/${TOPMODULE}/auto_bind.cpp)
unset(SOURCES)
file(GLOB_RECURSE SOURCES csrc_nvboard/${TOPMODULE}/*.cpp)
add_executable(V${TOPMODULE}_nvboard ${SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/${TOPMODULE}/auto_bind.cpp)
verilate(V${TOPMODULE}_nvboard TRACE COVERAGE THREADS
TOP_MODULE ${TOPMODULE}
@ -67,7 +69,9 @@ foreach(TOPMODULE IN LISTS TOPMODULES)
# -- Build Verilator executable and add to test
add_executable(V${TOPMODULE} csrc/main.cpp)
unset(SOURCES)
file(GLOB_RECURSE SOURCES csrc/${TOPMODULE}/*.cpp)
add_executable(V${TOPMODULE} ${SOURCES})
verilate(V${TOPMODULE} TRACE COVERAGE THREADS
TOP_MODULE ${TOPMODULE}