https://github.com/pholasek/memsim.git
- library: memsimlib.so
- cli: memsim-cli
- gui: memsim-gui
library interface is exported via MemSimulationObj class
make run-cli
commands:
load <path>
- load trace with given pathrun <id>
- run simulation of trace with idadd <dev>
- add deviceremove <dev>
- remove deviceconfig <dev> <param> <val>
- config deviceshow traces
- show all loaded tracesshow devices
- show configured devicesshow statsall
- show stats of all devices
make run-gui
Sample traces are situated in test/trace{1,2,3}.trc
memsim> add l1_i
memsim> add l1_d
memsim> add l2
memsim> add swap
memsim> show devices
memsim> load test/trace2
memsim> run 0
memsim> show statsall
memsim> ^D
$
$ make docs
doxygen package is required.
documentation related to model validation and testing is situated in src/testing/