Added extension mechanism and ported DDR5, LPDDR5, HBM3, TraceAnalyzer

This commit is contained in:
Thomas Psota
2023-02-09 14:22:34 +01:00
parent f4bc3867fc
commit f434026ccd
204 changed files with 1685 additions and 246 deletions

View File

@@ -0,0 +1,14 @@
option(DRAMSYS_EXTENSION_LPDDR5_ENABLE "Enable DRAMSys LPDDR5 Support" ON)
if(DRAMSYS_EXTENSION_LPDDR5_ENABLE)
message(STATUS " * LPDDR5")
file(GLOB_RECURSE SOURCE_FILES CONFIGURE_DEPENDS *.cpp)
file(GLOB_RECURSE HEADER_FILES CONFIGURE_DEPENDS *.h;*.hpp)
target_sources(DRAMSys_libdramsys PRIVATE ${SOURCE_FILES} ${HEADER_FILES})
target_include_directories(DRAMSys_libdramsys PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_definitions(DRAMSys_libdramsys PUBLIC LPDDR5_SIM)
build_source_group()
endif()