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,217 @@
|
|
|
1
|
+
; Based on Everspin preliminary datasheet
|
|
2
|
+
; MR2A16A
|
|
3
|
+
; http://www.everspin.com/PDF/EST_MR2A16A_prod.pdf
|
|
4
|
+
;
|
|
5
|
+
; The everspin devices are relatively small - 4 Mb. Therefore, we treat the designs as large
|
|
6
|
+
; macros with local sense amplifiers. Note that STT-RAM basically requires local sense
|
|
7
|
+
; amplifers due to small resistance ratio.
|
|
8
|
+
;
|
|
9
|
+
; For a bank, we assume 16x4 macros to give a row buffer size of 16 x 16-bits = 256-bits = 256B
|
|
10
|
+
; across 8 x8 devices. Note that this row buffer only holds 2 cache lines. The resulting bank
|
|
11
|
+
; is 256MB.
|
|
12
|
+
;
|
|
13
|
+
; If we assume 4 banks per device, any combination of 4 ranks/channels will bring this up to 4GB.
|
|
14
|
+
;
|
|
15
|
+
|
|
16
|
+
;================================================================================
|
|
17
|
+
; Interface specifications
|
|
18
|
+
|
|
19
|
+
; 400 MHz clock (800 MT/s LPDDR). Clock period = 1.5 ns
|
|
20
|
+
CLK 400
|
|
21
|
+
|
|
22
|
+
; Data Rate. 1 for SDR, 2 for DDR
|
|
23
|
+
RATE 2
|
|
24
|
+
|
|
25
|
+
; Bus width in bits. JEDEC standard is 64-bits
|
|
26
|
+
BusWidth 64
|
|
27
|
+
|
|
28
|
+
; Number of bits provided by each device in a rank
|
|
29
|
+
; Number of devices is calculated using BusWidth / DeviceWidth.
|
|
30
|
+
DeviceWidth 8
|
|
31
|
+
|
|
32
|
+
; NVMain use CLK and CPUFreq to do the synchronization. The ratio CLK/CPUFreq
|
|
33
|
+
; is actually used. So a simple CLK=1 and CPUFreq=4 still works for simulation.
|
|
34
|
+
; However, it is straightforward to make it informative.
|
|
35
|
+
CPUFreq 2000
|
|
36
|
+
;================================================================================
|
|
37
|
+
|
|
38
|
+
;********************************************************************************
|
|
39
|
+
; General memory system configuration
|
|
40
|
+
|
|
41
|
+
; Number of banks per rank
|
|
42
|
+
BANKS 4
|
|
43
|
+
|
|
44
|
+
; Number of ranks per channel
|
|
45
|
+
RANKS 1
|
|
46
|
+
|
|
47
|
+
; Number of channels in the system
|
|
48
|
+
CHANNELS 4
|
|
49
|
+
|
|
50
|
+
; Number of rows in one bank
|
|
51
|
+
ROWS 8192 ; 2048 WL / macro * 4 vertical macros
|
|
52
|
+
|
|
53
|
+
; Number of VISIBLE columns in one LOGIC bank
|
|
54
|
+
COLS 512 ; 2048 bitlines/macro * 16 horiz. macros / (8 device width * 8 burst cycles)
|
|
55
|
+
|
|
56
|
+
; Assume no subarray parallelism
|
|
57
|
+
MATHeight 2048
|
|
58
|
+
|
|
59
|
+
; RBsize - Needs 256:1 output muxing
|
|
60
|
+
RBsize 2
|
|
61
|
+
|
|
62
|
+
; No refresh needed in STTRAM
|
|
63
|
+
UseRefresh false
|
|
64
|
+
|
|
65
|
+
; Not used in STTRAM, but we'll assign valid numbers anyway.
|
|
66
|
+
BanksPerRefresh 2
|
|
67
|
+
RefreshRows 4
|
|
68
|
+
DelayedRefreshThreshold 1
|
|
69
|
+
|
|
70
|
+
;********************************************************************************
|
|
71
|
+
|
|
72
|
+
;================================================================================
|
|
73
|
+
; Memory device timing parameters (in memory cycle)
|
|
74
|
+
|
|
75
|
+
tBURST 4 ; length of data burst
|
|
76
|
+
|
|
77
|
+
tCMD 1 ; Commands are 1 address bus cycle
|
|
78
|
+
tRAS 0 ; No row restoration needed
|
|
79
|
+
tRCD 14 ; 35ns @ 400 MHz = 48 cycles
|
|
80
|
+
tWP 14 ; Write pulse time. 8.2ns @ 400 MHz = 4 cycles
|
|
81
|
+
tCWD 10 ; tAVAV - tDVWH = 25ns
|
|
82
|
+
tRP 1 ; Precharge isn't needed. Writes occur only if needed
|
|
83
|
+
; and take tWP time during a precharge (write-back)
|
|
84
|
+
; or immediately (write-through)
|
|
85
|
+
tWR 5 ; tEHAX = 12ns
|
|
86
|
+
tWTR 5 ; Need to wait until end of write recovery (tWR)
|
|
87
|
+
tRTP 5 ; No precharge, but still need to wait for data to leave internal
|
|
88
|
+
; FIFO buffers. Using tBURST - 1 + tAXQX
|
|
89
|
+
tCAS 6 ; Assume a slightly longer tCAS due to non-local sense amplifiers.
|
|
90
|
+
; The extra time is the time to drive the global bitlines.
|
|
91
|
+
tAL 0 ; 0 or 1
|
|
92
|
+
tCCD 2 ; usually 2 or 4, no more than tBURST
|
|
93
|
+
|
|
94
|
+
; The next set of timings is mainly based on control circuits, and the times
|
|
95
|
+
; are taken from normal LPDDR2 datasheets.
|
|
96
|
+
tRTRS 1 ; for DDR-1, tRTRS can be 0
|
|
97
|
+
tOST 0 ; No ODT circuitry in LPDDR
|
|
98
|
+
|
|
99
|
+
; These are mostly unknown at this point, but will likely
|
|
100
|
+
; be similar as they are meant to preserve power integrity
|
|
101
|
+
tRRDR 4
|
|
102
|
+
tRRDW 4
|
|
103
|
+
RAW 4
|
|
104
|
+
tRAW 20
|
|
105
|
+
|
|
106
|
+
; Powerdown entry and exit timings
|
|
107
|
+
tRDPDEN 10 ; Wait for read to complete - tCAS + tBURST
|
|
108
|
+
tWRPDEN 12 ; Wait for write to complete ... tAL + tCWD + tBURST + tWP
|
|
109
|
+
tWRAPDEN 12 ; No precharge, so same as tWRPDEN
|
|
110
|
+
tPD 1 ; Time from powerdown command to actually in powerdown mode
|
|
111
|
+
tXP 3 ; Time to power-up from power-down mode - 7.5ns
|
|
112
|
+
tXPDLL 200000 ; No DLL in LPDDR, will be used for deep power-down (tDPD) - 500us
|
|
113
|
+
|
|
114
|
+
; Refresh timings - not used in PCM, but we'll assign valid numbers anyway.
|
|
115
|
+
tRFC 100
|
|
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 energy
|
|
132
|
+
Erd 25.872 ; (IDDR-Isb1-Isb2) * VDD * tAVAV * tBURST * RATE
|
|
133
|
+
Eopenrd 0.001616 ; row-buffer read -- estimate from NVSIM
|
|
134
|
+
Ewr 97.02 ; (IDDW-Isb1-Isb2) * VDD * tAVAV * tBURST * RATE
|
|
135
|
+
|
|
136
|
+
; Subarray write energy per bit
|
|
137
|
+
Ewrpb = 0.01584 ; Estimate from ISSCC/JSSC/IEDM survey -- Iset * VDD * SET pulse
|
|
138
|
+
; units: A * V * ns
|
|
139
|
+
; VDD = 3.3, SET pulse = 12ns. Iset unknown, assuming 870uA:
|
|
140
|
+
; "Negative-Resistance Read and Write Schemes for STT-MRAM in 0.13um CMOS"
|
|
141
|
+
; - ISSCC 2010
|
|
142
|
+
|
|
143
|
+
; Energy leaked in 1 sec (or just the wattage) in milli Joules
|
|
144
|
+
Eleak 89.1 ; (Isb1 + Isb2) * VDD
|
|
145
|
+
|
|
146
|
+
Epdpf 89.1 ; (Isb1 + Isb2) * VDD
|
|
147
|
+
Epdps 29.7 ; Isb2 * VDD
|
|
148
|
+
Epda 89.1 ; (Isb1 + Isb2) * VDD
|
|
149
|
+
Eref 0
|
|
150
|
+
|
|
151
|
+
Voltage 3.3
|
|
152
|
+
;********************************************************************************
|
|
153
|
+
|
|
154
|
+
;================================================================================
|
|
155
|
+
; Memory controller parameters
|
|
156
|
+
|
|
157
|
+
; Specify which memory controller to use
|
|
158
|
+
; options: PerfectMemory, FCFS, FRFCFS, FRFCFS-WQF, DRC (for 3D DRAM Cache)
|
|
159
|
+
MEM_CTL FRFCFS-WQF
|
|
160
|
+
|
|
161
|
+
; whether use close-page row buffer management policy?
|
|
162
|
+
; options:
|
|
163
|
+
; 0--Open-Page, the row will be closed until a row buffer miss occurs
|
|
164
|
+
; 1--Relaxed Close-Page, the row will be closed if no other row buffer hit exists
|
|
165
|
+
; 2--Restricted Close-Page, the row will be closed immediately, no row
|
|
166
|
+
; buffer hit can be exploited
|
|
167
|
+
ClosePage 0
|
|
168
|
+
|
|
169
|
+
; command scheduling scheme
|
|
170
|
+
; options: 0--fixed priority, 1--rank first round-robin, 2--bank first round-robin
|
|
171
|
+
ScheduleScheme 2
|
|
172
|
+
|
|
173
|
+
; address mapping scheme
|
|
174
|
+
; options: R:RK:BK:CH:C (R-row, C:column, BK:bank, RK:rank, CH:channel)
|
|
175
|
+
AddressMappingScheme R:RK:BK:CH:C
|
|
176
|
+
|
|
177
|
+
; interconnect between controller and memory chips
|
|
178
|
+
; options: OffChipBus (for 2D), OnChipBus (for 3D)
|
|
179
|
+
INTERCONNECT OffChipBus
|
|
180
|
+
|
|
181
|
+
; FRFCFS-WQF specific parameters
|
|
182
|
+
ReadQueueSize 32 ; read queue size
|
|
183
|
+
WriteQueueSize 32 ; write queue size
|
|
184
|
+
HighWaterMark 32 ; write drain high watermark. write drain is triggerred if it is reached
|
|
185
|
+
LowWaterMark 16 ; write drain low watermark. write drain is stopped if it is reached
|
|
186
|
+
;================================================================================
|
|
187
|
+
|
|
188
|
+
;********************************************************************************
|
|
189
|
+
; Simulation control parameters
|
|
190
|
+
;
|
|
191
|
+
PrintGraphs false
|
|
192
|
+
PrintPreTrace false
|
|
193
|
+
PreTraceFile pcm.trace
|
|
194
|
+
EchoPreTrace false
|
|
195
|
+
PeriodicStatsInterval 100000000
|
|
196
|
+
|
|
197
|
+
TraceReader NVMainTrace
|
|
198
|
+
;********************************************************************************
|
|
199
|
+
|
|
200
|
+
;================================================================================
|
|
201
|
+
; Endurance model parameters
|
|
202
|
+
; This is used for Non-volatile memory
|
|
203
|
+
|
|
204
|
+
EnduranceModel BitModel
|
|
205
|
+
EnduranceDist Normal
|
|
206
|
+
EnduranceDistMean 100
|
|
207
|
+
EnduranceDistVariance 10
|
|
208
|
+
|
|
209
|
+
; Everything below this can be overridden for heterogeneous channels
|
|
210
|
+
;CONFIG_CHANNEL0 rram_channel0.config
|
|
211
|
+
;CONFIG_CHANNEL1 rram_channel1.config
|
|
212
|
+
|
|
213
|
+
; whether set the DRAM in powerdown mode at the beginning?
|
|
214
|
+
InitPD false
|
|
215
|
+
;================================================================================
|
|
216
|
+
|
|
217
|
+
; AddHook RequestTracer
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
; Memory parameters
|
|
2
|
+
;
|
|
3
|
+
; Interface specifications
|
|
4
|
+
; 933 MHz clock
|
|
5
|
+
CLK 1866
|
|
6
|
+
; Data Rate. 1 for SDR, 2 for DDR
|
|
7
|
+
RATE 2
|
|
8
|
+
; Bus width in bits. JEDEC standard is 64-bits
|
|
9
|
+
BusWidth 64
|
|
10
|
+
; Number of bits provided by each device in a rank
|
|
11
|
+
; Number of devices is calculated using BusWidth / DeviceWidth.
|
|
12
|
+
DeviceWidth 8
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
; 2.4 Ghz CPU clock
|
|
16
|
+
CPUFreq 2400
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
; Number of banks per rank and number of ranks.
|
|
20
|
+
BANKS 8
|
|
21
|
+
RANKS 8
|
|
22
|
+
CHANNELS 1
|
|
23
|
+
; Number of active rows from NVSIM
|
|
24
|
+
; All predecoding should be part of the row address.
|
|
25
|
+
;ROWS 262144
|
|
26
|
+
;ROWS 131072
|
|
27
|
+
ROWS 65536
|
|
28
|
+
; Number of active cols from NVSIM
|
|
29
|
+
COLS 2048
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
; Control parameters
|
|
33
|
+
PrintGraphs false
|
|
34
|
+
PrintPreTrace true
|
|
35
|
+
PreTraceFile nvmain.nvt
|
|
36
|
+
EchoPreTrace true
|
|
37
|
+
;PeriodicStatsInterval 10000000
|
|
38
|
+
UseRefresh false
|
|
39
|
+
|
|
40
|
+
TraceReader NVMainTrace
|
|
41
|
+
|
|
42
|
+
; Endurance model parameters
|
|
43
|
+
EnduranceModel NullModel
|
|
44
|
+
EnduranceDist Normal
|
|
45
|
+
EnduranceDistMean 1000000
|
|
46
|
+
EnduranceDistVariance 100000
|
|
47
|
+
FlipNWriteGranularity 32
|
|
48
|
+
|
|
49
|
+
; Everything below this can be overridden for heterogeneous channels
|
|
50
|
+
;CONFIG_CHANNEL0 lp_rram.config
|
|
51
|
+
;CONFIG_CHANNEL1 hp_rram.config
|
|
52
|
+
|
|
53
|
+
; Specify which memory controller to use
|
|
54
|
+
MEM_CTL PerfectMemory
|
|
55
|
+
INTERCONNECT OnChipBus
|
|
56
|
+
|
|
57
|
+
InitPD false
|
|
58
|
+
|
|
59
|
+
;
|
|
60
|
+
DeviceConfig dev.conf
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
; Timing parameters
|
|
64
|
+
tRAS 0
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
tCMD 1
|
|
68
|
+
tBURST 4
|
|
69
|
+
|
|
70
|
+
tRCD 2
|
|
71
|
+
tAL 0
|
|
72
|
+
tCCD 2
|
|
73
|
+
tCWD 4
|
|
74
|
+
tWTR 3
|
|
75
|
+
tWR 42
|
|
76
|
+
tCAS 2
|
|
77
|
+
tRTRS 1
|
|
78
|
+
tRTP 2
|
|
79
|
+
tRP 5
|
|
80
|
+
; ODT switching time
|
|
81
|
+
tOST 1
|
|
82
|
+
|
|
83
|
+
tRRDR 3
|
|
84
|
+
tRRDW 3
|
|
85
|
+
tFAW 50
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
tPD 4
|
|
89
|
+
tXP 3
|
|
90
|
+
tXPDLL 10
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
EnergyModel energy
|
|
95
|
+
|
|
96
|
+
; Energy Parameters
|
|
97
|
+
;
|
|
98
|
+
; Read/write values are in nano Joules
|
|
99
|
+
; NOTES:
|
|
100
|
+
; NVSIM energy is per word
|
|
101
|
+
; Erd is the read energy from a single mat
|
|
102
|
+
; Ewr is the write energy (SET or RESET, they are the same)
|
|
103
|
+
; These values are the energys required to read a page into a row buffer.
|
|
104
|
+
;
|
|
105
|
+
; Other energy values are taken from CACTI
|
|
106
|
+
;
|
|
107
|
+
Erd 0.081200
|
|
108
|
+
Eopenrd 0.001616
|
|
109
|
+
Ewr 1.684811
|
|
110
|
+
; Subarray write energy per bit
|
|
111
|
+
Ewrpb = 0.000202
|
|
112
|
+
|
|
113
|
+
; Energy leaked in 1 sec (or just the wattage) in milli Joules
|
|
114
|
+
Eleak 3120.202
|
|
115
|
+
|
|
116
|
+
Eopen 0
|
|
117
|
+
Eclosed 0
|
|
118
|
+
Epdpf 0
|
|
119
|
+
Epdps 0
|
|
120
|
+
Epda 0
|
|
121
|
+
Eref 0
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
;
|
|
125
|
+
; DRAM style energy calculation. All values in mA, taken from datasheet.
|
|
126
|
+
;
|
|
127
|
+
EIDD0 85
|
|
128
|
+
EIDD1 85
|
|
129
|
+
EIDD2P0 20
|
|
130
|
+
EIDD2P1 42
|
|
131
|
+
EIDD2N 55
|
|
132
|
+
EIDD2NT 55
|
|
133
|
+
EIDD3P 68
|
|
134
|
+
EIDD3N 67
|
|
135
|
+
EIDD4R 207
|
|
136
|
+
EIDD4W 185
|
|
137
|
+
EIDD5B 230
|
|
138
|
+
EIDD6 22
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
; Memory parameters
|
|
2
|
+
;
|
|
3
|
+
; Interface specifications
|
|
4
|
+
; 933 MHz clock
|
|
5
|
+
CLK 1866
|
|
6
|
+
; Data Rate. 1 for SDR, 2 for DDR
|
|
7
|
+
RATE 2
|
|
8
|
+
; Bus width in bits. JEDEC standard is 64-bits
|
|
9
|
+
BusWidth 64
|
|
10
|
+
; Number of bits provided by each device in a rank
|
|
11
|
+
; Number of devices is calculated using BusWidth / DeviceWidth.
|
|
12
|
+
DeviceWidth 8
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
; 2.4 Ghz CPU clock
|
|
16
|
+
CPUFreq 2400
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
; Number of banks per rank and number of ranks.
|
|
20
|
+
BANKS 8
|
|
21
|
+
RANKS 8
|
|
22
|
+
CHANNELS 1
|
|
23
|
+
; Number of active rows from NVSIM
|
|
24
|
+
; All predecoding should be part of the row address.
|
|
25
|
+
;ROWS 262144
|
|
26
|
+
;ROWS 131072
|
|
27
|
+
ROWS 65536
|
|
28
|
+
; Number of active cols from NVSIM
|
|
29
|
+
COLS 2048
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
; Control parameters
|
|
33
|
+
PrintGraphs false
|
|
34
|
+
PrintPreTrace true
|
|
35
|
+
PreTraceFile nvmain.nvt
|
|
36
|
+
PreTraceWriter BitFlipTrace
|
|
37
|
+
;EchoPreTrace true
|
|
38
|
+
;PeriodicStatsInterval 10000000
|
|
39
|
+
UseRefresh false
|
|
40
|
+
|
|
41
|
+
TraceReader NVMainTrace
|
|
42
|
+
|
|
43
|
+
; Endurance model parameters
|
|
44
|
+
EnduranceModel NullModel
|
|
45
|
+
EnduranceDist Normal
|
|
46
|
+
EnduranceDistMean 1000000
|
|
47
|
+
EnduranceDistVariance 100000
|
|
48
|
+
FlipNWriteGranularity 32
|
|
49
|
+
|
|
50
|
+
; Everything below this can be overridden for heterogeneous channels
|
|
51
|
+
;CONFIG_CHANNEL0 lp_rram.config
|
|
52
|
+
;CONFIG_CHANNEL1 hp_rram.config
|
|
53
|
+
|
|
54
|
+
; Specify which memory controller to use
|
|
55
|
+
MEM_CTL PerfectMemory
|
|
56
|
+
INTERCONNECT OnChipBus
|
|
57
|
+
|
|
58
|
+
InitPD false
|
|
59
|
+
|
|
60
|
+
;
|
|
61
|
+
DeviceConfig dev.conf
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
; Timing parameters
|
|
65
|
+
tRAS 0
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
tCMD 1
|
|
69
|
+
tBURST 4
|
|
70
|
+
|
|
71
|
+
tRCD 2
|
|
72
|
+
tAL 0
|
|
73
|
+
tCCD 2
|
|
74
|
+
tCWD 4
|
|
75
|
+
tWTR 3
|
|
76
|
+
tWR 42
|
|
77
|
+
tCAS 2
|
|
78
|
+
tRTRS 1
|
|
79
|
+
tRTP 2
|
|
80
|
+
tRP 5
|
|
81
|
+
; ODT switching time
|
|
82
|
+
tOST 1
|
|
83
|
+
|
|
84
|
+
tRRDR 3
|
|
85
|
+
tRRDW 3
|
|
86
|
+
tFAW 50
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
tPD 4
|
|
90
|
+
tXP 3
|
|
91
|
+
tXPDLL 10
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
EnergyModel energy
|
|
96
|
+
|
|
97
|
+
; Energy Parameters
|
|
98
|
+
;
|
|
99
|
+
; Read/write values are in nano Joules
|
|
100
|
+
; NOTES:
|
|
101
|
+
; NVSIM energy is per word
|
|
102
|
+
; Erd is the read energy from a single mat
|
|
103
|
+
; Ewr is the write energy (SET or RESET, they are the same)
|
|
104
|
+
; These values are the energys required to read a page into a row buffer.
|
|
105
|
+
;
|
|
106
|
+
; Other energy values are taken from CACTI
|
|
107
|
+
;
|
|
108
|
+
Erd 0.081200
|
|
109
|
+
Eopenrd 0.001616
|
|
110
|
+
Ewr 1.684811
|
|
111
|
+
; Subarray write energy per bit
|
|
112
|
+
Ewrpb = 0.000202
|
|
113
|
+
|
|
114
|
+
; Energy leaked in 1 sec (or just the wattage) in milli Joules
|
|
115
|
+
Eleak 3120.202
|
|
116
|
+
|
|
117
|
+
Eopen 0
|
|
118
|
+
Eclosed 0
|
|
119
|
+
Epdpf 0
|
|
120
|
+
Epdps 0
|
|
121
|
+
Epda 0
|
|
122
|
+
Eref 0
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
;
|
|
126
|
+
; DRAM style energy calculation. All values in mA, taken from datasheet.
|
|
127
|
+
;
|
|
128
|
+
EIDD0 85
|
|
129
|
+
EIDD1 85
|
|
130
|
+
EIDD2P0 20
|
|
131
|
+
EIDD2P1 42
|
|
132
|
+
EIDD2N 55
|
|
133
|
+
EIDD2NT 55
|
|
134
|
+
EIDD3P 68
|
|
135
|
+
EIDD3N 67
|
|
136
|
+
EIDD4R 207
|
|
137
|
+
EIDD4W 185
|
|
138
|
+
EIDD5B 230
|
|
139
|
+
EIDD6 22
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|