Merge branch 'push-spoxwywzqyru' into 'develop'
Move closed-source standard configs to extensions See merge request ems/astdm/modeling.dram/dram.sys.5!124
This commit is contained in:
@@ -47,7 +47,6 @@ if(POLICY CMP0135)
|
||||
endif()
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
|
||||
include(enable_extensions)
|
||||
|
||||
if (PROJECT_IS_TOP_LEVEL)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
@@ -172,7 +171,9 @@ if(DRAMSYS_BUILD_TRACE_ANALYZER)
|
||||
add_subdirectory(src/traceAnalyzer)
|
||||
endif()
|
||||
|
||||
dramsys_enable_extensions()
|
||||
if(EXISTS ${DRAMSYS_EXTENSIONS_DIR})
|
||||
add_subdirectory(${DRAMSYS_EXTENSIONS_DIR})
|
||||
endif()
|
||||
|
||||
###############################################
|
||||
### Test Directory ###
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"simulation": {
|
||||
"addressmapping": "addressmapping/am_ddr5_2x8x2Gbx4_dimm_p1KB_rbc.json",
|
||||
"mcconfig": "mcconfig/fr_fcfs.json",
|
||||
"memspec": "memspec/JEDEC_2x8x2Gbx4_DDR5-3200A.json",
|
||||
"simconfig": "simconfig/example.json",
|
||||
"simulationid": "ddr5-example",
|
||||
"tracesetup": [
|
||||
{
|
||||
"type": "player",
|
||||
"clkMhz": 2000,
|
||||
"name": "traces/example.stl"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"simulation": {
|
||||
"addressmapping": "addressmapping/am_lpddr5_1Gbx16_BG_rocobabg.json",
|
||||
"mcconfig": "mcconfig/fr_fcfs_refp2b.json",
|
||||
"memspec": "memspec/JEDEC_1Gbx16_BG_LPDDR5-6400.json",
|
||||
"simconfig": "simconfig/example.json",
|
||||
"simulationid": "lpddr5-example",
|
||||
"tracesetup": [
|
||||
{
|
||||
"type": "player",
|
||||
"clkMhz": 200,
|
||||
"name": "traces/example.stl"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
13
extensions/CMakeLists.txt
Normal file
13
extensions/CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
message(STATUS "Enabling DRAMSys extensions:")
|
||||
message(STATUS "============================")
|
||||
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/standards)
|
||||
add_subdirectory(${DRAMSYS_EXTENSIONS_DIR}/standards)
|
||||
endif()
|
||||
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/apps)
|
||||
add_subdirectory(apps)
|
||||
endif()
|
||||
|
||||
message(STATUS "")
|
||||
message(STATUS "")
|
||||
@@ -11,6 +11,6 @@ message(STATUS " Apps:")
|
||||
##############################################
|
||||
### TraceAnalyzer ###
|
||||
##############################################
|
||||
IF(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/traceAnalyzer")
|
||||
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/traceAnalyzer)
|
||||
add_subdirectory(traceAnalyzer)
|
||||
ENDIF()
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user