o

midas.targetutils

PerfCounter

object PerfCounter

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PerfCounter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(target: UInt, label: String, description: String): Unit

    A simplified variation of the full apply method above that uses the implicit clock and reset.

  5. def apply(target: UInt, clock: Clock, reset: Reset, label: String, description: String, opType: PerfCounterOpType = PerfCounterOps.Accumulate): Unit

    Labels a signal as an event for which an host-side counter (an "AutoCounter") should be generated).

    Labels a signal as an event for which an host-side counter (an "AutoCounter") should be generated). Events can be multi-bit to encode multiple occurances in a cycle (e.g., the number of instructions retired in a superscalar processor). NB: Golden Gate will not generate the coutner unless AutoCounter is enabled in your the platform config. See the docs.fires.im for end-to-end usage information.

    target

    The number of occurances of the event (in the current cycle)

    clock

    The clock to which this event is sychronized.

    reset

    If the event is asserted while under the provide reset, it is not counted. TODO: This should be made optional.

    label

    A verilog-friendly identifier for the event signal

    description

    A human-friendly description of the event.

    opType

    Defines how the bridge should be aggregated into a performance counter.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def identity(target: UInt, label: String, description: String): Unit

    Passes the annotated UInt through to the driver without accumulation.

    Passes the annotated UInt through to the driver without accumulation. Use cases:

    • Custom accumulation / counting logic not supported by the driver
    • Providing runtime metadata along side standard accumulation registers

    Note: Under reset, the passthrough value is set to 0. This keeps event handling uniform in the transform.

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped