Clear Filters
Clear Filters

Simulink 'x' bit shifter - serial to parallel

1 view (last 30 days)
Hello,
My inputs into my model all come from I/O pins serially. Therefore, I need to create a serial to parallel block to be able to use my inputs.
1. Is there a serial to parallel block available for Simulink for free somewhere?
2. I am currently trying to implement it using 16 d-flip flops connected to each other end to end.And than tapping each d-flip flop and using a 16 wide mux to make it one line. However, simulink sees this as a [16] array instead of an int 16 scalor. What is the easiest way in Simulink to take 16 boolean input lines and make it into a single int 16 signal?
Thank you

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 5 Aug 2011

More Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!