|
<< Click to Display Table of Contents >> 3.5 Converting Between Bus and Signal Types |
![]() ![]()
|
Virtual bus and Group buses can be converted into one another. Also signals can converted in to a bus with the same name.
Convert between a Virtual bus and a Group Bus:
|
Convert Signals with the same name to a Bus:
Single bit signals that have the same signal name except for brackets defining the bit position can be combined into buses (SIG1[0], SIG1[1], SIG1[2] can be combined).
|
Convert Signals with Arbitrary names to a Bus:
If the names of the signals to be converted do not fit the bracket pattern matching, you can always combine them manually into a group bus using the technique Create a Group Bus from existing signals as discussed in Section 3.2: Group Buses. This group bus can then be converted to a virtual bus using the Group Bus <-> Virtual Bus function.