Dear Sarah,
It is indeed possible to do so, however, it depends on what you want to do
with it:
- If you plan to simulate a complete system composed by host processors
running Linux OS and a "Processor-In-Memory" which is supposed to execute a
different application, then the situation is a bit more complex. Because
your PIM core should not be identified as one of the host CPUs (it should
be some sort of a device). In this case, PIM must be a separate system or
subsystem. The ArmSystem class of gem5 can give some insight about what you
should do in this case.
- This is what we have already done and our paper will soon appear in
ARCS 2016 conference with the title: "Design and Exploration of a
Processing-in-Memory Architecture for the Smart Memory Cube".
- On the other hand, if you just want to simulate an in-order core
connected to HMC (without the full-system host platform), you can do this
with the simple trick:
- Just reduce the number of CPU in the gem5 simulation to 1, remove
the caches, and use the --cpu-type=minor to model an in-order cpu.
- Then inside the HMC.py script, just comment and remove these two
components: Serial Link and HMC Controller. This way you ensure that your
processor is directly connected to HMC's crossbar, and not
through the HMC
Controller and the Serial Links.
- You can use --bare-metal option to use your core in bare-metal
mode, and you can boot a hello-world C application on it.
I hope that this helps,
Best Regards,
On Mon, Jan 25, 2016 at 8:19 PM, Sarah Fitzgerald <[email protected]>
wrote:
> Hi All,
>
> Could anyone help me how I can add a simple inorder core to the HMC.
> Should I add it to HMC.py in config/common? If so, how?
>
> Thanks in advance,
>
> Regards,
> Sarah
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
--
Erfan Azarkhish
Micrel Lab - Viale Carlo Pepoli 3/2 - 40123, Bologna
DEI - University of Bologna, Italy
https://www.linkedin.com/in/erfanazarkhish
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users