#include <arith.h>
Inheritance diagram for simthlib::Multiply:
Public Member Functions | |
virtual void | updateInputLengths () |
virtual void | updateOutputLengths () |
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) |
Protected Member Functions | |
Multiply (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl, unsigned input_ports) | |
Protected Attributes | |
unsigned | iports |
Related Functions | |
(Note that these are not member functions.) | |
propertylist_Multiply (not_a_function) |
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 by 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.
|
|
|
|
|
Reimplemented from simth::Device. |
|
Implements simth::Device. |
|
Implements simth::Device. |
|
These are the properties of class Multiply . 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 multiplication block with several input interfaces. The samples of all input sequences are multiplied 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.
|
|
|