How to configure Hybrid memory ("HBM+DRAM") in Gem5 ? #1000
-
How to configure Hybrid memory ("HBM+DRAM") as a flat address system in Gem5 ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@mbabaie maybe you can help here? |
Beta Was this translation helpful? Give feedback.
-
I was initially encountering a similar issue, with errors concerning unmapped address accesses. If you're getting an unmapped address access error when trying to access memory in the second memory device, in your Python configuration file, you should map the intended virtual addresses in your binary executable to addresses valid in the second memory device. Make sure your mappings are page-aligned. Something like
After doing this, I was able to get gem5 to work the way I wanted it to. |
Beta Was this translation helpful? Give feedback.
@LujhCoconut and others,
First of all my apologies for responding so late. For some odd reasons I did not get a notification when I was tagged.
Some clarifications regarding your questions about
HBM+DRAM
andhetero_mem_ctrl
.The types of combinations gem5 memory controllers support are as follows:
MemCtrl
with a single type of memory of any kind (except HBM2 with two pseudo channels)HBMCtrl
. This is special case for which we developed a separate memory controller and it only works with HBM2 memory, one instance of it for each pseudo-channel.HeteroMemCtrl
. As of now,…