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

mimo::Multiply Class Reference

Base class for a general Multiply block. More...

#include <arith.h>

Inheritance diagram for mimo::Multiply:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void updateInputLengths ()
virtual void updateOutputLengths ()

Static Public Member Functions

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

Protected Member Functions

 Multiply (int deviceID, DeviceSystemIntf *system, const simth::PropertyList &pl, unsigned input_ports)

Protected Attributes

unsigned iports

Detailed Description

Base class for a general Multiply block.

This block multiplies the samples from all input sequences together and by a constant factor. The number of input ports (may be one) and the multiplication factor needs to be specified in the parameter file.

Parameters in Micos parameter file:

type: set this to "<code>multiply</code>"

factor: literal scalar factor to multiply with. The type of this factor has to match the sequence type as specified through the "<code>streamtype</code>" parameter.

input_ports: number of input ports. (optional)

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


Constructor & Destructor Documentation

mimo::Multiply::Multiply int  deviceID,
DeviceSystemIntf system,
const simth::PropertyList pl,
unsigned  input_ports
[protected]
 


Member Function Documentation

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

Implements simth::Device.

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

Implements simth::Device.

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


Member Data Documentation

unsigned mimo::Multiply::iports [protected]
 


Generated on Tue Aug 9 14:43:13 2005 for mimolib by  doxygen 1.4.1