Serialize
Library
Communicate
Description
The serialize block generates a vector of type unit8 from inputs of different types and sizes based on block parameters Endianness and alignment.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
nin | Number of inputs | Defines the number of inputs of the block. | Number | |
align | Byte alignment | Defines the number of bit shifts | Scalar | 1 |
mode | Endianness | Defines the Endianness mode. Network is always big endian. | String | 'host' |
externalActivation | External Activation | This parameter defines if the block receives an external activation or inherits. When External Activation is used, a additional activation port is added to the block. default is OFF. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | input | nin | |
Port 2 | activation | input | externalActivation | |
Port 3 | explicit | output | 1 |