Simulink 'x' bit shifter - serial to parallel

1 次查看(过去 30 天)
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

采纳的回答

Fangjun Jiang
Fangjun Jiang 2011-8-5

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by