Mesh Class Reference

#include <mesh.h>

Inheritance diagram for Mesh:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Mesh ()
 ~Mesh ()
void init (uint ports, uint vcs, uint credits, uint buffer_size, uint no_nodes, uint grid_size, uint links)
void setup (void)
void connect_interface_processor (void)
void connect_interface_routers (void)
void connect_routers (void)
string print_stats (void)
void set_max_phy_link_bits (uint a)

Private Attributes

uint ports
uint vcs
uint credits
uint buffer_size
uint no_nodes
uint links
uint grid_size


Detailed Description

Definition at line 72 of file mesh.h.


Constructor & Destructor Documentation

Mesh::Mesh (  ) 

Definition at line 23 of file mesh.cc.

Mesh::~Mesh (  ) 


Member Function Documentation

void Mesh::connect_interface_processor ( void   )  [virtual]

Implements Topology.

Definition at line 80 of file mesh.cc.

References Topology::interfaces, Topology::link_a, Topology::link_b, no_nodes, and Topology::processors.

Referenced by iris_init().

Here is the caller graph for this function:

void Mesh::connect_interface_routers ( void   )  [virtual]

Implements Topology.

Definition at line 96 of file mesh.cc.

References Topology::interfaces, Topology::link_a, Topology::link_b, no_nodes, and Topology::routers.

Referenced by iris_init().

Here is the caller graph for this function:

void Mesh::connect_routers ( void   )  [virtual]

Implements Topology.

Definition at line 112 of file mesh.cc.

References Topology::east_links, grid_size, Topology::link_a, Topology::link_b, links, no_nodes, Topology::north_links, Topology::routers, Topology::south_links, and Topology::west_links.

Referenced by iris_init().

Here is the caller graph for this function:

void Mesh::init ( uint  ports,
uint  vcs,
uint  credits,
uint  buffer_size,
uint  no_nodes,
uint  grid_size,
uint  links 
) [virtual]

Implements Topology.

Definition at line 46 of file mesh.cc.

References buffer_size, credits, grid_size, links, no_nodes, ports, and vcs.

Referenced by iris_init().

Here is the caller graph for this function:

string Mesh::print_stats ( void   )  [virtual]

Implements Topology.

Definition at line 58 of file mesh.cc.

References Topology::interfaces, Topology::link_a, Topology::link_b, links, no_nodes, Topology::processors, Topology::routers, and stat_print_level.

Referenced by sim_print_stats().

Here is the caller graph for this function:

void Mesh::set_max_phy_link_bits ( uint  a  ) 

void Mesh::setup ( void   )  [virtual]

Implements Topology.

Definition at line 254 of file mesh.cc.

References buffer_size, credits, Topology::interfaces, Topology::link_a, Topology::link_b, links, Topology::max_sim_time, no_nodes, ports, Topology::processors, Topology::routers, and vcs.

Referenced by iris_init().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 92 of file mesh.h.

Referenced by init(), and setup().

uint Mesh::credits [private]

Definition at line 91 of file mesh.h.

Referenced by init(), and setup().

uint Mesh::grid_size [private]

Definition at line 95 of file mesh.h.

Referenced by connect_routers(), and init().

uint Mesh::links [private]

Definition at line 94 of file mesh.h.

Referenced by connect_routers(), init(), print_stats(), setup(), and ~Mesh().

uint Mesh::no_nodes [private]

uint Mesh::ports [private]

Definition at line 89 of file mesh.h.

Referenced by init(), and setup().

uint Mesh::vcs [private]

Definition at line 90 of file mesh.h.

Referenced by init(), and setup().


The documentation for this class was generated from the following files:

Generated on Tue Oct 19 17:22:20 2010 for IRIS by  doxygen 1.5.8