object PerfCounter
- Alphabetic
- By Inheritance
- PerfCounter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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.
- 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.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])