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

1 回表示 (過去 30 日間)
Joseph Stalin
Joseph Stalin 2015 年 11 月 20 日
コメント済み: Walter Roberson 2015 年 11 月 20 日
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?

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 11 月 20 日
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 件のコメント
Joseph Stalin
Joseph Stalin 2015 年 11 月 20 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by