Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

simthlib::Multiplexer Class Reference

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

#include <multiplexer.h>

Inheritance diagram for simthlib::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

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

Protected Member Functions

 Multiplexer (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl, unsigned int _iports, unsigned int _oports)
virtual ~Multiplexer ()

Protected Attributes

unsigned int iports
unsigned int oports

Related Functions

(Note that these are not member functions.)

 propertylist_Multiplexer (not_a_function)

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 restriction 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, simth::ModSeq, symSeq etc.


Constructor & Destructor Documentation

simthlib::Multiplexer::Multiplexer int  deviceID,
simth::DeviceSystemIntf system,
const simth::PropertyList pl,
unsigned int  _iports,
unsigned int  _oports
[protected]
 

virtual simthlib::Multiplexer::~Multiplexer  )  [protected, virtual]
 


Member Function Documentation

static void simthlib::Multiplexer::init simth::DeviceFactory registration  )  [static]
 

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

Reimplemented in simthlib::LlrToBit.

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

Reimplemented from simth::Device.

Reimplemented in simthlib::ConverterT< seqT_in, seqT_out >, simthlib::CmplToReIm< seqT_in, seqT_out >, simthlib::CmplToAbsArg< seqT_in, seqT_out >, simthlib::LlrToBit, simthlib::BitToLlr, simthlib::LoadingInfoToAmpl, and simthlib::LoadingInfoToBits.

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

Implements simth::Device.

Reimplemented in simthlib::ConverterT< seqT_in, seqT_out >, simthlib::CmplToReIm< seqT_in, seqT_out >, simthlib::CmplToAbsArg< seqT_in, seqT_out >, simthlib::LlrToBit, simthlib::BitToLlr, simthlib::LoadingInfoToAmpl, simthlib::LoadingInfoToBits, simthlib::MultiplexerT< seqT >, simthlib::AdaptiveMultiplexerT< seqT >, and simthlib::AdaptiveMultiplexerT< simth::BitSeq >.

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

Implements simth::Device.

Reimplemented in simthlib::AdaptiveMultiplexerT< seqT >, and simthlib::AdaptiveMultiplexerT< simth::BitSeq >.

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

Implements simth::Device.

Reimplemented in simthlib::AdaptiveMultiplexerT< seqT >, and simthlib::AdaptiveMultiplexerT< simth::BitSeq >.


Friends And Related Function Documentation

propertylist_Multiplexer not_a_function   )  [related]
 

These are the properties of class Multiplexer . This list is auto-generated from the XML-Devicelist of this device by means of an XSLT transformation script.

Description of this device in the XML file: The base class for a multiplexer with several input and/or output interfaces. The number of input interfaces times the input length must divide the number of output interfaces times the output length, or vice versa.

Note that this class also has the Properties of its base classes. The direct base class is simth::Device ; direct link to its propertylist should be propertylist_Device(). The list below usually includes the properties that have been inherited from the base classes; the properties which belong only to this class can be found at the end of this list.

input_ports
<unsigned>, default "" -- The number of input interfaces.

output_ports
<unsigned>, default "" -- The number of output interfaces.

2 properties in this class.


Member Data Documentation

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

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


Generated on Tue Aug 9 14:39:01 2005 for simtheticlib by  doxygen 1.4.1