|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.DRC.DesignRule
byucc.jhdl.DRC.Rules.IBufsAndOBufs
This class implements a DesignRule for the Xilinx libraries. It checks all ibufs (and their variants) to make sure that they are driven only by ipads or nothing at all. It also checks all obufs to make sure that they drive only opads or nothing at all.
Field Summary | |
protected CellList |
ibufList
Will hold a list of cells of the ibuf type |
protected CellList |
obufList
Will hold a list of cells of the obuf type |
protected Cell |
topCell
The top-level Cell being checked |
Fields inherited from class byucc.jhdl.DRC.DesignRule |
cellList, checker, checkOk, description, enabled, failureReport, name, oneLineDescription, violatingCells |
Constructor Summary | |
IBufsAndOBufs()
|
Method Summary | |
protected boolean |
checkPadCell(Cell cl)
|
protected boolean |
doCheck()
Initiates the design rule check on topCell. |
protected abstract boolean |
isIBuf(Cell cl)
Returns true if cl is an instance of an ibuf-type cell. |
protected abstract boolean |
isIOPad(Cell cell)
|
protected abstract boolean |
isIPad_sim(Cell cell)
|
protected abstract boolean |
isIPad(Cell cell)
|
protected abstract boolean |
isOBuf(Cell cl)
Returns true if cl is an instance of an obuf-type cell. |
protected abstract boolean |
isOPad_sim(Cell cell)
|
protected abstract boolean |
isOPad(Cell cell)
|
protected void |
sortCell(Cell cl)
Sorts Cells according to type. |
Methods inherited from class byucc.jhdl.DRC.DesignRule |
addToCellList, addToCellList, addViolatingCell, checkOk, displayMsgHeader, getDescription, getDesignRuleChecker, getName, getOneLineDescription, getReport, getViolatingCells, msg, msg, msg, msg, msgln, msgln, registerViolation, resetState, setCurrentMsgType, setDesignRuleCheckerReference, setName, setReport, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected CellList obufList
protected CellList ibufList
protected Cell topCell
Constructor Detail |
public IBufsAndOBufs()
Method Detail |
protected boolean doCheck()
doCheck
in class DesignRule
protected void sortCell(Cell cl)
sortCell
in class DesignRule
cl
- Cell to be sortedprotected abstract boolean isOBuf(Cell cl)
cl
- Cell to check its class to see if is an obuf type
protected abstract boolean isIBuf(Cell cl)
cl
- Cell to check its class to see if is an ibuf type
protected abstract boolean isOPad(Cell cell)
protected abstract boolean isOPad_sim(Cell cell)
protected abstract boolean isIOPad(Cell cell)
protected abstract boolean isIPad(Cell cell)
protected abstract boolean isIPad_sim(Cell cell)
protected boolean checkPadCell(Cell cl)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |