#include <arith.h>
Inheritance diagram for simthlib::Add:
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 ®ionQualifier) |
static void | init (simth::DeviceFactory ®istration) |
Protected Member Functions | |
Add (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl, unsigned int _iports) | |
Protected Attributes | |
unsigned int | iports |
Related Functions | |
(Note that these are not member functions.) | |
propertylist_Add (not_a_function) |
This block adds samples from all input ports into one output port. The number of input ports needs to be specified in the parameter file.
Parameters in Micos parameter file:
type:
set this to "<code>add</code>"
input_ports:
number of input ports.
streamtype:
String specifying the sequence data type of the input and output ports. The names are the ones as defined in signal.h, e.g. bitSeq, ModSeq, symSeq etc.
|
|
|
|
|
|
|
Reimplemented from simth::Device. |
|
Implements simth::Device. Reimplemented in simthlib::AddT< seqT >. |
|
Implements simth::Device. |
|
Implements simth::Device. |
|
These are the properties of class Add . 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 an addition block with several input interfaces. The samples of all input sequences are added together. 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.
|
|
|