Timing Diagram Editing and Analysis

3.5 Converting Between Bus and Signal Types

3.5 Converting Between Bus and Signal Types

Previous topic Next topic  

3.5 Converting Between Bus and Signal Types

Previous topic Next topic  

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:

Select a bus name, then right-click and choose Group Bus <-> Virtual Bus from the context menu, OR choose the Bus > Group Bus <-> Virtual Bus from the main menu.

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).

To operate on the whole diagram, make sure no signal names are selected. To operate on a portion of the diagram, select all the signals that you want to search through.

Select the Bus > Convert signals to buses menu option. to convert all the same name signals.

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.