For a Bus
A bus name must have the form basename[m..n] where m..n specifies a range of decimal integers representing the signal numbers of bus members. There are (n - m + 1) wires in the bus. You can use two periods (..), a colon (:), or a dash (-) between m and n.
Examples:
ADDR[0..31] |
(32 members) |
DATA[16:31] |
(16 members) |
CONTROL[4-1] |
(4 members) |
A[100..190] |
(91 members) |
Do not add any space between the basename and the left bracket ([), because this can cause problems during the netlist operations.
Also, note that you should not end a bus name with a numeric character (0-9), because this can cause problems during the netlist operations. However, numeric characters can occur at other places in the bus name, however. For example, BUS2A will work, but BUSA2 could cause problems when you generate the netlist.
For a Bus Member
The name of a bus member must have the form basename N where N is the bus member's signal number in the bus. The signal can have additional aliases, but it must have this name to be connected to the bus. Also, bus members cannot have a preceding zero in their name. For example, A0 is a legal name for a bus member, but A00 is not.