Simulink 'x' bit shifter - serial to parallel
이전 댓글 표시
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
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Sources에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!