Class IndexOutOfBoundStructure


  • public class IndexOutOfBoundStructure
    extends java.lang.Object
    This class is used by VerilogTransformerVariableSubstitute save information about indexes which is out of bound in Verilog bit vector.
    • Constructor Summary

      Constructors 
      Constructor Description
      IndexOutOfBoundStructure​(int index, ru.ispras.fortress.expression.Node vector, int upperBound, int lowerBound)
      All arg constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Method returns is this object equal to another object.
      java.lang.String toString()
      Returns error message with description which index is out of bound.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IndexOutOfBoundStructure

        public IndexOutOfBoundStructure​(int index,
                                        ru.ispras.fortress.expression.Node vector,
                                        int upperBound,
                                        int lowerBound)
        All arg constructor.
        Parameters:
        index - index value that is out of bound
        vector - Verilog bit vector used to identify the name
        upperBound - upper bound of the bit vector
        lowerBound - lower bound of the bit vector
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Method returns is this object equal to another object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - object that will be checked
        Returns:
        true if object is equal false if not
      • toString

        public java.lang.String toString()
        Returns error message with description which index is out of bound.
        Overrides:
        toString in class java.lang.Object
        Returns:
        error message