update generation mechanism
This commit is contained in:
parent
b5d154c04d
commit
1ed351f199
@ -78,9 +78,7 @@ if(ENABLE_CODEGEN AND EXISTS ${GENERATOR_JAR})
|
||||
list(APPEND ${CORE_NAME}_MAPPING -m "${TMPL_DIR}/CORENAME.cpp.gtl:${DBT_CORE_TGC_DIR}/src/iss/${CORE_NAMEL}.cpp")
|
||||
list(APPEND ${CORE_NAME}_MAPPING -m "${TMPL_DIR}/${BACKEND}/CORENAME.cpp.gtl:${DBT_CORE_TGC_DIR}/src/vm/interp/vm_${CORE_NAMEL}.cpp")
|
||||
list(APPEND ${CORE_NAME}_MAPPING -m "${TMPL_DIR}/CORENAME_instr.yaml.gtl:${DBT_CORE_TGC_DIR}/${CORE_NAME}_instr.yaml")
|
||||
if(NOT EXISTS ${DBT_CORE_TGC_DIR}/${CORE_NAME}_cycles.json)
|
||||
list(APPEND ${CORE_NAME}_MAPPING -m "${TMPL_DIR}/CORENAME_cyles.txt.gtl:${DBT_CORE_TGC_DIR}/${CORE_NAME}_cycles.json")
|
||||
endif()
|
||||
list(APPEND ${CORE_NAME}_MAPPING -m "${TMPL_DIR}/CORENAME_cyles.txt.gtl:${DBT_CORE_TGC_DIR}/${CORE_NAME}_cycles.json:no")
|
||||
|
||||
set(${CORE_NAME}_OUTPUT_FILES ${DBT_CORE_TGC_DIR}/incl/iss/arch/${CORE_NAMEL}.h ${DBT_CORE_TGC_DIR}/src/iss/${CORE_NAMEL}.cpp ${DBT_CORE_TGC_DIR}/src/vm/interp/vm_${CORE_NAMEL}.cpp)
|
||||
#add_custom_command(
|
||||
|
2
coredsl
2
coredsl
@ -1 +1 @@
|
||||
Subproject commit c5f57570bc03316b80ad2e6d3011222ded5fdbd8
|
||||
Subproject commit b7c415e0a785c91fd18a798ba88b5a8f91929510
|
2
tgfs
2
tgfs
@ -1 +1 @@
|
||||
Subproject commit ef2a4df925d621b3e57f5d10e61dbcc90b4e60cc
|
||||
Subproject commit 68b5697c8f1acb7c739bcb4454abce0c89379221
|
Loading…
Reference in New Issue
Block a user