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.
- fim/__init__.py +42 -0
- fim/analysis/__init__.py +53 -0
- fim/analysis/burst_sdc.py +160 -0
- fim/analysis/classifier.py +924 -0
- fim/analysis/comparator.py +738 -0
- fim/analysis/consolidate.py +625 -0
- fim/analysis/csv_io.py +28 -0
- fim/analysis/ecc_quartet.py +167 -0
- fim/analysis/nvm_endurance_matrix.py +170 -0
- fim/analysis/observable_state.py +945 -0
- fim/analysis/reporter.py +712 -0
- fim/analysis/results_txt.py +229 -0
- fim/campaigns/__init__.py +28 -0
- fim/campaigns/base_campaign.py +5151 -0
- fim/campaigns/cache_campaign.py +233 -0
- fim/campaigns/campaign_view.py +135 -0
- fim/campaigns/csr_campaign.py +31 -0
- fim/campaigns/fault_plan.py +105 -0
- fim/campaigns/faultlist_builder.py +503 -0
- fim/campaigns/gem5_parallel_runner.py +210 -0
- fim/campaigns/golden_gate.py +158 -0
- fim/campaigns/injection_point_selector.py +473 -0
- fim/campaigns/memory_campaign.py +686 -0
- fim/campaigns/parallel_runner.py +510 -0
- fim/campaigns/register_campaign.py +617 -0
- fim/campaigns/serial_feeder.py +169 -0
- fim/cli.py +2652 -0
- fim/configs/benchmarks/bitcount.yaml +11 -0
- fim/configs/benchmarks/checksum.yaml +11 -0
- fim/configs/benchmarks/dotprod_f64.yaml +12 -0
- fim/configs/benchmarks/fibonacci.yaml +10 -0
- fim/configs/boards/board_spec_schema.yaml +216 -0
- fim/configs/boards/raspberry_pi_5.yaml +122 -0
- fim/configs/boards/xuantie_c906.yaml +127 -0
- fim/configs/boards/xuantie_c906_ruby_nvmain.yaml +85 -0
- fim/configs/dramsim3/DDR3_1Gb_x8_1333.ini +69 -0
- fim/configs/dramsim3/DDR3_4Gb_x16_1600.ini +67 -0
- fim/configs/dramsim3/DDR3_4Gb_x16_1866.ini +67 -0
- fim/configs/dramsim3/DDR3_4Gb_x4_1600.ini +67 -0
- fim/configs/dramsim3/DDR3_4Gb_x4_1866.ini +67 -0
- fim/configs/dramsim3/DDR3_4Gb_x8_1600.ini +67 -0
- fim/configs/dramsim3/DDR3_4Gb_x8_1866.ini +67 -0
- fim/configs/dramsim3/DDR3_8Gb_x16_1600.ini +67 -0
- fim/configs/dramsim3/DDR3_8Gb_x16_1866.ini +67 -0
- fim/configs/dramsim3/DDR3_8Gb_x4_1600.ini +67 -0
- fim/configs/dramsim3/DDR3_8Gb_x4_1866.ini +67 -0
- fim/configs/dramsim3/DDR3_8Gb_x8_1600.ini +67 -0
- fim/configs/dramsim3/DDR3_8Gb_x8_1866.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x16_1866.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x16_2133.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x16_2133_2.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x16_2400.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x16_2400_2.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x16_2666.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x16_2666_2.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x4_1866.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x4_2133.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x4_2133_2.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x4_2400.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x4_2400_2.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x4_2666.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x4_2666_2.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x8_1866.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x8_2133.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x8_2133_2.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x8_2400.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x8_2400_2.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x8_2666.ini +67 -0
- fim/configs/dramsim3/DDR4_4Gb_x8_2666_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x16_1866.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x16_2133.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x16_2133_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x16_2400.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x16_2400_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x16_2666.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x16_2666_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x16_2933.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x16_2933_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x16_3200.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x4_1866.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x4_2133.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x4_2133_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x4_2400.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x4_2400_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x4_2666.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x4_2666_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x4_2933.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x4_2933_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x4_3200.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x8_1866.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x8_2133.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x8_2133_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x8_2400.ini +77 -0
- fim/configs/dramsim3/DDR4_8Gb_x8_2400_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x8_2666.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x8_2666_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x8_2933.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x8_2933_2.ini +67 -0
- fim/configs/dramsim3/DDR4_8Gb_x8_3200.ini +67 -0
- fim/configs/ecc_policies/c906.yaml +26 -0
- fim/configs/matmul_aarch64.yaml +62 -0
- fim/configs/mcpat/c906.xml +481 -0
- fim/configs/mcpat/raspberry_pi_5.xml +405 -0
- fim/configs/mcpat/sTemplate.xml +444 -0
- fim/configs/mcpat/template.xml +405 -0
- fim/configs/mmult.yaml +140 -0
- fim/configs/mmult_memory_gem5.yaml +23 -0
- fim/configs/nvmain/2D_DRAM_example.config +249 -0
- fim/configs/nvmain/3D_DRAMCache_OffChipMemory_example.config +154 -0
- fim/configs/nvmain/3D_DRAMCache_example.config +275 -0
- fim/configs/nvmain/3D_DRAM_example.config +237 -0
- fim/configs/nvmain/3D_PredictorDRC_example.config +277 -0
- fim/configs/nvmain/3D_VariableDRC_example.config +278 -0
- fim/configs/nvmain/Hybrid_DRAM_channel.config +249 -0
- fim/configs/nvmain/Hybrid_NVM_channel.config +208 -0
- fim/configs/nvmain/Hybrid_NVM_channel_BitModel.config +208 -0
- fim/configs/nvmain/Hybrid_example.config +72 -0
- fim/configs/nvmain/Hybrid_example_BitModel.config +72 -0
- fim/configs/nvmain/PCM_ISSCC_2012_4GB.config +217 -0
- fim/configs/nvmain/PCM_ISSCC_2012_4GB_BitModel.config +217 -0
- fim/configs/nvmain/PCM_ISSCC_2012_4GB_BitModel_ECP.config +222 -0
- fim/configs/nvmain/PCM_ISSCC_2012_4GB_ByteModel.config +217 -0
- fim/configs/nvmain/PCM_ISSCC_2012_4GB_RowModel.config +217 -0
- fim/configs/nvmain/PCM_ISSCC_2012_4GB_WordModel.config +217 -0
- fim/configs/nvmain/PCM_MLC_estimated.config +233 -0
- fim/configs/nvmain/PCM_MLC_example.config +232 -0
- fim/configs/nvmain/PCM_MLC_example_BitModel.config +232 -0
- fim/configs/nvmain/PerfectMemory.config +229 -0
- fim/configs/nvmain/RRAM_ISSCC_2012_4GB.config +218 -0
- fim/configs/nvmain/STTRAM_Everspin_4GB.config +217 -0
- fim/configs/nvmain/STTRAM_Everspin_4GB_BitModel.config +217 -0
- fim/configs/nvmain/printtrace.config +145 -0
- fim/configs/nvmain/printtrace_bitflip.config +146 -0
- fim/configs/quicksort_dmr.yaml +225 -0
- fim/configs/rust_sort_array.yaml +28 -0
- fim/configs/rust_sort_bss.yaml +38 -0
- fim/configs/sum.yaml +149 -0
- fim/configs/template.yaml +418 -0
- fim/configs/toolchains.remote.json +14 -0
- fim/core/__init__.py +161 -0
- fim/core/artifacts/__init__.py +25 -0
- fim/core/artifacts/adapters/__init__.py +146 -0
- fim/core/artifacts/adapters/board.py +38 -0
- fim/core/artifacts/adapters/config.py +115 -0
- fim/core/artifacts/adapters/sdk.py +435 -0
- fim/core/artifacts/adapters/simulator.py +139 -0
- fim/core/artifacts/adapters/template.py +107 -0
- fim/core/artifacts/classification.py +95 -0
- fim/core/artifacts/hashing.py +265 -0
- fim/core/artifacts/inputs.py +179 -0
- fim/core/artifacts/records.py +238 -0
- fim/core/artifacts/retention.py +504 -0
- fim/core/artifacts/staleness.py +486 -0
- fim/core/artifacts/store.py +202 -0
- fim/core/artifacts/workspace.py +108 -0
- fim/core/checkpoint.py +338 -0
- fim/core/checkpoint_policy.py +171 -0
- fim/core/classifier_view.py +96 -0
- fim/core/clock_view.py +99 -0
- fim/core/configuration/__init__.py +13 -0
- fim/core/configuration/frozen.py +85 -0
- fim/core/configuration/groups.py +41 -0
- fim/core/configuration/includes.py +249 -0
- fim/core/configuration/lifecycle_rules.py +83 -0
- fim/core/configuration/reference.py +200 -0
- fim/core/configuration/reference_docs.py +344 -0
- fim/core/configuration/resolver.py +495 -0
- fim/core/configuration/run_context.py +51 -0
- fim/core/configuration/schema.py +784 -0
- fim/core/configuration/sources.py +121 -0
- fim/core/configuration/template_pins.py +79 -0
- fim/core/fault_models.py +261 -0
- fim/core/fim.py +452 -0
- fim/core/gdb_controller.py +2053 -0
- fim/core/gem5_controller.py +1226 -0
- fim/core/gem5_launch.py +489 -0
- fim/core/gem5_observable.py +202 -0
- fim/core/gem5_producers.py +684 -0
- fim/core/gem5_simulator.py +724 -0
- fim/core/golden_view.py +94 -0
- fim/core/hardware_cluster.py +236 -0
- fim/core/hardware_simulator.py +992 -0
- fim/core/hardware_spec.py +352 -0
- fim/core/hardware_station.py +374 -0
- fim/core/hardware_view.py +64 -0
- fim/core/hardware_window.py +102 -0
- fim/core/hook_view.py +52 -0
- fim/core/lifecycle.py +433 -0
- fim/core/machine_binding.py +317 -0
- fim/core/ovp_plan.py +419 -0
- fim/core/ovp_protocol.py +647 -0
- fim/core/ovp_simulator.py +1201 -0
- fim/core/ovp_view.py +99 -0
- fim/core/qemu_controller.py +1396 -0
- fim/core/qemu_launch.py +179 -0
- fim/core/qemu_simulator.py +329 -0
- fim/core/results_store.py +218 -0
- fim/core/results_view.py +94 -0
- fim/core/simulator_controller.py +298 -0
- fim/core/simulator_manifest.py +739 -0
- fim/core/station_host.py +277 -0
- fim/install/__init__.py +16 -0
- fim/install/ensure.py +182 -0
- fim/install/home.py +126 -0
- fim/install/index.py +122 -0
- fim/install/index.yaml +59 -0
- fim/install/prebuilt.py +120 -0
- fim/install/probes.py +182 -0
- fim/install/remote.py +165 -0
- fim/install/sdk.py +178 -0
- fim/install/setup.py +184 -0
- fim/install/simulators.py +323 -0
- fim/install/template.py +147 -0
- fim/install/uninstall.py +149 -0
- fim/provision/__init__.py +48 -0
- fim/provision/catalog.py +278 -0
- fim/provision/commands.py +1051 -0
- fim/provision/doctor.py +291 -0
- fim/provision/drain.py +117 -0
- fim/provision/forms/__init__.py +4 -0
- fim/provision/forms/docker.py +469 -0
- fim/provision/forms/fake.py +281 -0
- fim/provision/forms/native.py +438 -0
- fim/provision/fresh_layout.py +66 -0
- fim/provision/hostdeps.py +229 -0
- fim/provision/layout_units.py +148 -0
- fim/provision/lock.py +100 -0
- fim/provision/package.py +110 -0
- fim/provision/plan.py +356 -0
- fim/provision/privilege.py +259 -0
- fim/provision/probe.py +117 -0
- fim/provision/release.py +188 -0
- fim/provision/sdk.py +102 -0
- fim/provision/steps.py +324 -0
- fim/provision/switch.py +80 -0
- fim/provision/switch_recovery.py +165 -0
- fim/remote/__init__.py +15 -0
- fim/remote/access/__init__.py +203 -0
- fim/remote/access/credential.py +46 -0
- fim/remote/access/credentials/__init__.py +4 -0
- fim/remote/access/credentials/command.py +50 -0
- fim/remote/access/credentials/keychain.py +50 -0
- fim/remote/access/credentials/none.py +16 -0
- fim/remote/access/credentials/peer.py +25 -0
- fim/remote/access/credentials/token.py +50 -0
- fim/remote/access/spec.py +34 -0
- fim/remote/access/transport.py +66 -0
- fim/remote/access/transports/__init__.py +4 -0
- fim/remote/access/transports/command.py +222 -0
- fim/remote/access/transports/direct.py +39 -0
- fim/remote/access/transports/ssh_tunnel.py +74 -0
- fim/remote/api.py +245 -0
- fim/remote/commands.py +625 -0
- fim/remote/fetch.py +155 -0
- fim/remote/follow.py +157 -0
- fim/remote/journal.py +150 -0
- fim/remote/location.py +108 -0
- fim/remote/preflight.py +350 -0
- fim/remote/servers.py +159 -0
- fim/remote/snapshot.py +249 -0
- fim/remote/submit.py +302 -0
- fim/scripts/__init__.py +2 -0
- fim/scripts/generate_report.py +108 -0
- fim/scripts/run_campaign.py +1447 -0
- fim/scripts/run_ecc_quartet.py +94 -0
- fim/scripts/run_golden.py +2256 -0
- fim/scripts/verify_provenance.py +61 -0
- fim/utils/__init__.py +74 -0
- fim/utils/board.py +378 -0
- fim/utils/board_view.py +39 -0
- fim/utils/config.py +1714 -0
- fim/utils/coredump.py +28 -0
- fim/utils/elf_parser.py +1118 -0
- fim/utils/elf_provenance.py +140 -0
- fim/utils/injection_file_writer.py +309 -0
- fim/utils/logger.py +362 -0
- fim/utils/picker.py +195 -0
- fim/utils/prng.py +207 -0
- fim/utils/provenance.py +873 -0
- fim/utils/register_width.py +52 -0
- hfim_cli-1.15.6.data/data/share/hfim/gem5_to_mcpat.py +508 -0
- hfim_cli-1.15.6.dist-info/METADATA +131 -0
- hfim_cli-1.15.6.dist-info/RECORD +288 -0
- hfim_cli-1.15.6.dist-info/WHEEL +5 -0
- hfim_cli-1.15.6.dist-info/entry_points.txt +2 -0
- hfim_cli-1.15.6.dist-info/licenses/LICENSE +21 -0
- hfim_cli-1.15.6.dist-info/licenses/THIRD_PARTY_NOTICES +166 -0
- 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
|
+
|