Bus Range Syntax Errors

Now reading version 20.2. For the latest, read: Bus Range Syntax Errors for version 21
Applies to Altium Designer versions: 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2
 

Parent category: Violations Associated with Buses

Default report mode:

Summary

This violation occurs when the syntax of the net to which the bus is associated is specified incorrectly.

Notification

If compiler errors and warnings are enabled for display on the schematic (enabled on the Schematic - Compiler page of the Preferences dialog), an offending object will display a colored squiggle beneath it. Hovering over the object will display a pop-up hint that summarizes the violation. A notification is also displayed in the Messages panel in the following format:

Bus range syntax error <NetName> at <Location>

where:

  • NetName is the name of the parent net to which the offending bus object is associated.
  • Location is the X, Y coordinates for the offending bus object's electrical hotspot.

Recommendation for Resolution

With the violation selected in the Messages panel, use the Details region of the panel to quickly cross probe to the offending net identifier (e.g., net label, port, sheet entry, etc) whose bus syntax is defined incorrectly. The correct syntax should appear in one of the following formats:

  • NetName[LowerIndex..UpperIndex]
  • NetName[UpperIndex..LowerIndex]

For example, consider a bus that carries two constituent nets, A0 and A1. The bus syntax in this case should be A[0..1] or A[1..0]. Examples of incorrect syntax would include: A[0.1], A[1-0], A[0,1], A[..1], and A[0..].

Tip

  • Object hints will only appear provided the Enable Connectivity Insight option is enabled on the System - Design Insight page of the Preferences dialog. Use the controls associated with the Object Hints entry in the Connectivity Insight Options region of the page to determine the launch style for such hints (Mouse Hover and/or Alt+Double Click). 
Note

The features available depend on your level of Altium Designer Software Subscription.

Content