hfim-cli 1.15.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. fim/__init__.py +42 -0
  2. fim/analysis/__init__.py +53 -0
  3. fim/analysis/burst_sdc.py +160 -0
  4. fim/analysis/classifier.py +924 -0
  5. fim/analysis/comparator.py +738 -0
  6. fim/analysis/consolidate.py +625 -0
  7. fim/analysis/csv_io.py +28 -0
  8. fim/analysis/ecc_quartet.py +167 -0
  9. fim/analysis/nvm_endurance_matrix.py +170 -0
  10. fim/analysis/observable_state.py +945 -0
  11. fim/analysis/reporter.py +712 -0
  12. fim/analysis/results_txt.py +229 -0
  13. fim/campaigns/__init__.py +28 -0
  14. fim/campaigns/base_campaign.py +5151 -0
  15. fim/campaigns/cache_campaign.py +233 -0
  16. fim/campaigns/campaign_view.py +135 -0
  17. fim/campaigns/csr_campaign.py +31 -0
  18. fim/campaigns/fault_plan.py +105 -0
  19. fim/campaigns/faultlist_builder.py +503 -0
  20. fim/campaigns/gem5_parallel_runner.py +210 -0
  21. fim/campaigns/golden_gate.py +158 -0
  22. fim/campaigns/injection_point_selector.py +473 -0
  23. fim/campaigns/memory_campaign.py +686 -0
  24. fim/campaigns/parallel_runner.py +510 -0
  25. fim/campaigns/register_campaign.py +617 -0
  26. fim/campaigns/serial_feeder.py +169 -0
  27. fim/cli.py +2652 -0
  28. fim/configs/benchmarks/bitcount.yaml +11 -0
  29. fim/configs/benchmarks/checksum.yaml +11 -0
  30. fim/configs/benchmarks/dotprod_f64.yaml +12 -0
  31. fim/configs/benchmarks/fibonacci.yaml +10 -0
  32. fim/configs/boards/board_spec_schema.yaml +216 -0
  33. fim/configs/boards/raspberry_pi_5.yaml +122 -0
  34. fim/configs/boards/xuantie_c906.yaml +127 -0
  35. fim/configs/boards/xuantie_c906_ruby_nvmain.yaml +85 -0
  36. fim/configs/dramsim3/DDR3_1Gb_x8_1333.ini +69 -0
  37. fim/configs/dramsim3/DDR3_4Gb_x16_1600.ini +67 -0
  38. fim/configs/dramsim3/DDR3_4Gb_x16_1866.ini +67 -0
  39. fim/configs/dramsim3/DDR3_4Gb_x4_1600.ini +67 -0
  40. fim/configs/dramsim3/DDR3_4Gb_x4_1866.ini +67 -0
  41. fim/configs/dramsim3/DDR3_4Gb_x8_1600.ini +67 -0
  42. fim/configs/dramsim3/DDR3_4Gb_x8_1866.ini +67 -0
  43. fim/configs/dramsim3/DDR3_8Gb_x16_1600.ini +67 -0
  44. fim/configs/dramsim3/DDR3_8Gb_x16_1866.ini +67 -0
  45. fim/configs/dramsim3/DDR3_8Gb_x4_1600.ini +67 -0
  46. fim/configs/dramsim3/DDR3_8Gb_x4_1866.ini +67 -0
  47. fim/configs/dramsim3/DDR3_8Gb_x8_1600.ini +67 -0
  48. fim/configs/dramsim3/DDR3_8Gb_x8_1866.ini +67 -0
  49. fim/configs/dramsim3/DDR4_4Gb_x16_1866.ini +67 -0
  50. fim/configs/dramsim3/DDR4_4Gb_x16_2133.ini +67 -0
  51. fim/configs/dramsim3/DDR4_4Gb_x16_2133_2.ini +67 -0
  52. fim/configs/dramsim3/DDR4_4Gb_x16_2400.ini +67 -0
  53. fim/configs/dramsim3/DDR4_4Gb_x16_2400_2.ini +67 -0
  54. fim/configs/dramsim3/DDR4_4Gb_x16_2666.ini +67 -0
  55. fim/configs/dramsim3/DDR4_4Gb_x16_2666_2.ini +67 -0
  56. fim/configs/dramsim3/DDR4_4Gb_x4_1866.ini +67 -0
  57. fim/configs/dramsim3/DDR4_4Gb_x4_2133.ini +67 -0
  58. fim/configs/dramsim3/DDR4_4Gb_x4_2133_2.ini +67 -0
  59. fim/configs/dramsim3/DDR4_4Gb_x4_2400.ini +67 -0
  60. fim/configs/dramsim3/DDR4_4Gb_x4_2400_2.ini +67 -0
  61. fim/configs/dramsim3/DDR4_4Gb_x4_2666.ini +67 -0
  62. fim/configs/dramsim3/DDR4_4Gb_x4_2666_2.ini +67 -0
  63. fim/configs/dramsim3/DDR4_4Gb_x8_1866.ini +67 -0
  64. fim/configs/dramsim3/DDR4_4Gb_x8_2133.ini +67 -0
  65. fim/configs/dramsim3/DDR4_4Gb_x8_2133_2.ini +67 -0
  66. fim/configs/dramsim3/DDR4_4Gb_x8_2400.ini +67 -0
  67. fim/configs/dramsim3/DDR4_4Gb_x8_2400_2.ini +67 -0
  68. fim/configs/dramsim3/DDR4_4Gb_x8_2666.ini +67 -0
  69. fim/configs/dramsim3/DDR4_4Gb_x8_2666_2.ini +67 -0
  70. fim/configs/dramsim3/DDR4_8Gb_x16_1866.ini +67 -0
  71. fim/configs/dramsim3/DDR4_8Gb_x16_2133.ini +67 -0
  72. fim/configs/dramsim3/DDR4_8Gb_x16_2133_2.ini +67 -0
  73. fim/configs/dramsim3/DDR4_8Gb_x16_2400.ini +67 -0
  74. fim/configs/dramsim3/DDR4_8Gb_x16_2400_2.ini +67 -0
  75. fim/configs/dramsim3/DDR4_8Gb_x16_2666.ini +67 -0
  76. fim/configs/dramsim3/DDR4_8Gb_x16_2666_2.ini +67 -0
  77. fim/configs/dramsim3/DDR4_8Gb_x16_2933.ini +67 -0
  78. fim/configs/dramsim3/DDR4_8Gb_x16_2933_2.ini +67 -0
  79. fim/configs/dramsim3/DDR4_8Gb_x16_3200.ini +67 -0
  80. fim/configs/dramsim3/DDR4_8Gb_x4_1866.ini +67 -0
  81. fim/configs/dramsim3/DDR4_8Gb_x4_2133.ini +67 -0
  82. fim/configs/dramsim3/DDR4_8Gb_x4_2133_2.ini +67 -0
  83. fim/configs/dramsim3/DDR4_8Gb_x4_2400.ini +67 -0
  84. fim/configs/dramsim3/DDR4_8Gb_x4_2400_2.ini +67 -0
  85. fim/configs/dramsim3/DDR4_8Gb_x4_2666.ini +67 -0
  86. fim/configs/dramsim3/DDR4_8Gb_x4_2666_2.ini +67 -0
  87. fim/configs/dramsim3/DDR4_8Gb_x4_2933.ini +67 -0
  88. fim/configs/dramsim3/DDR4_8Gb_x4_2933_2.ini +67 -0
  89. fim/configs/dramsim3/DDR4_8Gb_x4_3200.ini +67 -0
  90. fim/configs/dramsim3/DDR4_8Gb_x8_1866.ini +67 -0
  91. fim/configs/dramsim3/DDR4_8Gb_x8_2133.ini +67 -0
  92. fim/configs/dramsim3/DDR4_8Gb_x8_2133_2.ini +67 -0
  93. fim/configs/dramsim3/DDR4_8Gb_x8_2400.ini +77 -0
  94. fim/configs/dramsim3/DDR4_8Gb_x8_2400_2.ini +67 -0
  95. fim/configs/dramsim3/DDR4_8Gb_x8_2666.ini +67 -0
  96. fim/configs/dramsim3/DDR4_8Gb_x8_2666_2.ini +67 -0
  97. fim/configs/dramsim3/DDR4_8Gb_x8_2933.ini +67 -0
  98. fim/configs/dramsim3/DDR4_8Gb_x8_2933_2.ini +67 -0
  99. fim/configs/dramsim3/DDR4_8Gb_x8_3200.ini +67 -0
  100. fim/configs/ecc_policies/c906.yaml +26 -0
  101. fim/configs/matmul_aarch64.yaml +62 -0
  102. fim/configs/mcpat/c906.xml +481 -0
  103. fim/configs/mcpat/raspberry_pi_5.xml +405 -0
  104. fim/configs/mcpat/sTemplate.xml +444 -0
  105. fim/configs/mcpat/template.xml +405 -0
  106. fim/configs/mmult.yaml +140 -0
  107. fim/configs/mmult_memory_gem5.yaml +23 -0
  108. fim/configs/nvmain/2D_DRAM_example.config +249 -0
  109. fim/configs/nvmain/3D_DRAMCache_OffChipMemory_example.config +154 -0
  110. fim/configs/nvmain/3D_DRAMCache_example.config +275 -0
  111. fim/configs/nvmain/3D_DRAM_example.config +237 -0
  112. fim/configs/nvmain/3D_PredictorDRC_example.config +277 -0
  113. fim/configs/nvmain/3D_VariableDRC_example.config +278 -0
  114. fim/configs/nvmain/Hybrid_DRAM_channel.config +249 -0
  115. fim/configs/nvmain/Hybrid_NVM_channel.config +208 -0
  116. fim/configs/nvmain/Hybrid_NVM_channel_BitModel.config +208 -0
  117. fim/configs/nvmain/Hybrid_example.config +72 -0
  118. fim/configs/nvmain/Hybrid_example_BitModel.config +72 -0
  119. fim/configs/nvmain/PCM_ISSCC_2012_4GB.config +217 -0
  120. fim/configs/nvmain/PCM_ISSCC_2012_4GB_BitModel.config +217 -0
  121. fim/configs/nvmain/PCM_ISSCC_2012_4GB_BitModel_ECP.config +222 -0
  122. fim/configs/nvmain/PCM_ISSCC_2012_4GB_ByteModel.config +217 -0
  123. fim/configs/nvmain/PCM_ISSCC_2012_4GB_RowModel.config +217 -0
  124. fim/configs/nvmain/PCM_ISSCC_2012_4GB_WordModel.config +217 -0
  125. fim/configs/nvmain/PCM_MLC_estimated.config +233 -0
  126. fim/configs/nvmain/PCM_MLC_example.config +232 -0
  127. fim/configs/nvmain/PCM_MLC_example_BitModel.config +232 -0
  128. fim/configs/nvmain/PerfectMemory.config +229 -0
  129. fim/configs/nvmain/RRAM_ISSCC_2012_4GB.config +218 -0
  130. fim/configs/nvmain/STTRAM_Everspin_4GB.config +217 -0
  131. fim/configs/nvmain/STTRAM_Everspin_4GB_BitModel.config +217 -0
  132. fim/configs/nvmain/printtrace.config +145 -0
  133. fim/configs/nvmain/printtrace_bitflip.config +146 -0
  134. fim/configs/quicksort_dmr.yaml +225 -0
  135. fim/configs/rust_sort_array.yaml +28 -0
  136. fim/configs/rust_sort_bss.yaml +38 -0
  137. fim/configs/sum.yaml +149 -0
  138. fim/configs/template.yaml +418 -0
  139. fim/configs/toolchains.remote.json +14 -0
  140. fim/core/__init__.py +161 -0
  141. fim/core/artifacts/__init__.py +25 -0
  142. fim/core/artifacts/adapters/__init__.py +146 -0
  143. fim/core/artifacts/adapters/board.py +38 -0
  144. fim/core/artifacts/adapters/config.py +115 -0
  145. fim/core/artifacts/adapters/sdk.py +435 -0
  146. fim/core/artifacts/adapters/simulator.py +139 -0
  147. fim/core/artifacts/adapters/template.py +107 -0
  148. fim/core/artifacts/classification.py +95 -0
  149. fim/core/artifacts/hashing.py +265 -0
  150. fim/core/artifacts/inputs.py +179 -0
  151. fim/core/artifacts/records.py +238 -0
  152. fim/core/artifacts/retention.py +504 -0
  153. fim/core/artifacts/staleness.py +486 -0
  154. fim/core/artifacts/store.py +202 -0
  155. fim/core/artifacts/workspace.py +108 -0
  156. fim/core/checkpoint.py +338 -0
  157. fim/core/checkpoint_policy.py +171 -0
  158. fim/core/classifier_view.py +96 -0
  159. fim/core/clock_view.py +99 -0
  160. fim/core/configuration/__init__.py +13 -0
  161. fim/core/configuration/frozen.py +85 -0
  162. fim/core/configuration/groups.py +41 -0
  163. fim/core/configuration/includes.py +249 -0
  164. fim/core/configuration/lifecycle_rules.py +83 -0
  165. fim/core/configuration/reference.py +200 -0
  166. fim/core/configuration/reference_docs.py +344 -0
  167. fim/core/configuration/resolver.py +495 -0
  168. fim/core/configuration/run_context.py +51 -0
  169. fim/core/configuration/schema.py +784 -0
  170. fim/core/configuration/sources.py +121 -0
  171. fim/core/configuration/template_pins.py +79 -0
  172. fim/core/fault_models.py +261 -0
  173. fim/core/fim.py +452 -0
  174. fim/core/gdb_controller.py +2053 -0
  175. fim/core/gem5_controller.py +1226 -0
  176. fim/core/gem5_launch.py +489 -0
  177. fim/core/gem5_observable.py +202 -0
  178. fim/core/gem5_producers.py +684 -0
  179. fim/core/gem5_simulator.py +724 -0
  180. fim/core/golden_view.py +94 -0
  181. fim/core/hardware_cluster.py +236 -0
  182. fim/core/hardware_simulator.py +992 -0
  183. fim/core/hardware_spec.py +352 -0
  184. fim/core/hardware_station.py +374 -0
  185. fim/core/hardware_view.py +64 -0
  186. fim/core/hardware_window.py +102 -0
  187. fim/core/hook_view.py +52 -0
  188. fim/core/lifecycle.py +433 -0
  189. fim/core/machine_binding.py +317 -0
  190. fim/core/ovp_plan.py +419 -0
  191. fim/core/ovp_protocol.py +647 -0
  192. fim/core/ovp_simulator.py +1201 -0
  193. fim/core/ovp_view.py +99 -0
  194. fim/core/qemu_controller.py +1396 -0
  195. fim/core/qemu_launch.py +179 -0
  196. fim/core/qemu_simulator.py +329 -0
  197. fim/core/results_store.py +218 -0
  198. fim/core/results_view.py +94 -0
  199. fim/core/simulator_controller.py +298 -0
  200. fim/core/simulator_manifest.py +739 -0
  201. fim/core/station_host.py +277 -0
  202. fim/install/__init__.py +16 -0
  203. fim/install/ensure.py +182 -0
  204. fim/install/home.py +126 -0
  205. fim/install/index.py +122 -0
  206. fim/install/index.yaml +59 -0
  207. fim/install/prebuilt.py +120 -0
  208. fim/install/probes.py +182 -0
  209. fim/install/remote.py +165 -0
  210. fim/install/sdk.py +178 -0
  211. fim/install/setup.py +184 -0
  212. fim/install/simulators.py +323 -0
  213. fim/install/template.py +147 -0
  214. fim/install/uninstall.py +149 -0
  215. fim/provision/__init__.py +48 -0
  216. fim/provision/catalog.py +278 -0
  217. fim/provision/commands.py +1051 -0
  218. fim/provision/doctor.py +291 -0
  219. fim/provision/drain.py +117 -0
  220. fim/provision/forms/__init__.py +4 -0
  221. fim/provision/forms/docker.py +469 -0
  222. fim/provision/forms/fake.py +281 -0
  223. fim/provision/forms/native.py +438 -0
  224. fim/provision/fresh_layout.py +66 -0
  225. fim/provision/hostdeps.py +229 -0
  226. fim/provision/layout_units.py +148 -0
  227. fim/provision/lock.py +100 -0
  228. fim/provision/package.py +110 -0
  229. fim/provision/plan.py +356 -0
  230. fim/provision/privilege.py +259 -0
  231. fim/provision/probe.py +117 -0
  232. fim/provision/release.py +188 -0
  233. fim/provision/sdk.py +102 -0
  234. fim/provision/steps.py +324 -0
  235. fim/provision/switch.py +80 -0
  236. fim/provision/switch_recovery.py +165 -0
  237. fim/remote/__init__.py +15 -0
  238. fim/remote/access/__init__.py +203 -0
  239. fim/remote/access/credential.py +46 -0
  240. fim/remote/access/credentials/__init__.py +4 -0
  241. fim/remote/access/credentials/command.py +50 -0
  242. fim/remote/access/credentials/keychain.py +50 -0
  243. fim/remote/access/credentials/none.py +16 -0
  244. fim/remote/access/credentials/peer.py +25 -0
  245. fim/remote/access/credentials/token.py +50 -0
  246. fim/remote/access/spec.py +34 -0
  247. fim/remote/access/transport.py +66 -0
  248. fim/remote/access/transports/__init__.py +4 -0
  249. fim/remote/access/transports/command.py +222 -0
  250. fim/remote/access/transports/direct.py +39 -0
  251. fim/remote/access/transports/ssh_tunnel.py +74 -0
  252. fim/remote/api.py +245 -0
  253. fim/remote/commands.py +625 -0
  254. fim/remote/fetch.py +155 -0
  255. fim/remote/follow.py +157 -0
  256. fim/remote/journal.py +150 -0
  257. fim/remote/location.py +108 -0
  258. fim/remote/preflight.py +350 -0
  259. fim/remote/servers.py +159 -0
  260. fim/remote/snapshot.py +249 -0
  261. fim/remote/submit.py +302 -0
  262. fim/scripts/__init__.py +2 -0
  263. fim/scripts/generate_report.py +108 -0
  264. fim/scripts/run_campaign.py +1447 -0
  265. fim/scripts/run_ecc_quartet.py +94 -0
  266. fim/scripts/run_golden.py +2256 -0
  267. fim/scripts/verify_provenance.py +61 -0
  268. fim/utils/__init__.py +74 -0
  269. fim/utils/board.py +378 -0
  270. fim/utils/board_view.py +39 -0
  271. fim/utils/config.py +1714 -0
  272. fim/utils/coredump.py +28 -0
  273. fim/utils/elf_parser.py +1118 -0
  274. fim/utils/elf_provenance.py +140 -0
  275. fim/utils/injection_file_writer.py +309 -0
  276. fim/utils/logger.py +362 -0
  277. fim/utils/picker.py +195 -0
  278. fim/utils/prng.py +207 -0
  279. fim/utils/provenance.py +873 -0
  280. fim/utils/register_width.py +52 -0
  281. hfim_cli-1.15.6.data/data/share/hfim/gem5_to_mcpat.py +508 -0
  282. hfim_cli-1.15.6.dist-info/METADATA +131 -0
  283. hfim_cli-1.15.6.dist-info/RECORD +288 -0
  284. hfim_cli-1.15.6.dist-info/WHEEL +5 -0
  285. hfim_cli-1.15.6.dist-info/entry_points.txt +2 -0
  286. hfim_cli-1.15.6.dist-info/licenses/LICENSE +21 -0
  287. hfim_cli-1.15.6.dist-info/licenses/THIRD_PARTY_NOTICES +166 -0
  288. hfim_cli-1.15.6.dist-info/top_level.txt +1 -0
@@ -0,0 +1,237 @@
1
+ ; Memory configuration file examples.
2
+ ; As an example, a Micron 512MB,128-Bank Hybrid Memory Cube (HMC) is defined
3
+
4
+ ;================================================================================
5
+ ; Interface specifications
6
+
7
+ ; 1333 MHz clock (2666MT/s DDR). Clock period = 0.75 ns
8
+ CLK 1333
9
+
10
+ ; Data Rate. 1 for SDR, 2 for DDR
11
+ RATE 2
12
+
13
+ ; Bus width in bits. JEDEC standard is 64-bits
14
+ ; for 3D DRAM, usually a wide bus is used
15
+ BusWidth 128
16
+
17
+ ; Number of bits provided by each device in a rank
18
+ ; Number of devices is calculated using BusWidth / DeviceWidth.
19
+ ; for 3D DRAM, only one device exists in a channel
20
+ DeviceWidth 32
21
+
22
+ ; NVMain use CLK and CPUFreq to do the synchronization. The ratio CLK/CPUFreq
23
+ ; is actually used. So a simple CLK=1 and CPUFreq=4 still works for simulation.
24
+ ; However, it is straightforward to make it informative.
25
+ CPUFreq 3000
26
+ ;================================================================================
27
+
28
+ ;********************************************************************************
29
+ ; General memory system configuration
30
+
31
+ ; Number of banks per rank
32
+ BANKS 32
33
+
34
+ ; Number of ranks per channel
35
+ ; for 3D DRAM, rank and channel is interchangable
36
+ RANKS 1
37
+
38
+ ; Number of channels in the system
39
+ CHANNELS 4
40
+
41
+ ; Number of rows in one bank
42
+ ROWS 8192
43
+
44
+ ; Number of VISIBLE columns in one bank (real column number = COLS * DeviceWidth)
45
+ COLS 16
46
+
47
+ ; whether enable sub-array level parallelism (SALP)
48
+ ; options:
49
+ ; No SALP: MATHeight = ROWS
50
+ ; SALP: number of subarrays = ROWS / MATHeight
51
+ MATHeight 8192
52
+
53
+ ; Whether use refresh?
54
+ UseRefresh true
55
+
56
+ ; the refresh granularity (the number of banks refreshed together in a rank)
57
+ ; this must NOT be 0 when UseRefresh is true
58
+ BanksPerRefresh 32
59
+
60
+ ;RefreshRows is the number of rows to refresh per refresh operation (ROWS/8192 for DRAM)
61
+ RefreshRows 1
62
+
63
+ ; the number of refresh that can be delayed
64
+ ; options: 1 -- 8 (DDR-3 defines the maximum 9*tREFI)
65
+ ; when 1 is applied, immediate refresh is used, otherwise the refresh can be
66
+ ; delayed
67
+ DelayedRefreshThreshold 1;
68
+ ;********************************************************************************
69
+
70
+ ;================================================================================
71
+ ; Memory device timing parameters (in memory cycle)
72
+
73
+ ; length of data burst
74
+ tBURST 2
75
+
76
+ ; For 3D DRAM, since we already have a faster clock, no change here.
77
+ tCMD 1
78
+ tRAS 24
79
+ tRCD 10
80
+ tAL 0
81
+ tCCD 4
82
+ tCWD 7
83
+ tWTR 5
84
+ tWR 10
85
+ tRP 10
86
+ tCAS 10 ; tCAS is also known as tCL
87
+
88
+ tRTRS 1 ; for DDR-1, tRTRS can be 0
89
+ tRTP 5
90
+ tRFC 107
91
+ tOST 1 ; ODT switching time
92
+
93
+ tRRDR 5 ; tRRDR is used for tRRD by default
94
+ tRRDW 5
95
+
96
+ ; Row Activation Window (RAW), which specifies the maximum Activation in a
97
+ ; rolling window. tRAW is the corresponding window width (in cycle).
98
+ ; Options:
99
+ ; for 2D DRAM, RAW = 4, Four Activation Window (FAW)
100
+ ; for WideI/O DRAM, RAW = 2, Two Activation Window (TAW)
101
+ RAW 4
102
+ tRAW 20
103
+
104
+ ; powerdown mode enter and exit
105
+ tRDPDEN 24
106
+ tWRPDEN 19
107
+ tWRAPDEN 22
108
+ tPD 6
109
+ tXP 6
110
+ tXPDLL 17
111
+
112
+ ; refresh window between two refreshes to a cell (in cycle)
113
+ ; options: for DDR3, 64ms (normal) or 32ms (thermal extended)
114
+ ; for LPDDR3, 32ms (normal) or 16ms (thermal extended)
115
+ ; for 3D DRAM, 32ms/16ms/8ms are all possible
116
+ tREFW 42666667
117
+ ;================================================================================
118
+
119
+ ;********************************************************************************
120
+ ; Memory device energy and power parameters
121
+
122
+ ; Read/write values are in nano Joules
123
+ ; NOTES:
124
+ ; NVSIM energy is per word
125
+ ; Erd is the read energy from a single mat
126
+ ; Ewr is the write energy (SET or RESET, they are the same)
127
+ ; These values are the energys required to read a page into a row buffer.
128
+ ;
129
+ ; Other energy values are taken from CACTI
130
+ ;
131
+ EnergyModel current
132
+ Erd 0.081200
133
+ Eopenrd 0.001616
134
+ Ewr 1.684811
135
+ ; Subarray write energy per bit
136
+ Ewrpb = 0.000202
137
+
138
+ ; Energy leaked in 1 sec (or just the wattage) in milli Joules
139
+ Eleak 3120.202
140
+
141
+ Eopen 0
142
+ Eclosed 0
143
+ Epdpf 0
144
+ Epdps 0
145
+ Epda 0
146
+ Eref 0
147
+
148
+ ; DRAM style power calculation. All values below in mA, taken from datasheet.
149
+
150
+ ; for 3D DRAM, the supply voltage scale down to 1.2V
151
+ Voltage 1.2
152
+
153
+ ; so far, no data is available from Micron, same as 2D DRAM
154
+ ; TODO: update the current value accordingly
155
+ EIDD0 41
156
+ EIDD1 54
157
+ EIDD2P0 12
158
+ EIDD2P1 12
159
+ EIDD2N 23
160
+ EIDD2NT 23
161
+ EIDD3P 22
162
+ EIDD3N 33
163
+ EIDD4R 88
164
+ EIDD4W 91
165
+ EIDD5B 111
166
+ EIDD6 12
167
+ ;********************************************************************************
168
+
169
+ ;================================================================================
170
+ ; Memory controller parameters
171
+
172
+ ; Specify which memory controller to use
173
+ ; options: PerfectMemory, FCFS, FRFCFS, FRFCFS-WQF, DRC (for 3D DRAM Cache)
174
+ MEM_CTL FRFCFS-WQF
175
+
176
+ ; whether dump the memory request trace?
177
+ CTL_DUMP false
178
+
179
+ ; whether use close-page row buffer management policy?
180
+ ; options:
181
+ ; 0--Open-Page, the row will be closed until a row buffer miss occurs
182
+ ; 1--Relaxed Close-Page, the row will be closed if no other row buffer hit exists
183
+ ; 2--Restricted Close-Page, the row will be closed immediately, no row
184
+ ; buffer hit can be exploited
185
+ ClosePage 0
186
+
187
+ ; command scheduling scheme
188
+ ; options: 0--fixed priority, 1--rank first round-robin, 2--bank first-round-robin
189
+ ScheduleScheme 2
190
+
191
+ ; address mapping scheme
192
+ ; options: SA:R:RK:BK:CH:C (SA-Subarray, R-row, C:column, BK:bank, RK:rank, CH:channel)
193
+ AddressMappingScheme SA:R:RK:BK:CH:C
194
+
195
+ ; interconnect between controller and memory chips
196
+ ; options: OffChipBus (for 2D), OnChipBus (for 3D)
197
+ INTERCONNECT OnChipBus
198
+
199
+ ; FRFCFS-WQF specific parameters
200
+ ReadQueueSize 32; read queue size
201
+
202
+ WriteQueueSize 32; write queue size
203
+
204
+ HighWaterMark 32; write drain high watermark. write drain is triggerred if it is reached
205
+
206
+ LowWaterMark 16; write drain low watermark. write drain is stopped if it is reached
207
+ ;================================================================================
208
+
209
+ ;********************************************************************************
210
+ ; Simulation control parameters
211
+ ;
212
+ PrintGraphs false
213
+ PrintPreTrace false
214
+ PreTraceFile mcf.trace
215
+ EchoPreTrace false
216
+ PeriodicStatsInterval 100000000
217
+
218
+ TraceReader NVMainTrace
219
+ ;********************************************************************************
220
+
221
+ ;================================================================================
222
+ ; Endurance model parameters
223
+ ; This is used for Non-volatile memory
224
+
225
+ EnduranceModel NullModel
226
+ EnduranceDist Normal
227
+ EnduranceDistMean 1000000
228
+ EnduranceDistVariance 100000
229
+ FlipNWriteGranularity 32
230
+
231
+ ; Everything below this can be overridden for heterogeneous channels
232
+ ;CONFIG_CHANNEL0 lp_rram.config
233
+ ;CONFIG_CHANNEL1 hp_rram.config
234
+
235
+ ; whether set the DRAM in powerdown mode at the beginning?
236
+ InitPD false
237
+ ;================================================================================
@@ -0,0 +1,277 @@
1
+
2
+ ; Memory parameters
3
+ ;
4
+ ;================================================================================
5
+ ; Interface specifications
6
+
7
+ CLK 2000
8
+
9
+ ; Data Rate. 1 for SDR, 2 for DDR
10
+ RATE 2
11
+
12
+ ; Bus width in bits. Assume 128-bit (HBM-like) for 3D-stacked memory.
13
+ BusWidth 128
14
+
15
+ ; Number of bits provided by each device in a rank
16
+ ; Number of devices is calculated using BusWidth / DeviceWidth.
17
+ ; We assume devices are only used in DIMMs and go away in 3D-stacked memory
18
+ DeviceWidth 128
19
+
20
+ ; For DRAM Cache, this should be the system bus frequency from gem5
21
+ CPUFreq 2000
22
+
23
+
24
+ ;================================================================================
25
+
26
+ ;********************************************************************************
27
+ ; General memory system configuration
28
+
29
+ ; Number of banks per rank
30
+ BANKS 8
31
+
32
+ ; Number of ranks per channel
33
+ RANKS 1
34
+
35
+ ; Number of channels in the system (not used for DRAM cache)
36
+ CHANNELS 1
37
+
38
+ ; Number of DRAM channels in the system
39
+ DRC_CHANNELS 1
40
+
41
+ ; Number of rows in a bank
42
+ ROWS 16384
43
+
44
+ ; Number of addressable columns in one logical bank
45
+ COLS 32
46
+
47
+ ; No SALP
48
+ MATHeight 16384
49
+
50
+ ; Refresh stuff. RefreshRows = # of rows to refresh per refresh operation.
51
+ UseRefresh true
52
+
53
+ ; RefreshRows is the number of rows to refresh per refresh operation
54
+ ; for example, RefreshRows = ROWS/8192 for DRAM
55
+ RefreshRows 2
56
+
57
+ ; the refresh granularity (the number of banks refreshed together in a rank)
58
+ ; this must NOT be 0 when UseRefresh is true
59
+ BanksPerRefresh 2
60
+
61
+ ; the number of refresh that can be delayed
62
+ ; options: 1 -- 8 (DDR-3 defines the maximum 9*tREFI)
63
+ ; when 1 is applied, immediate refresh is used, otherwise the refresh can be
64
+ ; delayed
65
+ DelayedRefreshThreshold 1
66
+ ;********************************************************************************
67
+
68
+ ;================================================================================
69
+ ; Memory device timing parameters (in memory cycle)
70
+ ; These timings assume DRAM cache is 2x faster than off-chip
71
+ tRAS 35
72
+
73
+
74
+ tCMD 1
75
+ tBURST 2
76
+
77
+ tRCD 14
78
+ tAL 0
79
+ tCCD 2
80
+ tCWD 5
81
+ tWTR 6
82
+ tWR 25
83
+ ; tCAS is also known as tCL
84
+ tCAS 14
85
+ tRTRS 1
86
+ tRTP 6
87
+ tRP 14
88
+ ; ODT switching time
89
+ tOST 1
90
+ tRFC 107
91
+
92
+ tRRDR 6
93
+ tRRDW 6
94
+ tRAW 25
95
+
96
+
97
+ tPD 6
98
+ tXP 8
99
+ tXPDLL 29
100
+
101
+ ; refresh window between two refreshes to a cell (in cycle, e.g., 64ms/tCK)
102
+ ; options: for DDR3, 64ms (normal) or 32ms (thermal extended)
103
+ ; for LPDDR3, 32ms (normal) or 16ms (thermal extended)
104
+ ; for 3D DRAM, 32ms/16ms/8ms are all possible
105
+ tREFW 64ms
106
+ ;********************************************************************************
107
+
108
+ ;================================================================================
109
+ ; Memory device timing parameters (in memory cycle)
110
+ ; These timings assume DRAM cache is 1.5x faster than off-chip
111
+ ;tRAS 47
112
+ ;
113
+ ;
114
+ ;tCMD 1
115
+ ;tBURST 2
116
+ ;
117
+ ;tRCD 18
118
+ ;tAL 0
119
+ ;tCCD 2
120
+ ;tCWD 7
121
+ ;tWTR 8
122
+ ;tWR 33
123
+ ;; tCAS is also known as tCL
124
+ ;tCAS 18
125
+ ;tRTRS 1
126
+ ;tRTP 8
127
+ ;tRP 18
128
+ ;; ODT switching time
129
+ ;tOST 1
130
+ ;tRFC 107
131
+ ;
132
+ ;tRRDR 8
133
+ ;tRRDW 8
134
+ ;tRAW 30
135
+ ;
136
+ ;
137
+ ;tPD 8
138
+ ;tXP 10
139
+ ;tXPDLL 38
140
+ ;
141
+ ;; refresh window between two refreshes to a cell (in cycle, e.g., 64ms/tCK)
142
+ ;; options: for DDR3, 64ms (normal) or 32ms (thermal extended)
143
+ ;; for LPDDR3, 32ms (normal) or 16ms (thermal extended)
144
+ ;; for 3D DRAM, 32ms/16ms/8ms are all possible
145
+ ;tREFW 64ms
146
+ ;================================================================================
147
+
148
+ ;********************************************************************************
149
+ ; Memory device energy and power parameters
150
+
151
+ EnergyModel current
152
+
153
+ ; Energy Parameters
154
+ ;
155
+ ; Read/write values are in nano Joules
156
+ ; NOTES:
157
+ ; NVSIM energy is per word
158
+ ; Erd is the read energy from a single mat
159
+ ; Ewr is the write energy (SET or RESET, they are the same)
160
+ ; These values are the energys required to read a page into a row buffer.
161
+ ;
162
+ ; Other energy values are taken from CACTI
163
+ ;
164
+ Erd 0.081200
165
+ Eopenrd 0.001616
166
+ Ewr 1.684811
167
+ ; Subarray write energy per bit
168
+ Ewrpb = 0.000202
169
+
170
+ ; Energy leaked in 1 sec (or just the wattage) in milli Joules
171
+ Eleak 3120.202
172
+
173
+ Eopen 0
174
+ Eclosed 0
175
+ Epdpf 0
176
+ Epdps 0
177
+ Epda 0
178
+ Eref 0
179
+
180
+
181
+ ;
182
+ ; DRAM style energy calculation. All values in mA, taken from datasheet.
183
+ ;
184
+ Voltage 1.5
185
+
186
+ EIDD0 85
187
+ EIDD1 85
188
+ EIDD2P0 20
189
+ EIDD2P1 42
190
+ EIDD2N 55
191
+ EIDD2NT 55
192
+ EIDD3P 68
193
+ EIDD3N 67
194
+ EIDD4R 207
195
+ EIDD4W 185
196
+ EIDD5B 230
197
+ EIDD6 22
198
+
199
+
200
+
201
+
202
+ ;********************************************************************************
203
+
204
+ ;================================================================================
205
+ ; Memory controller parameters
206
+
207
+ ; Specify which memory controller to use
208
+ ; options: PerfectMemory, FCFS, FRFCFS, FRFCFS-WQF, DRC (for 3D DRAM Cache)
209
+ MEM_CTL PredictorDRC
210
+ DRCVariant LO_Cache
211
+ DRCPredictor PerfectPredictor
212
+ Decoder DRCDecoder
213
+ IgnoreBits 0
214
+ UseFillCache false
215
+ FillQueueSize 8
216
+ MM_CONFIG 3D_DRAMCache_OffChipMemory_example.config
217
+
218
+
219
+ ; whether use close-page row buffer management policy?
220
+ ; options:
221
+ ; 0--Open-Page, the row will be open until a row buffer miss occurs
222
+ ; 1--Relaxed Close-Page, the row will be closed if no other row buffer hit exists
223
+ ; 2--Restricted Close-Page, the row will be closed immediately, no row
224
+ ; buffer hit can be exploited
225
+ ;ClosePage 0
226
+
227
+ ; command scheduling scheme
228
+ ; options: 0--fixed priority, 1--rank first round-robin, 2--bank first round-robin
229
+ ;ScheduleScheme 2
230
+
231
+ ; address mapping scheme
232
+ ; options: R:RK:BK:CH:C (R-row, C:column, BK:bank, RK:rank, CH:channel)
233
+ AddressMappingScheme R:RK:C:BK:CH
234
+
235
+ ; interconnect between controller and memory chips
236
+ ; options: OffChipBus (for 2D), OnChipBus (for 3D)
237
+ INTERCONNECT OnChipBus
238
+
239
+
240
+
241
+ ;================================================================================
242
+
243
+ ;********************************************************************************
244
+ ; Simulation control parameters
245
+ ;
246
+ PrintGraphs false
247
+ PrintPreTrace false
248
+ PreTraceFile mcf.trace
249
+ EchoPreTrace false
250
+ PeriodicStatsInterval 1000000
251
+
252
+ TraceReader NVMainTrace
253
+
254
+
255
+ ;********************************************************************************
256
+
257
+ ;================================================================================
258
+ ; Endurance model parameters
259
+ ; This is used for Non-volatile memory
260
+
261
+ EnduranceModel NullModel
262
+ EnduranceDist Normal
263
+ EnduranceDistMean 1000000
264
+ EnduranceDistVariance 100000
265
+
266
+ ; whether set the DRAM in powerdown mode at the beginning?
267
+ InitPD false
268
+ ;********************************************************************************
269
+
270
+ ;================================================================================
271
+ ; NVMain plugins
272
+ ; RequestTracer for debugging
273
+
274
+ ;AddHook RequestTracer
275
+ ;AddHook PostTrace
276
+
277
+