/
README
119 lines (79 loc) · 3.38 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
NVSim - A performance, energy and area estimation tool
for non-volatile memory (NVM)
======================================================
Sections
1. Overview
2. Compiling NVSim
3. Running NVSim
4. Configuring NVSim
5. Hacking NVSim
6. README Changelog
------------------------------------------------------
1. Overview
NVSim models the area, timing, dynamic energy and
leakage power of Phase-Change Memory (PCM), Spin-
Torque-Transfer RAM (STT-RAM), Resistive RAM
(ReRAM) or memristor, Floating Body Dynamic RAM
(FBDRAM) and Single-Level Cell NAND Flash.
NVSim uses the same modeling principles as the
well-known CACTI, but it starts from scratch on
the basis of a brand-new frame work with more
flexibility in terms of bank/mat/subarray
organization and periphral circuitry design. Such
flexibility is necessary for emerging non-volatile
memory technologies as the current status of most
emerging NVMs is unknown. Thanks for trying NVSim!
------------------------------------------------------
2. Compiling NVSim
NVSim is programmed under GNU C++, and it can be
compiled on both Unix-like OSes and Microsoft
Windows
2a. Under Linux
The tool can be built using make:
$ make
Running through make will automatically set
the compile flags needed.
------------------------------------------------------
3. Running NVSim
If no .cfg file is specified, NVSim will load the
default configuration file (nvsim.cfg)
$ ./nvsim
Actually, users can specify their own configurations
by passing the ".cfg" argument.
$ ./nvsim <custom>.cfg
------------------------------------------------------
4. Configuring NVSim
NVSim can be configured using the configuration files.
Several example configuration files can be found in
the root directory of the source code. Note that most
of the configuration files are specified with small
capacity (< 128MB) as the current version of NVSim
only models a single-bank. Multi-bank cache/memory is
in the to-do list of NVSim 2.0.
For example,
sample_STTRAM_cache.cfg - A 8MB STT-RAM cache (both
data and array) configured for design space exploration
sample_PCRAM.cfg - A 16MB PCM macro with fixed bank
organization (H-tree, internal sensing)
sample_NVM_macro.cfg - A generic NVM macro
A more detailed listing of configuration parameter
names and potential values are on the NVSim wiki page.
------------------------------------------------------
5. Hacking NVSim
As mentioned in the overview, NVSim is meant to
be flexible. Another level of flexibility is
enabled when experts in NVM design Write their own
sense amplifier, voltage plane, charge pump
circuiitry etc. This can be done by creating a new
C++ file with a new class and instantiate the new
class in corresponding component.
------------------------------------------------------
Please refer to the following paper for a general
introduction of the tool,
"NVSim: A Circuit-Level Performance, Energy and Area
Model for Emerging Nonvolatile Memory", IEEE TCAD 2012
If you have any comments, questions, or suggestions please
either create an issue on github or contact us via email.
Cong Xu <xucongpsu@gmail.com>
Xiangyu Dong <rioshering@gmail.com>
Shuangchen Li <lschen.26@gmail.com>