Class

spinal.lib.io

TriStateOutput

Related Doc: package io

Permalink

case class TriStateOutput[T <: Data](dataType: HardType[T]) extends Bundle with IMasterSlave with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TriStateOutput
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. IMasterSlave
  7. Bundle
  8. OverridedEqualsHashCode
  9. MultiData
  10. Data
  11. SpinalTagReady
  12. Assignable
  13. NameableByComponent
  14. Nameable
  15. OwnableRef
  16. ContextUser
  17. ScalaLocated
  18. GlobalDataUser
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TriStateOutput(dataType: HardType[T])

    Permalink

Type Members

  1. abstract type RefOwnerType

    Permalink
    Definition Classes
    OwnableRef

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. def ##(right: Data): Bits

    Permalink

    Concatenation between two data

    Concatenation between two data

    Definition Classes
    Data
  3. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  5. var _spinalTags: Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  6. def addAttribute(attribute: Attribute): TriStateOutput.this.type

    Permalink
    Definition Classes
    DataSpinalTagReady
  7. def addAttribute(name: String, value: String): TriStateOutput.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  8. def addAttribute(name: String): TriStateOutput.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  9. def addTag[T <: SpinalTag](spinalTag: T): TriStateOutput.this.type

    Permalink
    Definition Classes
    MultiDataSpinalTagReady
  10. def addTags[T <: SpinalTag](tags: Iterable[T]): TriStateOutput.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  11. def allowDirectionLessIo: TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  12. def allowOverride: TriStateOutput.this.type

    Permalink

    Allow a data to be overrided

    Allow a data to be overrided

    Definition Classes
    Data
  13. def allowPruning(): TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  14. def allowSimplifyIt(): TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  15. def allowUnsetRegToAvoidLatch: TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  16. def asBits: Bits

    Permalink

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    MultiDataData
  17. def asData: Data

    Permalink
    Definition Classes
    Data
  18. def asInOut(): TriStateOutput.this.type

    Permalink

    set a data as inout

    set a data as inout

    Definition Classes
    MultiDataData
  19. def asInput(): TriStateOutput.this.type

    Permalink

    Set a data as input

    Set a data as input

    Definition Classes
    MultiDataData
  20. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  21. def asMaster(): Unit

    Permalink
    Definition Classes
    TriStateOutputIMasterSlave
  22. def asOutput(): TriStateOutput.this.type

    Permalink

    Set a data as output

    Set a data as output

    Definition Classes
    MultiDataData
  23. def asSlave(): Unit

    Permalink
    Definition Classes
    IMasterSlave
  24. def assignAllByName(that: Bundle): Unit

    Permalink

    Assign the bundle with an other bundle by name

    Assign the bundle with an other bundle by name

    Definition Classes
    Bundle
  25. def assignDontCare(): TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  26. final def assignFrom(that: AnyRef, target: AnyRef = this): Unit

    Permalink
    Definition Classes
    Data
  27. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit

    Permalink
    Definition Classes
    MultiDataData
  28. def assignFromBits(bits: Bits): Unit

    Permalink
    Definition Classes
    MultiDataData
  29. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit

    Permalink
    Definition Classes
    Data
  30. def assignSomeByName(that: Bundle): Unit

    Permalink

    Assign all possible signal fo the bundle with an other bundle by name

    Assign all possible signal fo the bundle with an other bundle by name

    Definition Classes
    Bundle
  31. def clone(): Bundle

    Permalink
    Definition Classes
    BundleData → AnyRef
  32. var cloneFunc: () ⇒ AnyRef

    Permalink
    Definition Classes
    Bundle
  33. def component: Component

    Permalink
    Definition Classes
    ContextUser
  34. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef): Unit

    Permalink
    Definition Classes
    Assignable
  35. var compositeAssign: Assignable

    Permalink
    Definition Classes
    Assignable
  36. val dataType: HardType[T]

    Permalink
  37. def dirString(): String

    Permalink
    Definition Classes
    Data
  38. def dontSimplifyIt(): TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  39. def elements: ArrayBuffer[(String, Data)]

    Permalink

    Return all element of the bundle

    Return all element of the bundle

    Definition Classes
    BundleMultiData
  40. def elementsString: String

    Permalink
    Definition Classes
    MultiData
  41. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  43. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  44. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  45. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  46. def find(name: String): Data

    Permalink
    Definition Classes
    MultiData
  47. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  48. def flatten: Seq[BaseType]

    Permalink
    Definition Classes
    MultiDataData
  49. def flattenForeach(body: (BaseType) ⇒ Unit): Unit

    Permalink
    Definition Classes
    MultiDataData
  50. def flattenLocalName: Seq[String]

    Permalink
    Definition Classes
    MultiDataData
  51. def flip(): TriStateOutput.this.type

    Permalink

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    MultiDataData
  52. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Nameable
  53. def genIf(cond: Boolean): TriStateOutput.this.type

    Permalink

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
  54. def getBitsWidth: Int

    Permalink

    Return the width of the data

    Return the width of the data

    Definition Classes
    MultiDataData
  55. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  56. def getComponent(): Component

    Permalink
    Definition Classes
    DataNameableByComponent
  57. def getComponents(): Seq[Component]

    Permalink

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    Data
  58. def getDisplayName(): String

    Permalink
    Definition Classes
    Nameable
  59. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  60. def getMode: Byte

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  61. def getName(default: String): String

    Permalink
    Definition Classes
    NameableByComponentNameable
  62. def getName(): String

    Permalink
    Definition Classes
    Nameable
  63. def getRealSource: Any

    Permalink
    Definition Classes
    Assignable
  64. def getRealSourceNoRec: Any

    Permalink
    Definition Classes
    DataAssignable
  65. def getRefOwnersChain(): List[Any]

    Permalink
    Definition Classes
    OwnableRef
  66. def getRootParent: Data

    Permalink
    Definition Classes
    Data
  67. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  68. def getScalaLocationShort: String

    Permalink
    Definition Classes
    ScalaLocated
  69. def getScalaTrace(): Throwable

    Permalink
    Definition Classes
    ScalaLocated
  70. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]

    Permalink
    Definition Classes
    SpinalTagReady
  71. def getTags(): Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  72. def getTypeString: String

    Permalink
    Definition Classes
    Bundle
  73. def getZero: TriStateOutput.this.type

    Permalink

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    MultiDataData
  74. val globalData: GlobalData

    Permalink
    Definition Classes
    GlobalDataUser
  75. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  76. def hasTag(spinalTag: SpinalTag): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  77. def hashCode(): Int

    Permalink
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  78. final def initFrom(that: AnyRef, target: AnyRef = this): Unit

    Permalink
    Definition Classes
    Data
  79. def instanceAttributes(language: Language): Iterable[Attribute]

    Permalink
    Definition Classes
    SpinalTagReady
  80. def instanceAttributes: Iterable[Attribute]

    Permalink
    Definition Classes
    SpinalTagReady
  81. def isAnalog: Boolean

    Permalink
    Definition Classes
    Data
  82. def isComb: Boolean

    Permalink
    Definition Classes
    Data
  83. def isDirectionLess: Boolean

    Permalink
    Definition Classes
    Data
  84. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  85. def isInOut: Boolean

    Permalink
    Definition Classes
    Data
  86. def isInput: Boolean

    Permalink
    Definition Classes
    Data
  87. def isInputOrInOut: Boolean

    Permalink
    Definition Classes
    Data
  88. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  89. var isMasterInterface: Boolean

    Permalink
    Definition Classes
    IMasterSlave
  90. def isNamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  91. def isOutput: Boolean

    Permalink
    Definition Classes
    Data
  92. def isOutputOrInOut: Boolean

    Permalink
    Definition Classes
    Data
  93. def isPriorityApplicable(namePriority: Byte): Boolean

    Permalink
    Definition Classes
    Nameable
  94. def isReg: Boolean

    Permalink
    Definition Classes
    Data
  95. def isUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  96. def keep(): TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  97. var name: String

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  98. var nameableRef: Nameable

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  99. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  100. def noBackendCombMerge: TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  101. def noCombLoopCheck: TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  102. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  104. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  105. var parent: Data

    Permalink
    Definition Classes
    Data
  106. var parentScope: ScopeStatement

    Permalink
    Definition Classes
    ContextUser
  107. def pull(): TriStateOutput.this.type

    Permalink

    Pull a signal to the top level (use for debugging)

    Pull a signal to the top level (use for debugging)

    Definition Classes
    Data
  108. def purify(): TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  109. def randBoot(): TriStateOutput.this.type

    Permalink

    Usefull for register that doesn't need a reset value in RTL, but need a randome value for simulation (avoid x-propagation)

    Usefull for register that doesn't need a reset value in RTL, but need a randome value for simulation (avoid x-propagation)

    Definition Classes
    Data
  110. var refOwner: RefOwnerType

    Permalink
    Definition Classes
    OwnableRef
  111. def removeAssignments(): TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  112. def removeTag(spinalTag: SpinalTag): TriStateOutput.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  113. def removeTags(tags: Iterable[SpinalTag]): TriStateOutput.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  114. def resized: TriStateOutput.this.type

    Permalink

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  115. def setAsAnalog(): TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
  116. def setAsComb(): TriStateOutput.this.type

    Permalink

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    MultiDataData
  117. def setAsDirectionLess(): TriStateOutput.this.type

    Permalink

    remove the direction (in,out,inout) to a data

    remove the direction (in,out,inout) to a data

    Definition Classes
    MultiDataData
  118. def setAsReg(): TriStateOutput.this.type

    Permalink

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    MultiDataData
  119. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  120. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  121. def setCompositeName(nameable: Nameable, postfix: String): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  122. def setCompositeName(nameable: Nameable, namePriority: Byte): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  123. def setCompositeName(nameable: Nameable, weak: Boolean): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  124. def setCompositeName(nameable: Nameable): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  125. def setName(name: String, namePriority: Byte): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  126. def setName(name: String, weak: Boolean): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  127. def setName(name: String): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  128. def setPartialName(name: String, namePriority: Byte): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  129. def setPartialName(name: String, weak: Boolean): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  130. def setPartialName(owner: Nameable, name: String, namePriority: Byte): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  131. def setPartialName(owner: Nameable, name: String, weak: Boolean): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  132. def setPartialName(name: String): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  133. def setPartialName(owner: Nameable, name: String): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  134. def setRefOwner(that: Any): Unit

    Permalink
    Definition Classes
    OwnableRef
  135. def setScalaLocated(source: ScalaLocated): TriStateOutput.this.type

    Permalink
    Definition Classes
    ScalaLocated
  136. def setWeakName(name: String): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  137. def spinalTags: Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  138. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    BundleNameable → AnyRef → Any
  140. def unsetName(): TriStateOutput.this.type

    Permalink
    Definition Classes
    Nameable
  141. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  144. val write: T

    Permalink
  145. val writeEnable: Bool

    Permalink

Deprecated Value Members

  1. def asDirectionLess(): TriStateOutput.this.type

    Permalink
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    use setAsDirectionLess instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from IMasterSlave

Inherited from Bundle

Inherited from OverridedEqualsHashCode

Inherited from MultiData

Inherited from Data

Inherited from SpinalTagReady

Inherited from Assignable

Inherited from NameableByComponent

Inherited from Nameable

Inherited from OwnableRef

Inherited from ContextUser

Inherited from ScalaLocated

Inherited from GlobalDataUser

Inherited from AnyRef

Inherited from Any

Ungrouped