Hi,

In GEM5 simulator, How to set priority path in the shortest path routing
algorithm? How to set the number of virtual channel?


I'm very weak in programming. I would like to get suggestion in
programming. In mesh topology the link is connected by using following
programming.

for row in xrange(num_rows):
            for col in xrange(num_columns):
                if (col + 1 < num_columns):
                    east_id = col + (row * num_columns)
                    west_id = (col + 1) + (row * num_columns)
                    int_links.append(IntLink(link_id=link_count,
                                            node_a=routers[east_id],
                                            node_b=routers[west_id],
                                            weight=1))

I would like to build a heterogeneous topology. if i would like to
specified adding link between node [2] connected to node [4] in mesh
topology. how to modified the program?

Thank you
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to