#include <cosyselect.h>
Inheritance diagram for cosySelect:
Public Member Functions | |
cosySelect (SelectImpl &s, cosyRte &r) | |
~cosySelect () | |
void | pushBack (const InPortImpl &p, unsigned int n) |
void | pushBack (const OutPortImpl &p, unsigned int n) |
unsigned int | select () |
void | signal () |
Private Attributes | |
std::vector< cosyFifo * > | f |
std::vector< unsigned int > | s |
std::vector< bool > | input |
std::vector< unsigned int > | r |
unsigned int | retvalue |
Semaphore | sema |
bool | block |
cosyRte * | rte |
Static Private Attributes | |
bool | random = true |
Friends | |
class | cosyNetwork |
|
Definition at line 29 of file cosyselect.cc. |
|
Definition at line 35 of file cosyselect.cc. |
|
Implements rteSelect. Definition at line 47 of file cosyselect.cc. References f, getFarFifo(), input, FifoImpl::nrRteFifos(), r, retvalue, FifoImpl::rte(), and s. |
|
Implements rteSelect. Definition at line 38 of file cosyselect.cc. |
|
Implements rteSelect. Definition at line 60 of file cosyselect.cc. References rteSelect::api(), rteSelect::base, block, cosyRte::cerr(), f, input, IdBase::name(), r, random, rnd(), rte, s, sema, and Semaphore::wait(). |
|
Definition at line 151 of file cosyselect.cc. References block, lock, sema, and Semaphore::signal(). Referenced by cosyFifo::read(), and cosyFifo::write(). |
|
Definition at line 61 of file cosyselect.h. |
|
Definition at line 52 of file cosyselect.h. |
|
Definition at line 45 of file cosyselect.h. Referenced by pushBack(), and select(). |
|
Definition at line 47 of file cosyselect.h. Referenced by pushBack(), and select(). |
|
Definition at line 48 of file cosyselect.h. Referenced by cosySelect(), pushBack(), and select(). |
|
Definition at line 22 of file cosyselect.cc. Referenced by select(). |
|
Definition at line 50 of file cosyselect.h. Referenced by pushBack(). |
|
Definition at line 53 of file cosyselect.h. Referenced by cosySelect(), pushBack(), and select(). |
|
Definition at line 46 of file cosyselect.h. Referenced by pushBack(), and select(). |
|
Definition at line 51 of file cosyselect.h. |