Where do I use this? Vector to Bus and Bus to Vector

4 views (last 30 days)
Hi Anybody can explain me why and how to use the Vector to Bus/Bus to vector blocks? What is the advantage will I get?

Answers (1)

Walter Roberson
Walter Roberson on 20 Nov 2015
Well, for example, a memory chip is a vector of data, but you cannot afford to lay out direct tracks from every memory byte to every location it must go to, so you send the data over a bus.
Another example: you may have a bunch of data to transfer to or from an FPGA, but FPGAs have limited numbers of pins, so you make some of the pins in to a bus and send it in sequence.
Simulink usually abstractly sends each signal is parallel to where it needs to go, all flowing at the same rate for each time step. But you cannot always afford that many signal traces, so sometimes you have to limit the number of parallel paths and send the data in sequence over the restricted path, with that multiplexing happening within each time step.
  2 Comments
Joseph Stalin
Joseph Stalin on 20 Nov 2015
First of all thx for the reply. When sending it sequentially how time management happens with the sample time? because while sending in parallel all the data will be sent in the current sample time... but this not possible while sending data in serial.... Also do you have any example models that uses Bus to Vector block? It will help me.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!