davidepatti / noxim

Network on Chip Simulator
218 stars 118 forks source link

Accessing a router in Noxim #121

Closed vsskarthik closed 2 years ago

vsskarthik commented 3 years ago

I'm trying to implement regional congestion awareness in noxim. For that I need to access the adjacent router and the router adjacent to that router that also. Is there some way to do this? Is there a method built into noxim that allows us to access a router instance and its methods using "router id" or its coordinates.?

Eg: if at the current_node is (1,1) I want the buffer information of router at (1,2) as well as (1,3)

davidepatti commented 2 years ago

Accessing in the sense of "accessing to the members of the other C++ class" of course would make no sense, because in the reality you would require physical signals. So I think you refer to something like NoP (neighbor on path), which is already implemented in noxim. We also wrote a paper about that: https://ieeexplore.ieee.org/document/4115458