|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EdifBusNamingPolicy
Defines an interface for different naming policies for multi-bit bus names. These names are used for ports as ports are the only object that support multiple bits. This interface defines a set of methods required for implementing a "policy" for naming buses.
| Method Summary | |
|---|---|
java.lang.String |
getBusBaseName(java.lang.String name)
Return the basename of the bus name without all of the bus range information. |
java.lang.String |
getBusRangeSpecifier(java.lang.String name)
Return the portion of the bus string that specifies the range of the bus. |
int |
getLeftBusLimit(java.lang.String name)
Returns the integer value of the "left" bus limit within the bus string name (i.e. |
java.lang.String |
getRegexString()
Get the regular expression string used to parse bus names for this policy |
int |
getRightBusLimit(java.lang.String name)
Returns the integer value of the "right" bus limit within the bus string name (i.e. |
boolean |
isLittleEndian(java.lang.String name)
Determine the bit ordering of the given EDIF bus name. |
boolean |
isValidBusName(java.lang.String name)
Indicates whether the given String is a valid Bus name using the implemented bus naming policy. |
| Method Detail |
|---|
boolean isValidBusName(java.lang.String name)
int getLeftBusLimit(java.lang.String name)
int getRightBusLimit(java.lang.String name)
boolean isLittleEndian(java.lang.String name)
java.lang.String getBusRangeSpecifier(java.lang.String name)
java.lang.String getBusBaseName(java.lang.String name)
java.lang.String getRegexString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||