It contains all necessary sources and scripts for adapting gem5 to serving as the frontend of TLiveSP.
- Clone gem5 repository to local
hg clone [http://repo.gem5.org/gem5](http://repo.gem5.org/gem5)
- Checkout the stable version
hg update stable_2014_12_14
- Copy the cpu model to gem5 tree
cp -r gem5-sp/src/spcpu/ gem5/src/
- Patch some files
patch -p1 < unlinkat.patch patch -p1 < mkdirat.patch
- Compile
scons -j8 build/ARM/gem5.opt CPU_MODELS=AtomicSimpleCPU,LivespCPU