Skip to content

pholasek/memsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MemSim - Memory hierarchy simulator

https://github.com/pholasek/memsim.git

Components

  • library: memsimlib.so
  • cli: memsim-cli
  • gui: memsim-gui

Library

library interface is exported via MemSimulationObj class

CLI

make run-cli

commands:

  • load <path> - load trace with given path
  • run <id> - run simulation of trace with id
  • add <dev> - add device
  • remove <dev> - remove device
  • config <dev> <param> <val> - config device
  • show traces - show all loaded traces
  • show devices - show configured devices
  • show statsall - show stats of all devices

GUI

make run-gui

Use

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 $

Docs

$ make docs

doxygen package is required.

documentation related to model validation and testing is situated in src/testing/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published