Shift Register implementation using Simulink

12 Ansichten (letzte 30 Tage)
Kiran Chandrashekhar
Kiran Chandrashekhar am 3 Apr. 2011
Bearbeitet: Ralf Zaeper am 4 Mär. 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

Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 4 Apr. 2011
You should be able to implement this using cascaded Unit Delay blocks. Program the "initial conditions" for the blocks with the desired initial output.

Weitere Antworten (2)

timo
timo am 25 Sep. 2016
I am also interested in this Can someone share an example with the unit delay blocks ?

Ralf Zaeper
Ralf Zaeper am 4 Mär. 2019
Bearbeitet: Ralf Zaeper am 4 Mär. 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.

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by