Hello Andreas,

As far as I know, the way to do it is to get the pointer to the message
buffer for the network interface of that particular router and then enqueue
the message at the cycle when you want to insert the message.

if you look at the build directly and look at the code for the memory
controller (L1 for example) generated by the scons scripts you will notice
that the messages are inserted into the network by simply calling the
enqueue() function for the message buffer of that particular Network
Interface node.

Ankit

On Sun, Feb 19, 2012 at 1:02 PM, Andreas Prodromou <
[email protected]> wrote:

> Hello,
>
> I am trying to run some network-only simulations based on a trace file,
> which contains memory references. Is there a method to do that? I don't
> really need the FS simulation, just the network part.
>
> I was also trying to edit Garnet's code so I can specify which router will
> send a packet, but I cannot find that piece of code anywhere. Can you give
> me any pointers? An example of what I am trying to do is to be able to make
> router X send a message to router Y on a specific cycle. I need the file i
> need to edit to make that happen.
>
> Thanks for your time,
> Andreas Prodromou
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>



-- 
Ankit More
Ph.D Candidate, Electrical and Computer Engineering
Drexel University, Philadelphia PA

Phone: 267-912-4712
Email: [email protected]
Web: http://vlsi.ece.drexel.edu
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to