Hi,

I am working on developing an intelligent router that has information of
off-chip main memory at its initialization so that it can give priority to
the request packets based on their bank addresses. Could you please let me
know if it is possible?
I went through the code and saw that the class- Router_d.cc  is inherited
from BasicRouter which has an object BasicRouterParams. The superclass for
these classes is SimObject which I assume will be having information about
router as well as memory (Please correct me if I am wrong). I tried to add
member variables like m_banks_per_rank, m_ranks_per_dimm to the constructor
of BasicRouter and access them using the object params but it gave me the
following error:

build/ALPHA_SE_MOESI_hammer/mem/ruby/network/BasicRouter.cc: In constructor
'BasicRouter::BasicRouter(const BasicRouterParams*)':
build/ALPHA_SE_MOESI_hammer/mem/ruby/network/BasicRouter.cc:35: error:
'const struct BasicRouterParams' has no member named 'banks_per_rank'

I am not sure if I am going the right way. Could you please guide me on
understanding this?

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

Reply via email to