SerialToParallel

This block buffers and outputs a sequence of the input vectors. The output is a matrix.

    SerialToParallel

Library

Buffers

Description

The SerialToParallel block buffers a sequence of the inputs and outputs them in parallel. Input matrices are concatenated row wise, i.e., the row sizes of the input and the output are identical. This blocks implements a serial-in, parallel-out shift register. Serial data is received on its input port and shifted through the internal shift register at each activation. In the meantime, the contents in its storage register are transferred to the output port to form the parallel output. The storage register is updated with the contents in the shift register at a slower rate given by UpdateRate = InputRate * (RegisterLength - BufferOverlap)

Parameters

SerialToParallel_0

NameLabelDescriptionData TypeValid Values

overlap

Buffer overlap

Specifies the number of common data between two consecutive output update. As an example, if the overlap value is zero, the output is updated once all output elements are new. if the overlap value is No-1, where No is the column size of the output, then at each update, the output matrix is slides by one to right.

Scalar

initial

Initial output

Specifies the initial value of the output which is the same as the initial state of the block.

Matrix

directfeedthrough

Direct feedthrough

Defines if the output should be updated immediately after the update of the input. In other words, if the block is feedthrough, the contents of storage register are transferred to parallel output then get itself updated. Otherwise the storage register is updated before transferred to output.

Number

0
1

externalActivation

External activation

This parameter specifies if the block receives or inherits an external activation. When External Activation is used, an additional activation port is added to the block. If the external activation is enabled, the shift register is shifted through, and output is produced from the storage register at each external activation.

Number

0
1

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

input

1

Port 2

explicit

output

1

Port 3

activation

input

externalActivation

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

parametric

This property can be chosen by the user

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

yes