Shift Register implementation using Simulink
11 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Kaustubha Govind
2011-4-4
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 个评论
更多回答(2 个)
timo
2016-9-25
I am also interested in this Can someone share an example with the unit delay blocks ?
0 个评论
Ralf Zaeper
2019-3-4
编辑:Ralf Zaeper
2019-3-4
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!