Skip to content

Commit a549044

Browse files
committed
Format all files, introduce small upgrades.
1 parent efb88c5 commit a549044

File tree

194 files changed

+6416
-5340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+6416
-5340
lines changed

.clang-format

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
AccessModifierOffset: '-4'
2+
AllowShortFunctionsOnASingleLine: InlineOnly
3+
AllowShortIfStatementsOnASingleLine: Never
4+
BinPackArguments: 'false'
5+
BinPackParameters: 'false'
6+
BreakBeforeBraces: Allman
7+
BreakConstructorInitializers: AfterColon
8+
ColumnLimit: '100'
9+
IndentWidth: '4'
10+
PackConstructorInitializers: CurrentLine
11+
PointerAlignment: Left

.clang-tidy

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Checks: >
2+
clang-diagnostic-*,
3+
clang-analyzer-*,
4+
modernize-*,
5+
bugprone-*,
6+
concurrency-*,
7+
cppcoreguidelines-*,
8+
performance-*,
9+
portability-*,
10+
readability-*,
11+
-modernize-use-trailing-return-type,
12+
-readability-braces-around-statements,
13+
-readability-identifier-length,
14+
-readability-function-cognitive-complexity
15+
WarningsAsErrors: ''
16+
HeaderFilterRegex: ''
17+
AnalyzeTemporaryDtors: false
18+
FormatStyle: file

CMakePresets.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
"std"
7070
],
7171
"cacheVariables": {
72-
"CMAKE_BUILD_TYPE": "Debug"
72+
"CMAKE_BUILD_TYPE": "Debug",
73+
"CMAKE_CXX_FLAGS": "-Wall -Wextra -Wpedantic"
7374
}
7475
}
7576
]

README.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,29 @@ This is the public read-only mirror of an internal DRAMSys repository. Pull requ
1010

1111
The user DOES NOT get ANY WARRANTIES when using this tool. This software is released under the BSD 3-Clause License. By using this software, the user implicitly agrees to the licensing terms.
1212

13-
If you decide to use DRAMSys in your research please cite the papers [2] [3]. To cite the TLM methodology of DRAMSys use the paper [1].
13+
If you decide to use DRAMSys in your research please cite the paper [2] or [3]. To cite the TLM methodology of DRAMSys use the paper [1].
1414

15-
## Key Features
15+
## Included Features
1616

17-
- **Standalone** simulator with trace players and traffic generators, **gem5**-coupled simulator and **TLM-AT-compliant library**
18-
- Support for **DDR3/4**, **LPDDR4**, **Wide I/O 1/2**, **GDDR5/5X/6** and **HBM1/2**
19-
- Support for **DDR5**, **LPDDR5** and **HBM3** (please contact [Matthias Jung](mailto:matthias.jung@iese.fraunhofer.de) for more information)
20-
- Automatic source code generation for new JEDEC standards [3] [9] from DRAMml DSL
17+
- **Standalone** simulator with trace players and traffic generators or **TLM-2.0-compliant library**
18+
- Coupling to **gem5** supported
19+
- Cycle-accurate **DDR3/4**, **LPDDR4**, **Wide I/O 1/2**, **GDDR5/5X/6** and **HBM1/2** modelling
20+
- Bit-granular address mapping with optional XOR connections [7]
2121
- Various scheduling policies
2222
- Open, closed and adaptive page policies [8]
23-
- All-bank, same-bank, per-bank and per-2-bank refresh
23+
- All-bank, same-bank, per-bank and per-2-bank refresh, postponed and pulled in refresh commands
24+
- Refresh management
2425
- Staggered power down [5]
25-
- Coupling to **DRAMPower** [4] and for power simulation
26+
- Coupling to **DRAMPower** [4] for power simulation
27+
28+
## Additional Features
29+
30+
- Cycle-accurate **DDR5**, **LPDDR5** and **HBM3** modelling
2631
- **Trace Analyzer** for visual and metric-based result analysis
32+
- **Free academic** or **commercial** licenses available (please contact [Matthias Jung](mailto:matthias.jung@iese.fraunhofer.de) for more information)
2733

2834
## Video
35+
2936
The linked video shows the background of DRAMSys and some examples of how simulations can be performed.
3037

3138
[![DRAMSys Video](https://img.youtube.com/vi/xdfaGv7MPVo/0.jpg)](https://www.youtube.com/watch?v=xdfaGv7MPVo)
@@ -125,12 +132,12 @@ Christian Weis
125132
[1] TLM Modelling of 3D Stacked Wide I/O DRAM Subsystems, A Virtual Platform for Memory Controller Design Space Exploration
126133
M. Jung, C. Weis, N. Wehn, K. Chandrasekar. International Conference on High-Performance and Embedded Architectures and Compilers 2013 (HiPEAC), Workshop on: Rapid Simulation and Performance Evaluation: Methods and Tools (RAPIDO), January, 2013, Berlin.
127134

128-
[2] DRAMSys: A flexible DRAM Subsystem Design Space Exploration Framework
129-
M. Jung, C. Weis, N. Wehn. IPSJ Transactions on System LSI Design Methodology (T-SLDM), October, 2015.
130-
131-
[3] DRAMSys4.0: A Fast and Cycle-Accurate SystemC/TLM-Based DRAM Simulator
135+
[2] DRAMSys4.0: A Fast and Cycle-Accurate SystemC/TLM-Based DRAM Simulator
132136
L. Steiner, M. Jung, F. S. Prado, K. Bykov, N. Wehn. International Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation (SAMOS), July, 2020, Samos Island, Greece.
133137

138+
[3] DRAMSys4.0: An Open-Source Simulation Framework for In-Depth DRAM Analyses
139+
L. Steiner, M. Jung, F. S. Prado, K. Bykov, N. Wehn. International Journal of Parallel Programming (IJPP), Springer, 2022.
140+
134141
[4] DRAMPower: Open-source DRAM Power & Energy Estimation Tool
135142
K. Chandrasekar, C. Weis, Y. Li, S. Goossens, M. Jung, O. Naji, B. Akesson, N. Wehn, K. Goossens. URL: http://www.drampower.info
136143

@@ -140,8 +147,8 @@ M. Jung, M. Sadri, C. Weis, N. Wehn, L. Benini. VLSI-SoC, October, 2014, Playa d
140147
[6] Retention Time Measurements and Modelling of Bit Error Rates of WIDE-I/O DRAM in MPSoCs
141148
C. Weis, M. Jung, P. Ehses, C. Santos, P. Vivet, S. Goossens, M. Koedam, N. Wehn. IEEE Conference Design, Automation and Test in Europe (DATE), March, 2015, Grenoble, France.
142149

143-
[7] ConGen: An Application Specific DRAM Memory Controller Generator
144-
M. Jung, I. Heinrich, M. Natale, D. M. Mathew, C. Weis, S. Krumke, N. Wehn. International Symposium on Memory Systems (MEMSYS 2016), October, 2016, Washington, DC, USA.
150+
[7] Efficient Generation of Application Specific Memory Controllers
151+
M. V. Natale, M. Jung, K. Kraft, F. Lauer, J. Feldmann, C. Sudarshan, C. Weis, S. O. Krumke, N. Wehn. ACM/IEEE International Symposium on Memory Systems (MEMSYS 2020), October, 2020, virtual conference.
145152

146153
[8] Simulating DRAM controllers for future system architecture exploration
147154
A. Hansson, N. Agarwal, A. Kolli, T. Wenisch, A. N. Udipi. IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), 2014, Monterey, USA.

configs/memspec/JEDEC_1Gbx16_LPDDR4-0533.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"memoryType": "LPDDR4",
1616
"memtimingspec": {
1717
"CCD": 8,
18+
"CCDMW": 32,
1819
"CKE": 4,
1920
"CMDCKE": 3,
2021
"DQS2DQ": 0,

configs/memspec/JEDEC_1Gbx16_LPDDR4-1066.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"memoryType": "LPDDR4",
1616
"memtimingspec": {
1717
"CCD": 8,
18+
"CCDMW": 32,
1819
"CKE": 4,
1920
"CMDCKE": 3,
2021
"DQS2DQ": 0,

configs/memspec/JEDEC_1Gbx16_LPDDR4-1600.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"memoryType": "LPDDR4",
1616
"memtimingspec": {
1717
"CCD": 8,
18+
"CCDMW": 32,
1819
"CKE": 6,
1920
"CMDCKE": 3,
2021
"DQS2DQ": 0,

configs/memspec/JEDEC_1Gbx16_LPDDR4-2133.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"memoryType": "LPDDR4",
1616
"memtimingspec": {
1717
"CCD": 8,
18+
"CCDMW": 32,
1819
"CKE": 9,
1920
"CMDCKE": 3,
2021
"DQS2DQ": 0,

configs/memspec/JEDEC_1Gbx16_LPDDR4-2666.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"memoryType": "LPDDR4",
1616
"memtimingspec": {
1717
"CCD": 8,
18+
"CCDMW": 32,
1819
"CKE": 10,
1920
"CMDCKE": 3,
2021
"DQS2DQ": 0,

configs/memspec/JEDEC_1Gbx16_LPDDR4-3200.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"memoryType": "LPDDR4",
1616
"memtimingspec": {
1717
"CCD": 8,
18+
"CCDMW": 32,
1819
"CKE": 12,
1920
"CMDCKE": 3,
2021
"DQS2DQ": 0,

0 commit comments

Comments
 (0)