Trait/Object

firrtl.fuzzer

ExprGen

Related Docs: object ExprGen | package fuzzer

Permalink

trait ExprGen[E <: Expression] extends AnyRef

A generator that generates expressions of a certain type for a given IR type

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

Type Members

  1. type Width = BigInt

    Permalink

Abstract Value Members

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

    Permalink

    A StateGen that produces a one width SInt Expression

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

    Permalink

    A StateGen that produces a one width UInt Expression

  3. abstract def name: String

    Permalink

    The name of this generator, used for logging

  4. abstract def sintGen[S, G[_]](implicit arg0: ExprState[S], arg1: GenMonad[G]): Option[(Width) ⇒ StateGen[S, G, E]]

    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

  5. abstract def uintGen[S, G[_]](implicit arg0: ExprState[S], arg1: GenMonad[G]): Option[(Width) ⇒ StateGen[S, G, E]]

    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

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. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

    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.

Inherited from AnyRef

Inherited from Any

Ungrouped