|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EdifBusNetNamingPolicy
Defines an interface for different naming policies for individual nets within a bus. Since EDIF does not have a standard for naming individual wires of a bus, different tools implement such naming in an ad-hoc way. This interface defines a set of methods required for implementing a "policy" for naming individual nets that are part of a bus. Any class that implements this interface will be able to identify nets that are part of a bus and identify their bit position within the bus.
| Method Summary | |
|---|---|
java.lang.String |
generateBitSuffix(int bitNum)
Given a bit number, create a bit suffix that matches the naming policy |
java.lang.String |
getBusBaseName(java.lang.String name)
Return the basename of the single bit net without the bit number. |
int |
getBusPosition(java.lang.String name)
Returns the bit position of the Net within the bus. |
java.lang.String |
getRegexString()
Get the regular expression string used to parse bus net names for this policy |
boolean |
isValidBusNetName(java.lang.String name)
Returns true if the given name is valid under the given naming policy. |
| Method Detail |
|---|
boolean isValidBusNetName(java.lang.String name)
java.lang.String generateBitSuffix(int bitNum)
bitPos - bit positionint getBusPosition(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 | ||||||||