byucc.jhdl.DRC.Rules
Class IOBufs

java.lang.Object
  extended bybyucc.jhdl.DRC.DesignRule
      extended bybyucc.jhdl.DRC.Rules.IOBufs
All Implemented Interfaces:
DesignRuleConstants
Direct Known Subclasses:
IOBufsVirtex, IOBufsXC4000

public abstract class IOBufs
extends DesignRule

This class implements a DesignRule. It checks all iobufs (and their variants) to make sure that they are driven only by iopads or nothing at all.

Author:
Anthony L. Slade

Field Summary
 
Fields inherited from class byucc.jhdl.DRC.DesignRule
cellList, checker, checkOk, description, enabled, failureReport, name, oneLineDescription, violatingCells
 
Fields inherited from interface byucc.jhdl.DRC.DesignRuleConstants
MSGHEADER_ERROR, MSGHEADER_NOTICE, MSGHEADER_STATUS, MSGHEADER_WARNING, MSGTYPE_ERR_ALL, MSGTYPE_ERR_EXPERTWARN, MSGTYPE_ERR_NOEXPERT, MSGTYPE_ERROR_BITS, MSGTYPE_MUTE, MSGTYPE_NOTICE, MSGTYPE_NOTICE_BITS, MSGTYPE_NOTICE_NOEXPERT, MSGTYPE_STATUS, MSGTYPE_STATUS_BITS, MSGTYPE_STATUS_NOEXPERT, MSGTYPE_WARN_ALL, MSGTYPE_WARN_NOEXPERT, MSGTYPE_WARNING_BITS, SHOW_NUM_RULES_CHECKED_EVERY
 
Constructor Summary
IOBufs()
           
 
Method Summary
 boolean doCheck()
          Initiates the design rule check on topCell.
abstract  boolean isIOBuf(Cell cl)
          Returns true if cl is an instance of a platform-specific iobuf-type cell.
protected  boolean isIOPad(Cell sourceCell)
           
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
 

Constructor Detail

IOBufs

public IOBufs()
Method Detail

doCheck

public boolean doCheck()
Initiates the design rule check on topCell. The design rules for IOBufs are checked by this method.

Specified by:
doCheck in class DesignRule
Returns:
true if the design rules for IOBufs are kept, otherwise false.

sortCell

protected void sortCell(Cell cl)
Sorts Cells according to type. ibufs and obufs and iobufs go into respective lists. This method overrides sortCell of the superclass because Virtex has iobufs and XC4000 doesn't.

Specified by:
sortCell in class DesignRule
Parameters:
cl - Cell to be sorted

isIOBuf

public abstract boolean isIOBuf(Cell cl)
Returns true if cl is an instance of a platform-specific iobuf-type cell.

Parameters:
cl - Cell to check its class to see if is an iobuf type
Returns:
true if cl is an iobuf-type cell, otherwise false

isIOPad

protected boolean isIOPad(Cell sourceCell)


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.