Buses and Libraries

When you define a library block, the block can input, process, and output buses just as an ordinary subsystem can.

You need to provide the appropriate input bus signal if:

  • You have a bus routing block (Bus Creator, Bus Selector, or Bus Assignment) block that is in a library.

  • That block depends on signals that are input to the library.

To change that block in a library, perform these steps. For details about modifying library links, see Work with Library Links .

  1. Copy the library block that uses that block to a model that connects an input bus.

  2. Disable the link to the library block in this model.

  3. Edit the bus routing block within the context of the outside model.

  4. Resolve the link to the library.

  5. In the Link Tool, in Push/Restore Mode, select Push to place the edited content into the library.

  6. Save the library.

Alternatively, to configure the library to supply an appropriate bus signal, use a bus object to lock in the data type at the interface of a library subsystem block .

Was this topic helpful?