Added extension mechanism and ported DDR5, LPDDR5, HBM3, TraceAnalyzer
This commit is contained in:
14
extensions/standards/LPDDR5/CMakeLists.txt
Normal file
14
extensions/standards/LPDDR5/CMakeLists.txt
Normal 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()
|
||||
Reference in New Issue
Block a user