Class

firrtl.fuzzer

DoPrimGen

Related Doc: package fuzzer

Permalink

abstract class DoPrimGen extends ExprGen[DoPrim]

An Expression Generator that generates DoPrims of the given operator

Source
ExprGen.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DoPrimGen
  2. ExprGen
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DoPrimGen(primOp: PrimOp)

    Permalink

Type Members

  1. type Width = BigInt

    Permalink
    Definition Classes
    ExprGen

Abstract Value Members

  1. abstract def boolSIntGen[S, G[_]](implicit arg0: ExprState[S], arg1: GenMonad[G]): Option[StateGen[S, G, DoPrim]]

    Permalink

    A StateGen that produces a one width SInt Expression

    A StateGen that produces a one width SInt Expression

    Definition Classes
    ExprGen
  2. abstract def boolUIntGen[S, G[_]](implicit arg0: ExprState[S], arg1: GenMonad[G]): Option[StateGen[S, G, DoPrim]]

    Permalink

    A StateGen that produces a one width UInt Expression

    A StateGen that produces a one width UInt Expression

    Definition Classes
    ExprGen
  3. abstract def sintGen[S, G[_]](implicit arg0: ExprState[S], arg1: GenMonad[G]): Option[(Width) ⇒ StateGen[S, G, DoPrim]]

    Permalink

    Takes a width and returns a StateGen that produces a SInt Expression with the given width

    Takes a width and returns a StateGen that produces a SInt Expression with the given width

    The input width will be greater than 1 and less than or equal to the maximum width allowed by the input state

    Definition Classes
    ExprGen
  4. abstract def uintGen[S, G[_]](implicit arg0: ExprState[S], arg1: GenMonad[G]): Option[(Width) ⇒ StateGen[S, G, DoPrim]]

    Permalink

    Takes a width and returns a StateGen that produces a UInt Expression with the given width

    Takes a width and returns a StateGen that produces a UInt Expression with the given width

    The input width will be greater than 1 and less than or equal to the maximum width allowed specified by the input state

    Definition Classes
    ExprGen

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def name: String

    Permalink

    The name of this generator, used for logging

    The name of this generator, used for logging

    Definition Classes
    DoPrimGenExprGen
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. val primOp: PrimOp

    Permalink
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def withTrace: ExprGen[DoPrim]

    Permalink

    Returns a copy of this ExprGen that throws better exceptions

    Returns a copy of this ExprGen that throws better exceptions

    Wraps this ExprGen's functions with a try-catch that will wrap exceptions and record the name of this generator in an ExprGen.TraceException.

    Definition Classes
    ExprGen

Inherited from ExprGen[DoPrim]

Inherited from AnyRef

Inherited from Any

Ungrouped