MATLAB Answers

0

Shift Register implementation using Simulink

Asked by Kiran Chandrashekhar on 3 Apr 2011
Latest activity Edited by Ralf Zaeper on 4 Mar 2019
Hello,
I am trying to implement a model to calculate the CRC of the Received Bit Vector.
Please suggest me the technique how can we implement a shift Register with some initial content.
Regards Kiran

  0 Comments

Sign in to comment.

3 Answers

Answer by Kaustubha Govind on 4 Apr 2011
 Accepted Answer

You should be able to implement this using cascaded Unit Delay blocks. Program the "initial conditions" for the blocks with the desired initial output.

  0 Comments

Sign in to comment.


Answer by timo
on 25 Sep 2016

I am also interested in this Can someone share an example with the unit delay blocks ?

  0 Comments

Sign in to comment.


Answer by Ralf Zaeper on 4 Mar 2019
Edited by Ralf Zaeper on 4 Mar 2019

Attached a simple two level shift register in Simulink. Switch and memory blocks make up Kaustubha's suggested cascaded approach. A random number is captured at given trigger times, here generated every four steps, and shifted through the two stages.
The scope shows overall step counter, the two shift level contents and the trigger signal.

  0 Comments

Sign in to comment.