Filter löschen
Filter löschen

Simulink 'x' bit shifter - serial to parallel

1 Ansicht (letzte 30 Tage)
Steven
Steven am 5 Aug. 2011
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

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 5 Aug. 2011

Weitere Antworten (0)

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by