Discrete-time serial-in, parallel-out shift register
Simscape / Electrical / Control / General Control
The Serial-In Parallel-Out Shift Register block implements a serial-in parallel-out shift register in discrete time. You can use a shift register to convert between serial and parallel interfaces or to implement a circuit delay or hardware stack.
This block outputs a vector of last N samples of the input signal. If the input signal is a vector, the block outputs the last N samples of each input signal.
u— Serial input
Serial input signal.
y— Parallel output
Parallel output signal.
Number of samples— Number of input samples
4(default) | positive integer
Number of register stages or samples.
Initial condition— Initial value of the input sample
0(default) | real number
Initial value of the N-1 samples preceeding simulation start time. The value must be a scalar or a vector of the same size as the input signal.
Sample time (-1 for inherited)— Block sample time
-1(default) | 0 | positive scalar
Time between consecutive block executions. During execution, the block produces outputs and, if appropriate, updates its internal state. For more information, see What Is Sample Time? and Specify Sample Time.
For inherited discrete-time, specify
-1. For discrete-time, specify
a positive integer. For continuous-time, specify