#include <arith.h>
Inheritance diagram for mimo::Multiply:
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 ®ionQualifier) |
Protected Member Functions | |
Multiply (int deviceID, DeviceSystemIntf *system, const simth::PropertyList &pl, unsigned input_ports) | |
Protected Attributes | |
unsigned | iports |
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.
|
|
|
Implements simth::Device. |
|
Implements simth::Device. |
|
|
|
|