SerialToParallel

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

    SerialToParallel

Library

Activate/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 updates. For example, if the overlap value is zero, then 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 slides by one to the 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 the input is updated. In other words, if the block is feedthrough, the content of the storage register is transferred to the parallel output and then updated. Otherwise the storage register is updated before being transferred.

Number

0
1

externalActivation

External activation

Specifies if the block receives an external activation or inherits its activation through its regular input ports. If selected, an additional activation port is added to the block, the shift register is applied, 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