ktapsyman / patch_rocket_sim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

===== User Guide

  1. git clone the "patch_rocket_sim" under your rocket-sim/
  2. Backup your original Makefile to different name.
  3. Create a new Makefile under rocket-sim/, and following content " -include patch_rocket_sim/Makefile " in your new Makefile.
  4. Modify the rocket-sim/execution.cpp. Comment the systrm pause.
    Please follow this link in detail to modify your execution.cpp
  5. Choose the following one malloc lib
  • make tm=ltalloc
  • make tm=scalloc
  • make tm=glibc
  1. ./rocket-sim-exe

Note

Run simulation faster

  • If you have enough memory, you can modify ** #define NUM_OF_CELL** number in ringbuffer.h for more lager memory.

Scalloc User

  • Execute ./patch_rocket_sim/scalloc_config.sh under the rocket-sim/ before build the code.
  • make tm=scalloc

About


Languages

Language:C++ 82.4%Language:C 9.4%Language:Shell 3.2%Language:Makefile 2.3%Language:Python 1.8%Language:Gnuplot 0.9%