Skip to content

About

HFIM simulator package: nv-gem5 fork (v23) + NVMain + the FIM SimObjects, with manifest, Docker image and native install

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

hfim-sim-gem5

gem5, packaged for HFIM: the simulator, NVMain, and the fault injector compiled into it. A campaign that targets caches, coherence structures or memory models names this package and the version it needs.

How campaigns use it is in the gem5 backend page of the HFIM documentation.

Build it

On a laptop, as an image:

./build.sh                    # produces hfim-sim-gem5:<version>

On a server, in place:

./install.sh                  # builds both variants and DRAMsim3
export HFIM_SIM_GEM5=$PWD

Either way manifest.yaml tells hfim where the binaries are, which backends they provide, and which hfim versions they work with.

What is here

Directory What it is
gem5/ the nv-gem5 fork of gem5 v23.0, with HFIM's edits listed in VENDOR_README.md
nvmain/ NVMain, for non-volatile memory models, with HFIM's edits listed in VENDOR_README.md
integration/ the FIM SimObjects and the gem5 config scripts

Two binaries are built, because a gem5 binary carries one coherence protocol: build/RISCV/gem5.opt for classic caches (backend gem5) and build/RISCV_MESI_Two_Level/gem5.opt for Ruby MESI (backend gem5-ruby).

Contributing

The injector is integration/simobjects-fim/fim/fim_controller.cc. It compiles against this fork and not against upstream gem5, so it is versioned here rather than in the hfim repository. integration/BUILD.md says how to build and check it.

About

HFIM simulator package: nv-gem5 fork (v23) + NVMain + the FIM SimObjects, with manifest, Docker image and native install

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages