com.sun.electric.tool.simulation

Class BusSample<S extends Sample>

    • Constructor Detail

      • BusSample

        public BusSample(Sample[] vals)
    • Method Detail

      • getWidth

        public int getWidth()
      • getTrace

        public S getTrace(int i)
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isLogicX

        public boolean isLogicX()
        Description copied from interface: Sample
        returns true iff this sample is "X" (unknown)
        Specified by:
        isLogicX in interface Sample
      • isLogicZ

        public boolean isLogicZ()
        Description copied from interface: Sample
        returns true iff this sample is "Z" (unconnected)
        Specified by:
        isLogicZ in interface Sample
      • lub

        public Sample lub(Sample s)
        Description copied from interface: Sample
        Return the least upper bound of this and s. This is sort of like max(this,s) except that the result might be greater than either s or this if the class in question is a partial order rather than a linear order.
        Specified by:
        lub in interface Sample
      • glb

        public Sample glb(Sample s)
        Description copied from interface: Sample
        Return the greatest lower bound of this and s. This is sort of like min(this,s) except that the result might be less than either s or this if the class in question is a partial order rather than a linear order.
        Specified by:
        glb in interface Sample
      • getMinValue

        public double getMinValue()
        Specified by:
        getMinValue in interface Sample
      • getMaxValue

        public double getMaxValue()
        Specified by:
        getMaxValue in interface Sample
      • createSignal

        public static <SS extends SampleSignal<BusSample<SS>> createSignal(SignalCollection sc,
                                                             Stimuli sd,
                                                             java.lang.String signalName,
                                                             java.lang.String signalContext,
                                                             int width)
        create a MutableSignal>
      • createSignal

        public static <SS extends SampleSignal<BusSample<SS>> createSignal(SignalCollection sc,
                                                             Stimuli sd,
                                                             java.lang.String signalName,
                                                             java.lang.String signalContext,
                                                             boolean digital,
                                                             Signal<SS>[] subsignals)
        create a Signal> from preexisting Signal's