Azzera filtri
Azzera filtri

Simulink 'x' bit shifter - serial to parallel

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 5 Ago 2011

Più risposte (0)

Categorie

Scopri di più su General Applications in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by