PToPSwitchArbiterVcs Class Reference

#include <ptopSwaVcs.h>

List of all members.

Public Member Functions

 PToPSwitchArbiterVcs ()
 ~PToPSwitchArbiterVcs ()
void resize (uint p, uint v)
bool is_requested (uint outp, uint inp, uint ovc)
void clear_requestor (uint outp, uint inp, uint ovc)
void request (uint p, uint op, uint inp, uint iv)
SA_unit pick_winner (uint p)
SA_unit do_round_robin_arbitration (uint p)
SA_unit do_priority_round_robin_arbitration (uint p)
SA_unit do_fcfs_arbitration (uint p)
void request (uint oport, uint inport, message_class m)
bool is_empty ()
string toString () const

Public Attributes

uint address
string name
uint node_ip

Private Attributes

uint ports
uint vcs
vector< vector< bool > > requested
vector< vector< bool > > priority_reqs
vector< vector< SA_unit > > requesting_inputs
vector< SA_unitlast_winner
vector< uintlast_port_winner


Detailed Description

Definition at line 31 of file ptopSwaVcs.h.


Constructor & Destructor Documentation

PToPSwitchArbiterVcs::PToPSwitchArbiterVcs (  ) 

Definition at line 24 of file ptopSwaVcs.cc.

References name.

PToPSwitchArbiterVcs::~PToPSwitchArbiterVcs (  ) 

Definition at line 29 of file ptopSwaVcs.cc.


Member Function Documentation

void PToPSwitchArbiterVcs::clear_requestor ( uint  outp,
uint  inp,
uint  ovc 
)

Definition at line 138 of file ptopSwaVcs.cc.

References requested, and vcs.

Referenced by GenericRouter4Stg::do_switch_allocation(), and GenericRouter4Stg::do_switch_traversal().

Here is the caller graph for this function:

SA_unit PToPSwitchArbiterVcs::do_fcfs_arbitration ( uint  p  ) 

SA_unit PToPSwitchArbiterVcs::do_priority_round_robin_arbitration ( uint  p  ) 

SA_unit PToPSwitchArbiterVcs::do_round_robin_arbitration ( uint  p  ) 

Definition at line 92 of file ptopSwaVcs.cc.

References _DBG_NOARG, last_port_winner, last_winner, Simulator::Now(), ports, requested, requesting_inputs, and vcs.

Referenced by pick_winner().

Here is the call graph for this function:

Here is the caller graph for this function:

bool PToPSwitchArbiterVcs::is_empty ( void   ) 

Definition at line 146 of file ptopSwaVcs.cc.

References ports, requested, and vcs.

Referenced by GenericRouter4Stg::do_switch_allocation().

Here is the caller graph for this function:

bool PToPSwitchArbiterVcs::is_requested ( uint  outp,
uint  inp,
uint  ovc 
)

Definition at line 65 of file ptopSwaVcs.cc.

References ports, requested, and vcs.

SA_unit PToPSwitchArbiterVcs::pick_winner ( uint  p  ) 

Definition at line 86 of file ptopSwaVcs.cc.

References do_round_robin_arbitration().

Referenced by GenericRouter4Stg::do_switch_allocation().

Here is the call graph for this function:

Here is the caller graph for this function:

void PToPSwitchArbiterVcs::request ( uint  oport,
uint  inport,
message_class  m 
)

void PToPSwitchArbiterVcs::request ( uint  p,
uint  op,
uint  inp,
uint  iv 
)

Definition at line 76 of file ptopSwaVcs.cc.

References Simulator::Now(), requested, requesting_inputs, and vcs.

Referenced by GenericRouter4Stg::do_switch_traversal(), and GenericRouter4Stg::handle_tick_event().

Here is the call graph for this function:

Here is the caller graph for this function:

void PToPSwitchArbiterVcs::resize ( uint  p,
uint  v 
)

Definition at line 34 of file ptopSwaVcs.cc.

References last_port_winner, last_winner, ports, priority_reqs, requested, requesting_inputs, and vcs.

Referenced by GenericRouter4Stg::init().

Here is the caller graph for this function:

string PToPSwitchArbiterVcs::toString (  )  const

Definition at line 159 of file ptopSwaVcs.cc.

References requested.

Referenced by GenericRouter4Stg::toString().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 47 of file ptopSwaVcs.h.

Referenced by GenericRouter4Stg::init().

Definition at line 60 of file ptopSwaVcs.h.

Referenced by do_round_robin_arbitration(), and resize().

Definition at line 59 of file ptopSwaVcs.h.

Referenced by do_round_robin_arbitration(), and resize().

Definition at line 48 of file ptopSwaVcs.h.

Referenced by PToPSwitchArbiterVcs().

Definition at line 49 of file ptopSwaVcs.h.

Referenced by GenericRouter4Stg::init().

Definition at line 54 of file ptopSwaVcs.h.

Referenced by do_round_robin_arbitration(), is_empty(), is_requested(), and resize().

vector< vector <bool> > PToPSwitchArbiterVcs::priority_reqs [private]

Definition at line 57 of file ptopSwaVcs.h.

Referenced by resize().

vector< vector <bool> > PToPSwitchArbiterVcs::requested [private]

vector< vector<SA_unit> > PToPSwitchArbiterVcs::requesting_inputs [private]

Definition at line 58 of file ptopSwaVcs.h.

Referenced by do_round_robin_arbitration(), request(), and resize().


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

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