Mismatched Bus or Wire Object on Wire or Bus
This compiler hint appears when a wire object is incorrectly connected to a bus, or a bus object is incorrectly connected to a wire. For example a sheet entry, A
, might be connected to a bus, but the correct bus label syntax (e.g. A[0..1]
) has not been entered for the sheet entry's name. In effect, the sheet entry is a single signal (or wire) object that is now erroneously connected to a bus. The message is displayed in the Messages panel in the following format:
ObjectIdentifier at
Location placed on an
ObjectType,
where
ObjectIdentifier represents the mismatched object, which can be either a bus or wire object (e.g. pin, port, power port, sheet entry, net label, off-sheet connector). The identifier will appear in one of the following two formats:
- for a bus -
Bus
Object Name (e.g. Bus Net Label GND_BUS[..]) - for a wire -
Wire
Object Name (e.g. Wire Port TXD)
Location is the X,Y coordinates for the object's electrical hotspot
ObjectType is the object on which the offending object has been placed - either a wire or a bus.
Default Report Mode
Error
Recommendation
Use the Compile Errors dialog to quickly cross probe to the offending object. To resolve the issue, consider the following:
- Is the connection correct - i.e. should a bus connecting to the object really be a wire and vice-versa.
- Is the object defined correctly. For a bus object, ensure that the object's name is specified using the correct bus syntax - in the form
Name[LowIndex..HighIndex]
orName[HighIndex..LowIndex]
. For example a byte-wide data output port might be specified asDAT_OUT[7..0]
. For a wire object, ensure that the object's name defines a single signal and is not defined using bus syntax.