Hi Qingran,

gem5 models the entire system including caches and the memory hierarchy.
Most communication between cores occurs through the memory hierarchy. So
you can simply modify the program to communicate via shared memory. If you
want to implement some new communication hardware between CPUs, I would
start by looking at the CPU code in src/cpu and go from there.

Jason

On Fri, Feb 17, 2017 at 8:01 AM magic王 <[email protected]> wrote:

> Hi everyone !
>
>       I am going to simulate two ARM cores in gem5 . And I have to achieve
> some intercommunication between two cores so I should do some modification
> in gem5's source code. But I can't find the place where gem5 simulates
> multi-cores's intercommunication via shared memory or something else . Can
> anyone help me with where gem5's cpu's intercommunication is ?
>       Or I can use SMT to simulate the dual-core architecture . But could
> I modify the thread's intercommunication in cpu models with SMT such as o3
> cpu ?
>
>       Thanks!
>
>
>
> Qingran Wang
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to