byucc.jhdl.DRC
Class DesignRuleViolation

java.lang.Object
  extended bybyucc.jhdl.DRC.DesignRuleViolation

public class DesignRuleViolation
extends java.lang.Object

The Design Rule Violation class contains all the information relating to a failed check against a Design Rule.


Field Summary
static int ERROR
           
static int WARNING
           
 
Constructor Summary
DesignRuleViolation(int drcvId)
           
DesignRuleViolation(int drcvId, DesignRule violatedRule)
           
DesignRuleViolation(int drcvId, DesignRule violatedRule, Cell vCell)
           
DesignRuleViolation(int drcvId, DesignRule violatedRule, Cell vCell, int severityLevel)
           
DesignRuleViolation(int drcvId, DesignRule violatedRule, int severityLevel)
           
DesignRuleViolation(int drcvId, DesignRule violatedRule, java.util.Vector vCells)
           
DesignRuleViolation(int drcvId, DesignRule violatedRule, java.util.Vector vCells, int severityLevel)
           
 
Method Summary
 int getDrcvId()
          Returns the ID number for this DesignRuleCheckerViolation object
 int getSeverity()
           
 int getSeverityLevel()
           
 DesignRule getViolatedRule()
           
 int getViolationSeverity()
           
 int getViolationSeverityLevel()
           
 void registerCells(DesignRuleChecker drc)
          Registers all cells that are involved in this violation with the DRC.
 void setSeverity(int violationSeverity)
           
 void setSeverityLevel(int violationSeverity)
           
 void setViolationSeverity(int violationSeverity)
           
 void setViolationSeverityLevel(int violationSeverity)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WARNING

public static final int WARNING
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values
Constructor Detail

DesignRuleViolation

public DesignRuleViolation(int drcvId,
                           DesignRule violatedRule,
                           Cell vCell,
                           int severityLevel)
Parameters:
drcvId - The ID number for this Design Rule Violation object.
violatedRule - The Design Rule that was violated.
vCell - The cell that caused the violation.
severityLevel - The violation severity.

DesignRuleViolation

public DesignRuleViolation(int drcvId,
                           DesignRule violatedRule,
                           Cell vCell)
Parameters:
drcvId - The ID number for this Design Rule Violation object.
violatedRule - The Design Rule that was violated.
vCell - The cell that caused the violation.

DesignRuleViolation

public DesignRuleViolation(int drcvId,
                           DesignRule violatedRule,
                           java.util.Vector vCells)
Parameters:
drcvId - The ID number for this Design Rule Violation object.
violatedRule - The Design Rule that was violated.

DesignRuleViolation

public DesignRuleViolation(int drcvId,
                           DesignRule violatedRule,
                           java.util.Vector vCells,
                           int severityLevel)
Parameters:
drcvId - The ID number for this Design Rule Violation object.
violatedRule - The Design Rule that was violated.
severityLevel - The violation severity.

DesignRuleViolation

public DesignRuleViolation(int drcvId,
                           DesignRule violatedRule)
Parameters:
drcvId - The ID number for this Design Rule Violation object.
violatedRule - The Design Rule that was violated.

DesignRuleViolation

public DesignRuleViolation(int drcvId,
                           DesignRule violatedRule,
                           int severityLevel)
Parameters:
drcvId - The ID number for this Design Rule Violation object.
violatedRule - The Design Rule that was violated.
severityLevel - The violation severity.

DesignRuleViolation

public DesignRuleViolation(int drcvId)
Parameters:
drcvId - The ID number for this Design Rule Violation object.
Method Detail

getDrcvId

public int getDrcvId()
Returns the ID number for this DesignRuleCheckerViolation object

Returns:
the ID number for this DesignRuleCheckerViolation object

registerCells

public void registerCells(DesignRuleChecker drc)
Registers all cells that are involved in this violation with the DRC.

Parameters:
drc - The DRC

getViolatedRule

public DesignRule getViolatedRule()
Returns:
The violated rule.

toString

public java.lang.String toString()
Returns:
The String description of this violation.

getViolationSeverity

public int getViolationSeverity()

getViolationSeverityLevel

public int getViolationSeverityLevel()

getSeverityLevel

public int getSeverityLevel()

getSeverity

public int getSeverity()

setViolationSeverity

public void setViolationSeverity(int violationSeverity)

setViolationSeverityLevel

public void setViolationSeverityLevel(int violationSeverity)

setSeverityLevel

public void setSeverityLevel(int violationSeverity)

setSeverity

public void setSeverity(int violationSeverity)


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