#include <pvtopv_swa.h>
Public Member Functions | |
PVToPV_swa () | |
~PVToPV_swa () | |
void | resize (uint p, uint c) |
bool | is_requested (uint inp, uint inch, uint p, uint c) |
void | request (uint p, uint c, uint inp, uint inch) |
SA_unit | pick_winner (uint p, uint c) |
void | clear_winner (uint p, uint c, uint ip, uint ic) |
bool | is_empty () |
bool | is_empty_for_ch (uint ch) |
uint | no_requests_ch (uint ch) |
string | toString () const |
Public Attributes | |
uint | address |
uint | name |
uint | node_ip |
Private Attributes | |
uint | PORTS |
uint | CHANNELS |
vector< vector< bool > > | locked |
vector< vector< bool > > | done |
vector< vector< bool > > | requested |
vector< bool > | port_locked |
vector< vector< SA_unit > > | requesting_inputs |
vector< vector< SA_unit > > | last_winner |
vector< vector< uint > > | last_port_winner |
vector< vector< uint > > | last_ch_winner |
Definition at line 27 of file pvtopv_swa.h.
PVToPV_swa::PVToPV_swa | ( | ) |
Definition at line 24 of file pvtopv_swa.cc.
PVToPV_swa::~PVToPV_swa | ( | ) |
Definition at line 29 of file pvtopv_swa.cc.
bool PVToPV_swa::is_empty | ( | void | ) |
bool PVToPV_swa::is_empty_for_ch | ( | uint | ch | ) |
Definition at line 100 of file pvtopv_swa.cc.
References CHANNELS, done, last_port_winner, last_winner, locked, PORTS, requested, and requesting_inputs.
Definition at line 89 of file pvtopv_swa.cc.
References CHANNELS, done, requested, and requesting_inputs.
Definition at line 35 of file pvtopv_swa.cc.
References CHANNELS, done, last_ch_winner, last_port_winner, last_winner, locked, port_locked, PORTS, requested, and requesting_inputs.
string PVToPV_swa::toString | ( | ) | const |
Definition at line 41 of file pvtopv_swa.h.
uint PVToPV_swa::CHANNELS [private] |
Definition at line 49 of file pvtopv_swa.h.
Referenced by clear_winner(), is_empty(), pick_winner(), request(), and resize().
vector< vector<bool> > PVToPV_swa::done [private] |
Definition at line 51 of file pvtopv_swa.h.
Referenced by clear_winner(), pick_winner(), request(), and resize().
vector< vector<uint> > PVToPV_swa::last_ch_winner [private] |
vector< vector<uint> > PVToPV_swa::last_port_winner [private] |
vector< vector<SA_unit> > PVToPV_swa::last_winner [private] |
vector< vector<bool> > PVToPV_swa::locked [private] |
Definition at line 50 of file pvtopv_swa.h.
Referenced by clear_winner(), is_requested(), pick_winner(), and resize().
Definition at line 42 of file pvtopv_swa.h.
Definition at line 43 of file pvtopv_swa.h.
vector< bool> PVToPV_swa::port_locked [private] |
uint PVToPV_swa::PORTS [private] |
vector< vector<bool> > PVToPV_swa::requested [private] |
Definition at line 52 of file pvtopv_swa.h.
Referenced by clear_winner(), is_empty(), is_empty_for_ch(), no_requests_ch(), pick_winner(), request(), resize(), and toString().
vector< vector<SA_unit> > PVToPV_swa::requesting_inputs [private] |