class
Valid[+T <: Data] extends Bundle
Instance Constructors
-
new
Valid(gen: T)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
:=(that: ⇒ Data)(implicit sourceInfo: SourceInfo, connectionCompileOptions: CompileOptions): Unit
-
final
def
<>(that: ⇒ Data)(implicit sourceInfo: SourceInfo, connectionCompileOptions: CompileOptions): Unit
-
final
def
==(arg0: Any): Boolean
-
def
_cloneTypeImpl: Bundle
-
def
_usingPlugin: Boolean
-
final
def
asInstanceOf[T0]: T0
-
macro
def
asTypeOf[T <: Data](that: T): T
-
final macro
def
asUInt(): UInt
-
def
autoSeed(name: String): Valid.this.type
-
-
def
bindingToString: String
-
def
binding_=(target: Binding): Unit
-
val
bits: T
-
def
circuitName: String
-
def
className: String
-
def
clone(): AnyRef
-
def
cloneType: Valid.this.type
-
def
computeName(defaultPrefix: Option[String], defaultSeed: Option[String]): Option[String]
-
def
do_asTypeOf[T <: Data](that: T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): T
-
-
final
lazy val
elements: ListMap[String, Data]
-
-
-
def
fire(dummy: Int = 0): Bool
-
final
def
getClass(): Class[_]
-
def
getElements: Seq[Data]
-
final
def
getWidth: Int
-
-
def
hashCode(): Int
-
def
ignoreSeq: Boolean
-
def
instanceName: String
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
isWidthKnown: Boolean
-
def
litOption(): Option[BigInt]
-
def
litValue(): BigInt
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
parentModName: String
-
def
parentPathName: String
-
def
pathName: String
-
def
suggestName(seed: ⇒ String): Valid.this.type
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
-
-
def
toString(): String
-
-
val
valid: Bool
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
wait(): Unit
-
final
def
widthOption: Option[Int]
Deprecated Value Members
-
def
finalize(): Unit
-
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 thevalid
bit when data on thebits
line contains valid data. This differs from DecoupledIO or IrrevocableIO as there is noready
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 createValid
interfaces using the Valid factory.the type of the data
Valid factory for concrete examples