Castillo Villar, Emilio <emilio.castillo <at> unican.es> writes:

> 
Hello

Thanks for your reply!

You mean the coherency protocol i used was not right. i used 
build/ALPHA_MESI_Two_Level/gem5.fast ,but there was an error:No such file 
or directory.

The build_opts has 
ALPHA_MESI_CMP_directory,ALPHA_MOESI_CMP_directory,ALPHA_MOESI_CMP_token,
ALPHA_MOESI_hammer, which one should i use?

The research i do is that a packet will transport from ont core,through 
the routers and reaches the destination core.The packet head flit contains 
the address where the packet should go.I just want to know this 
destination how to compute in the gem5's source code. 

Best Regards!
Lang Zhang


> Hello
> 
>  [NetDest (3) 0 1 0 0  - 1 1 0 0   - 0 0 - ] Is a bit mask specifying 
the controller the packet is bound for,
> I believe the first 4 0s is the L1 controller, it will be the L1 
controller with id 2. (2nd bit set to 1).
> Then the L2 controllers with ids 0 and 1, the last two bits are the 
directory id.
> 
> However I think you should build binaries with the required coherency 
protocol option for ruby to work. 
> 
> build/ALPHA_MESI_Two_Level/gem5.fast
> 
> ________________________________________
> De: gem5-users-bounces <at> gem5.org [gem5-users-bounces <at> gem5.org] 
en nombre de Lang Zhang [z_lang198926 <at> 163.com]
> Enviado: martes, 04 de marzo de 2014 13:26
> Para: gem5-users <at> gem5.org
> Asunto: [gem5-users] How the packet gets it's destination node in the   
source node
> 
> Good evening,
> 
> Now I am doing the research about NoC.I use gem5 to simulate.
> The core will produce a packet and the packet will move from the source
> node to the destination node.But I'm not sure how the packet gets its
> destination  node in the source code?
> 
> And after I ran the experiment,i got
> 
>  [RequestMsg: Addr = [0x98ad80, line 0x98ad80] Type = PUTX Requestor =
> L1Cache-0 Destination = [NetDest (3) 0 1 0 0  - 1 1 0 0   - 0 0 - ]
> MessageSize = Request_Control DataBlk = [ 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
> 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
> 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
> 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
> 0x0 0x0 ]MessageSize=Data Time = 3166840465750000 ]
> 
> The parameters i used is:
> build/ALPHA/gem5.opt configure/example/ruby_fs.py --num-cpus=4 --num-
> dirs=4 --l2caches=4 --topology=Mesh --mesh-rows=2 --garnet-
network=fixed --
> script=configs/boot/fft.rcS
> 
>   what's the meaning of [NetDest (3) 0 1 0 0  - 1 1 0 0   - 0 0 - ]?
> Whether it is the destination which the packet should go to?
> 
> I am trying to get the destination of the packet?Does anyone know how the
> packet transport?
> 
> Thanks a lot!
> Lang Zhang
> 
> _______________________________________________
> gem5-users mailing list
> gem5-users <at> gem5.org
> 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