Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

mimo::Multiplexer Class Reference

Base class for a general Multiplexer/Demultiplexer. More...

#include <multiplexer.h>

Inheritance diagram for mimo::Multiplexer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void updateInputLengths ()
virtual void updateOutputLengths ()
template<class seqT> void process ()
void print (std::ostream &os) const

Static Public Member Functions

void init (const std::string &fileName, Device **dev, DeviceSystemIntf *sysPtr, int ID, const std::string &regionQualifier)

Protected Member Functions

 Multiplexer (int deviceID, DeviceSystemIntf *system, const simth::PropertyList &pl)

Protected Attributes

unsigned int iports
unsigned int oports

Detailed Description

Base class for a general Multiplexer/Demultiplexer.

The number of input ports as well as the number of output ports needs to be specified in the parameter file. The number of input and output ports need to be an integer multiple of each other (this requirement might be relaxed sometime soon).

Parameters in Micos parameter file:

type: set this to "multiplexer"

input_ports: number of input ports.

output_ports: number of output ports input and output ports must be an integer multiple of each other.

streamtype: String specifying the sequence data type of the input and output ports. The names are the ones as defined in signals.h, e.g. bitSeq, ModSeq, symSeq etc.


Constructor & Destructor Documentation

mimo::Multiplexer::Multiplexer int  deviceID,
DeviceSystemIntf *  system,
const simth::PropertyList pl
[protected]
 


Member Function Documentation

virtual void mimo::Multiplexer::updateInputLengths  )  [virtual]
 

Implements simth::Device.

virtual void mimo::Multiplexer::updateOutputLengths  )  [virtual]
 

Implements simth::Device.

template<class seqT>
void mimo::Multiplexer::process  )  [virtual]
 

Implements simth::Device.

Reimplemented in mimo::MultiplexerT< seqT >, and mimo::MultiplexerT< CMatrixSeq >.

void mimo::Multiplexer::print std::ostream &  os  )  const [virtual]
 

Reimplemented from simth::Device.

void mimo::Multiplexer::init const std::string &  fileName,
Device **  dev,
DeviceSystemIntf *  sysPtr,
int  ID,
const std::string &  regionQualifier
[static]
 


Member Data Documentation

unsigned int mimo::Multiplexer::iports [protected]
 

unsigned int mimo::Multiplexer::oports [protected]
 


Generated on Fri Jul 23 16:27:56 2004 for mimolib by doxygen 1.3.2