cgsl_0204: Vector and bus signals crossing into atomic subsystems or Model blocks
| ID: Title | cgsl_0204: Vector and bus signals crossing into atomic subsystems or Model blocks | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | When working with vector or buses and some of the signal elements are in a referenced model, use the following information to determine how to select signal elements to minimize memory usage.
| |||||||||||||
| Notes |
| |||||||||||||
| Rationale | Minimize RAM, ROM, and stack usage | |||||||||||||
| Last Changed | R2023b | |||||||||||||
| Examples | Nonvirtual bus entering a model block:
There are no data copies in the code for the main model. The whole bus is passed to the model reference function.
Code for the model reference function:
| |||||||||||||


