Class/Object

chisel3.util

Valid

Related Docs: object Valid | package util

Permalink

class Valid[+T <: Data] extends Bundle

A Bundle that adds a valid bit to some data. This indicates that the user expects a "valid" interface between a producer and a consumer. Here, the producer asserts the valid bit when data on the bits line contains valid data. This differs from DecoupledIO or IrrevocableIO as there is no ready line that the consumer can use to put back pressure on the producer.

In most scenarios, the Valid class will not be used directly. Instead, users will create Valid interfaces using the Valid factory.

T

the type of the data

Source
Valid.scala
See also

Valid factory for concrete examples

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Valid
  2. Bundle
  3. Record
  4. Aggregate
  5. Data
  6. SourceInfoDoc
  7. NamedComponent
  8. HasId
  9. InstanceId
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Valid(gen: T)

    Permalink

    gen

    some data

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 :=(that: ⇒ Data)(implicit sourceInfo: SourceInfo, connectionCompileOptions: CompileOptions): Unit

    Permalink
    Definition Classes
    Data
  4. final def <>(that: ⇒ Data)(implicit sourceInfo: SourceInfo, connectionCompileOptions: CompileOptions): Unit

    Permalink
    Definition Classes
    Data
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def _cloneTypeImpl: Bundle

    Permalink
    Attributes
    protected
    Definition Classes
    Bundle
  7. def _usingPlugin: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Bundle
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. macro def asTypeOf[T <: Data](that: T): T

    Permalink
    Definition Classes
    Data
  10. final macro def asUInt(): UInt

    Permalink
    Definition Classes
    Data
  11. def autoSeed(name: String): Valid.this.type

    Permalink
    Definition Classes
    Data → HasId
  12. def binding: Option[Binding]

    Permalink
    Attributes
    protected[chisel3]
    Definition Classes
    Data
  13. def bindingToString: String

    Permalink
    Attributes
    protected
    Definition Classes
    Data
  14. def binding_=(target: Binding): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Data
  15. val bits: T

    Permalink

    Some data

  16. def circuitName: String

    Permalink
    Attributes
    protected
    Definition Classes
    HasId
  17. def className: String

    Permalink
    Definition Classes
    Bundle → Record
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  19. def cloneType: Valid.this.type

    Permalink
    Definition Classes
    Valid → Bundle → Data
  20. def computeName(defaultPrefix: Option[String], defaultSeed: Option[String]): Option[String]

    Permalink
    Definition Classes
    HasId
  21. def do_asTypeOf[T <: Data](that: T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): T

    Permalink
    Definition Classes
    Data
  22. def do_asUInt(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt

    Permalink
    Definition Classes
    Aggregate → Data
  23. final lazy val elements: ListMap[String, Data]

    Permalink
    Definition Classes
    Bundle → Record
  24. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    HasId → AnyRef → Any
  26. def fire(dummy: Int = 0): Bool

    Permalink

    True when valid is asserted

    True when valid is asserted

    returns

    a Chisel Bool true if valid is asserted

  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  28. def getElements: Seq[Data]

    Permalink
    Definition Classes
    Record → Aggregate
  29. final def getWidth: Int

    Permalink
    Definition Classes
    Data
  30. def hasSeed: Boolean

    Permalink
    Definition Classes
    HasId
  31. def hashCode(): Int

    Permalink
    Definition Classes
    HasId → AnyRef → Any
  32. def ignoreSeq: Boolean

    Permalink
    Definition Classes
    Bundle
  33. def instanceName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. def isLit(): Boolean

    Permalink
    Definition Classes
    Data
  36. final def isWidthKnown: Boolean

    Permalink
    Definition Classes
    Data
  37. def litOption(): Option[BigInt]

    Permalink
    Definition Classes
    Aggregate → Data
  38. def litValue(): BigInt

    Permalink
    Definition Classes
    Data
  39. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  42. def parentModName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  43. def parentPathName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  44. def pathName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  45. def suggestName(seed: ⇒ String): Valid.this.type

    Permalink
    Definition Classes
    HasId
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. final def toAbsoluteTarget: ReferenceTarget

    Permalink
    Definition Classes
    NamedComponent → InstanceId
  48. final def toNamed: ComponentName

    Permalink
    Definition Classes
    NamedComponent → InstanceId
  49. def toPrintable: Printable

    Permalink
    Definition Classes
    Bundle → Record → Data
  50. def toString(): String

    Permalink
    Definition Classes
    Record → AnyRef → Any
  51. final def toTarget: ReferenceTarget

    Permalink
    Definition Classes
    NamedComponent → InstanceId
  52. val valid: Bool

    Permalink

    A bit that will be asserted when bits is valid

  53. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def widthOption: Option[Int]

    Permalink
    Definition Classes
    Data

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def litArg(): Option[LitArg]

    Permalink
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version 3.2) litArg is deprecated, use litOption or litTo*Option

Inherited from Bundle

Inherited from Record

Inherited from Aggregate

Inherited from Data

Inherited from SourceInfoDoc

Inherited from NamedComponent

Inherited from HasId

Inherited from internal.InstanceId

Inherited from AnyRef

Inherited from Any

Ungrouped