Hey  there,

I'm trying to use gem5 to model a simple NoC with 4 processors (2 rows, 2
columns), in which each of the processors is running an independent task.

The idea is for each of them to have private caches, but they should all
share a single DDR memory. Although using the private caches seems
straightforward, I'm not so sure how to include the DDR controllers.

So far, what I came up with was:

command line: ./build/ARM/gem5.opt configs/example/se.py --cpu-type=timing
--ruby --topology=Mesh --mesh-rows=2 --num-cpus=4 --num-l2caches=4
--num-dirs=4 --garnet-network=fixed
-c"apps/prog1;apps/prog2;apps/prog3;apps/prog4"

(progs[1-4] are hello world applications).

which yields:

warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
0: system.remote_gdb.listener: listening for remote gdb #1 on port 7001
0: system.remote_gdb.listener: listening for remote gdb #2 on port 7002
0: system.remote_gdb.listener: listening for remote gdb #3 on port 7003
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
warn: ignoring syscall mprotect(135168, 1073741824, ...)
warn: ignoring syscall mprotect(135168, 1073741824, ...)
warn: ignoring syscall mprotect(135168, 1073741824, ...)
warn: ignoring syscall mprotect(135168, 1073741824, ...)
panic: Page table fault when accessing virtual address 0
 @ cycle 43389000
[invoke:build/ARM/sim/faults.cc, line 70]
Memory Usage: 247832 KBytes
Program aborted at cycle 43389000
Aborted (core dumped)

So my questions would be:
1) Is it possible to use Mesh Topology in conjunction with SE.
2) How to select the appropriate number of DDR controllers (which should be
shared by all network nodes).

Best Regards,
   Leonardo.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to