Packages

class Axi4StreamWidthAdapter extends Component

Adapts the width of a sparse Axi4Stream. Input and output configurations should be direct assignment compatible.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Axi4StreamWidthAdapter
  2. Component
  3. ValCallbackRec
  4. ValCallback
  5. OverridedEqualsHashCode
  6. SpinalTagReady
  7. Stackable
  8. PostInitCallback
  9. NameableByComponent
  10. Nameable
  11. ContextUser
  12. ScalaLocated
  13. GlobalDataUser
  14. OwnableRef
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Axi4StreamWidthAdapter(inConfig: Axi4StreamConfig, outConfig: Axi4StreamConfig, compact: Boolean = false)

    inConfig

    The input stream configuration

    outConfig

    The output stream configuration

Type Members

  1. case class PrePopTask(task: () ⇒ Unit) extends Product with Serializable

    Class used to create a task that must be executed after the creation of the component

    Class used to create a task that must be executed after the creation of the component

    Definition Classes
    Component
  2. abstract type RefOwnerType
    Definition Classes
    OwnableRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MAX_SIZE: Int
  5. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  6. def addAttribute(attribute: Attribute): Axi4StreamWidthAdapter.this.type
    Definition Classes
    ComponentSpinalTagReady
  7. def addAttribute(name: String, value: Int): Axi4StreamWidthAdapter.this.type
    Definition Classes
    SpinalTagReady
  8. def addAttribute(name: String, value: String): Axi4StreamWidthAdapter.this.type
    Definition Classes
    SpinalTagReady
  9. def addAttribute(name: String): Axi4StreamWidthAdapter.this.type
    Definition Classes
    SpinalTagReady
  10. def addComment(str: String): Component
    Definition Classes
    Component
  11. def addPrePopTask(task: () ⇒ Unit): ArrayBuffer[PrePopTask]

    Add a new prePopTask

    Add a new prePopTask

    Definition Classes
    Component
  12. def addTag[T <: SpinalTag](spinalTag: T): Axi4StreamWidthAdapter.this.type
    Definition Classes
    SpinalTagReady
  13. def addTags(h: SpinalTag, tail: SpinalTag*): Axi4StreamWidthAdapter.this.type
    Definition Classes
    SpinalTagReady
  14. def addTags[T <: SpinalTag](tags: Iterable[T]): Axi4StreamWidthAdapter.this.type
    Definition Classes
    SpinalTagReady
  15. def afterElaboration(body: ⇒ Unit): ArrayBuffer[PrePopTask]
    Definition Classes
    Component
  16. def asFormalDut(): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Component
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. val buffer: Axi4StreamBundle
  19. val bufferDest: UInt
  20. val bufferId: UInt
  21. val bufferLast: Bool
  22. val bufferValid: Bits
  23. val canWrite: Bool
  24. val canWriteWhenRead: Bool
  25. val children: ArrayBuffer[Component]

    Contains an array of all children Component

    Contains an array of all children Component

    Definition Classes
    Component
  26. val clockDomain: Handle[ClockDomain]

    Get the current clock domain (null if there is no clock domain already set )

    Get the current clock domain (null if there is no clock domain already set )

    Definition Classes
    Component
  27. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  28. def component: Component
    Definition Classes
    ContextUser
  29. val definition: $anon forSome {type $anon <: SpinalTagReady { def addComment(str: String): $anon }}
    Definition Classes
    Component
  30. var definitionName: String

    Definition Name (name of the entity (VHDL) or module (Verilog))

    Definition Name (name of the entity (VHDL) or module (Verilog))

    Definition Classes
    Component
  31. var definitionNameNoMerge: Boolean
    Definition Classes
    Component
  32. def doReadStage(bufBundle: Axi4StreamBundle, bufValid: Bits, readSize: Int, doRead: Bool): (Axi4StreamBundle, Bits)
  33. def doWriteStage(inBundle: Axi4StreamBundle, bufBundle: Axi4StreamBundle, bufValid: Bits, doWrite: Bool, fillLevel: UInt): (Axi4StreamBundle, Bits)
  34. val dslBody: ScopeStatement
    Definition Classes
    Component
  35. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  37. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
    Definition Classes
    SpinalTagReady
  38. val fillLevel: UInt
  39. var fillLevel_next: UInt
  40. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  41. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  42. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  43. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  44. def getAllIo: Set[BaseType]

    Get a set of all IO available in the component

    Get a set of all IO available in the component

    Definition Classes
    Component
  45. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  46. def getDisplayName(): String
    Definition Classes
    ComponentNameable
  47. def getGroupedIO(ioBundleBypass: Boolean): Seq[Data]
    Definition Classes
    Component
  48. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  49. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  50. def getName(default: String): String
    Definition Classes
    NameableByComponentNameable
  51. def getName(): String
    Definition Classes
    NameableByComponentNameable
  52. def getOrdredNodeIo: List[BaseType]

    Sort all IO regarding instanceCounter

    Sort all IO regarding instanceCounter

    Definition Classes
    Component
  53. def getParentsPath(sep: String = "/"): String

    Return the path of the parent

    Return the path of the parent

    Definition Classes
    Component
    Example:
    1. toplevel/[myComponent1] // Current component is myComponent2
  54. def getPartialName(): String
    Definition Classes
    Nameable
  55. def getPath(sep: String = "/"): String

    Return the path of the component

    Return the path of the component

    Definition Classes
    Component
    Example:
    1. toplevel/[myComponent1]/[myComponent2] // Current component is myComponent2
  56. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  57. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  58. def getRtlPath(separator: String = "/"): String
    Definition Classes
    Component
  59. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  60. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  61. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  62. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  63. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  64. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  65. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  66. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  67. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  68. val inCompact: Axi4Stream
  69. val inStage: Stream[Axi4StreamBundle]
  70. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  71. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  72. val io: Bundle { ... /* 2 definitions in type refinement */ }
  73. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  74. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  75. var isFormalTester: Boolean
    Definition Classes
    Component
  76. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  77. def isLogicLess: Boolean
    Definition Classes
    Component
  78. final def isNamed: Boolean
    Definition Classes
    Nameable
  79. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  80. def isUnnamed: Boolean
    Definition Classes
    NameableByComponentNameable
  81. var localNamingScope: NamingScope

    Name allocation

    Name allocation

    Definition Classes
    Component
  82. val name: String
    Definition Classes
    Nameable
  83. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  84. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  85. val needsValid: Boolean
  86. def noIoPrefix(): Axi4StreamWidthAdapter.this.type

    No "io_" prefix in front of the in/out signals

    No "io_" prefix in front of the in/out signals

    Definition Classes
    Component
  87. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  88. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  89. def onBody[T](body: ⇒ T): T
    Definition Classes
    Component
  90. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  91. val outBuffer: Stream[Axi4StreamBundle]
  92. val outStream: Stream[Axi4StreamBundle]
  93. def overrideLocalName(name: String): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  94. def parent: Component

    Get the parent component (null if there is no parent)

    Get the parent component (null if there is no parent)

    Definition Classes
    Component
  95. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  96. def parents(of: Component = this, list: List[Component] = Nil): List[Component]

    Return a list of all parents of the components

    Return a list of all parents of the components

    Definition Classes
    Component
  97. def postInitCallback(): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Component → PostInitCallback
  98. def postPopEvent(): Unit
    Definition Classes
    Stackable
  99. def postPushEvent(): Unit
    Definition Classes
    ComponentStackable
  100. def prePop(): Unit
    Definition Classes
    Component
  101. def prePopEvent(): Unit
    Definition Classes
    ComponentStackable
  102. var pulledDataCache: Map[Data, Data]
    Definition Classes
    Component
  103. val readWriteBuffer: (Axi4StreamBundle, Bits)
  104. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  105. def reflectBaseType(name: String): BaseType
    Definition Classes
    Component
  106. def reflectNames(): Unit
    Definition Classes
    Nameable
  107. def removeTag(spinalTag: SpinalTag): Axi4StreamWidthAdapter.this.type
    Definition Classes
    SpinalTagReady
  108. def removeTags(tags: Iterable[SpinalTag]): Axi4StreamWidthAdapter.this.type
    Definition Classes
    SpinalTagReady
  109. def rework[T](gen: ⇒ T): T
    Definition Classes
    Component
  110. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  111. val scopeProperties: Capture

    Rework the component

    Rework the component

    Definition Classes
    Component
  112. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  113. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  114. def setCompositeName(nameable: Nameable, postfix: String): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  115. def setCompositeName(nameable: Nameable, namePriority: Byte): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  116. def setCompositeName(nameable: Nameable, weak: Boolean): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  117. def setCompositeName(nameable: Nameable): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  118. def setDefinitionName(name: String, noMerge: Boolean = true): Axi4StreamWidthAdapter.this.type

    Set the definition name of the component

    Set the definition name of the component

    Definition Classes
    Component
  119. def setFormalTester(): Unit
    Definition Classes
    Component
  120. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  121. def setName(name: String, namePriority: Byte): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  122. def setName(name: String, weak: Boolean): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  123. def setName(name: String): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  124. def setNameAsWeak(): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  125. def setPartialName(name: String, namePriority: Byte, owner: Any): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  126. def setPartialName(name: String, namePriority: Byte): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  127. def setPartialName(name: String, weak: Boolean): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  128. def setPartialName(owner: Nameable, name: String, namePriority: Byte): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  129. def setPartialName(owner: Nameable, name: String, weak: Boolean): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  130. def setPartialName(name: String): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  131. def setPartialName(owner: Nameable, name: String): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  132. def setPartialName(owner: Nameable): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  133. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  134. def setScalaLocated(source: ScalaLocated): Axi4StreamWidthAdapter.this.type
    Definition Classes
    ScalaLocated
  135. def setWeakName(name: String): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  136. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  137. val start: Bool
  138. def stub(): Axi4StreamWidthAdapter.this.type

    Empty Component, remove logic in component and assign zero on output port as stub

    Empty Component, remove logic in component and assign zero on output port as stub

    Definition Classes
    Component
    Example:
    1. val dut = (new MyComponent).stub()
  139. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  140. def toString(): String
    Definition Classes
    Nameable → AnyRef → Any
  141. def traceDisable(recursive: Boolean = true): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Component
  142. def traceEnable(recursive: Boolean = true): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Component
  143. var traceEnabled: Boolean
    Definition Classes
    Component
  144. def unsetName(): Axi4StreamWidthAdapter.this.type
    Definition Classes
    Nameable
  145. val userCache: Map[Any, Any]

    Used to store arbitrary object related to the component

    Used to store arbitrary object related to the component

    Definition Classes
    Component
  146. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  147. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  148. def valCallbackRec(ref: Any, name: String): Unit
    Definition Classes
    ComponentValCallbackRec
  149. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  150. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  151. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  152. def walkComponents(body: (Component) ⇒ Unit): Unit
    Definition Classes
    Component
  153. def withAutoPull(): Unit
    Definition Classes
    Component
  154. var withHierarchyAutoPull: Boolean
    Definition Classes
    Component
  155. def withKeywords(): Unit
    Definition Classes
    Component
  156. var withVitalOutputs: Boolean
    Definition Classes
    Component
  157. def withoutKeywords(): Unit
    Definition Classes
    Component
  158. var withoutReservedKeywords: Boolean
    Definition Classes
    Component
  159. val writeBuffer: Axi4StreamBundle
  160. val writeBufferValid: Bits
  161. val writeBytes: UInt
  162. var writeBytes_preReg: UInt

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Component

Inherited from ValCallbackRec

Inherited from ValCallback

Inherited from OverridedEqualsHashCode

Inherited from SpinalTagReady

Inherited from Stackable

Inherited from PostInitCallback

Inherited from NameableByComponent

Inherited from Nameable

Inherited from ContextUser

Inherited from ScalaLocated

Inherited from GlobalDataUser

Inherited from OwnableRef

Inherited from AnyRef

Inherited from Any

Ungrouped