ChampSim
ChampSim copied to clipboard
Plug DRAMSim as an DRAM simulator
As part of my project, I replaced the native DRAM simulator with DRAMSim simulator. I am creating the pull request to see if having this as an alternative in ChampSim would be beneficial to the community.
The current code is just a proof of concept and cannot be merged as is. I am willing to improving/fixing the code if you think that this might be a helpful addition for the ChampSim community.
Thanks
Hi,
I am new at simulator and architecture and I am trying to run Champsim simulator with DRAMSim, but there seem some problems.
When I run build_champsim.sh, such warning occurs with every .cc file:
If I ignore it and run run_champsim.sh, a segmentation fault occurs in the running. I think this may be caused by introducing DRAMSim simulator. What do you think that I should do to check the issue?
Thank you very much!
It might be because you are using the latest code of ChampSim. Can you try using the code from here?
I get the code from https://github.com/Prakharj24/ChamSim-CS422A for both ChampSim and DRAMSim2. I will try to change the ChampSim code. Thank you for your help.
Hi, Thank you for your help. I can run the code on my computer now. My system is MacOs, here are some changes that may help others who use MacOS. First, in DRAMSim2/makefile, the option -soname should be modified to -install_name to match MacOS. Second, in run_champsim.sh, I need to add one line to export dynamic library in MacOS, like this: export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$(pwd)/DRAMSim2/ I think this is caused by the system. Hope these will help to others. Thank you for your help and the work that combine the simulator with dram is really meaningful!