Packages

class WishboneAdapter extends Component

Create a configurable adaptor for the wishbone bus. It can adapt from a wishbone pipelined interface to a standard one or vice versa

Example:
  1. val wishboneMaster = Wishbone(wishboneConfig(8,8).pipelined)
    val wishboneSlave = Wishbone(wishboneConfig(16,8))
    val adapter = new WishboneAdapter(wishboneMaster.config, wishboneSlave.config, allowAddressResize = true)
    wishboneMaster <> adapter.io.wbm
    adapter.io.wbs <> wishboneSlave
Linear Supertypes
Component, ValCallbackRec, ValCallback, OverridedEqualsHashCode, SpinalTagReady, Stackable, PostInitCallback, NameableByComponent, Nameable, ContextUser, ScalaLocated, GlobalDataUser, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WishboneAdapter
  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 WishboneAdapter(wbmConfig: WishboneConfig, wbsConfig: WishboneConfig, allowAddressResize: Boolean = false, allowDataResize: Boolean = false, allowTagResize: Boolean = false)

    Create a wishbone bus adapter

    Create a wishbone bus adapter

    wbmConfig

    the wishboneConfig from the wishbone master bus

    wbsConfig

    the wishboneConfig from the wishbone slave bus

    allowAddressResize

    allow the resize of the address bus. Not allow by default

    allowDataResize

    allow the resize of the data bus. Not allow by default

    allowTagResize

    allow the resize of all the tagging busses. Not allow by default

Type Members

  1. case class PrePopTask extends Product with Serializable
    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 _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  5. def addAttribute(attribute: Attribute): WishboneAdapter.this.type
    Definition Classes
    Component → SpinalTagReady
  6. def addAttribute(name: String, value: Int): WishboneAdapter.this.type
    Definition Classes
    SpinalTagReady
  7. def addAttribute(name: String, value: String): WishboneAdapter.this.type
    Definition Classes
    SpinalTagReady
  8. def addAttribute(name: String): WishboneAdapter.this.type
    Definition Classes
    SpinalTagReady
  9. def addPrePopTask(task: () ⇒ Unit): ArrayBuffer[PrePopTask]
    Definition Classes
    Component
  10. def addTag[T <: SpinalTag](spinalTag: T): WishboneAdapter.this.type
    Definition Classes
    SpinalTagReady
  11. def addTags[T <: SpinalTag](tags: Iterable[T]): WishboneAdapter.this.type
    Definition Classes
    SpinalTagReady
  12. def afterElaboration(body: ⇒ Unit): ArrayBuffer[PrePopTask]
    Definition Classes
    Component
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. val children: ArrayBuffer[Component]
    Definition Classes
    Component
  15. val clockDomain: Handle[ClockDomain]
    Definition Classes
    Component
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  17. def component: Component
    Definition Classes
    ContextUser
  18. val definition: SpinalTagReady
    Definition Classes
    Component
  19. var definitionName: String
    Definition Classes
    Component
  20. var definitionNameNoMerge: Boolean
    Definition Classes
    Component
  21. val dslBody: ScopeStatement
    Definition Classes
    Component
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  24. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
    Definition Classes
    SpinalTagReady
  25. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  26. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  27. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  28. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  29. def getAllIo: Set[BaseType]
    Definition Classes
    Component
  30. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def getDisplayName(): String
    Definition Classes
    Component → Nameable
  32. def getGroupedIO(ioBundleBypass: Boolean): Seq[Data]
    Definition Classes
    Component
  33. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  34. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  35. def getName(default: String): String
    Definition Classes
    NameableByComponent → Nameable
  36. def getName(): String
    Definition Classes
    NameableByComponent → Nameable
  37. def getOrdredNodeIo: List[BaseType]
    Definition Classes
    Component
  38. def getParentsPath(sep: String): String
    Definition Classes
    Component
  39. def getPartialName(): String
    Definition Classes
    Nameable
  40. def getPath(sep: String): String
    Definition Classes
    Component
  41. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  42. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  43. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  44. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  45. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  46. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  47. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  48. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  49. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  50. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  51. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  52. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  53. val io: Bundle { ... /* 2 definitions in type refinement */ }
  54. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  55. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  56. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  57. def isLogicLess: Boolean
    Definition Classes
    Component
  58. def isNamed: Boolean
    Definition Classes
    NameableByComponent → Nameable
  59. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  60. def isUnnamed: Boolean
    Definition Classes
    Nameable
  61. var localNamingScope: NamingScope
    Definition Classes
    Component
  62. val name: String
    Attributes
    protected
    Definition Classes
    Nameable
  63. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  64. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  65. def noIoPrefix(): WishboneAdapter.this.type
    Definition Classes
    Component
  66. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  67. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  68. def onBody[T](body: ⇒ T): T
    Definition Classes
    Component
  69. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  70. def overrideLocalName(name: String): WishboneAdapter.this.type
    Definition Classes
    Nameable
  71. def parent: Component
    Definition Classes
    Component
  72. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  73. def parents(of: Component, list: List[Component]): List[Component]
    Definition Classes
    Component
  74. def postInitCallback(): WishboneAdapter.this.type
    Definition Classes
    Component → PostInitCallback
  75. def postPopEvent(): Unit
    Definition Classes
    Stackable
  76. def postPushEvent(): Unit
    Definition Classes
    Component → Stackable
  77. def prePop(): Unit
    Definition Classes
    Component
  78. def prePopEvent(): Unit
    Definition Classes
    Component → Stackable
  79. var pulledDataCache: Map[Data, Data]
    Definition Classes
    Component
  80. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  81. def reflectBaseType(name: String): BaseType
    Definition Classes
    Component
  82. def reflectNames(): Unit
    Definition Classes
    Nameable
  83. def removeTag(spinalTag: SpinalTag): WishboneAdapter.this.type
    Definition Classes
    SpinalTagReady
  84. def removeTags(tags: Iterable[SpinalTag]): WishboneAdapter.this.type
    Definition Classes
    SpinalTagReady
  85. def rework[T](gen: ⇒ T): T
    Definition Classes
    Component
  86. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  87. val scopeProperties: Capture
    Definition Classes
    Component
  88. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): WishboneAdapter.this.type
    Definition Classes
    Nameable
  89. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): WishboneAdapter.this.type
    Definition Classes
    Nameable
  90. def setCompositeName(nameable: Nameable, postfix: String): WishboneAdapter.this.type
    Definition Classes
    Nameable
  91. def setCompositeName(nameable: Nameable, namePriority: Byte): WishboneAdapter.this.type
    Definition Classes
    Nameable
  92. def setCompositeName(nameable: Nameable, weak: Boolean): WishboneAdapter.this.type
    Definition Classes
    Nameable
  93. def setCompositeName(nameable: Nameable): WishboneAdapter.this.type
    Definition Classes
    Nameable
  94. def setDefinitionName(name: String, noMerge: Boolean): WishboneAdapter.this.type
    Definition Classes
    Component
  95. def setName(name: String, namePriority: Byte): WishboneAdapter.this.type
    Definition Classes
    Nameable
  96. def setName(name: String, weak: Boolean): WishboneAdapter.this.type
    Definition Classes
    Nameable
  97. def setName(name: String): WishboneAdapter.this.type
    Definition Classes
    Nameable
  98. def setNameAsWeak(): WishboneAdapter.this.type
    Definition Classes
    Nameable
  99. def setPartialName(name: String, namePriority: Byte): WishboneAdapter.this.type
    Definition Classes
    Nameable
  100. def setPartialName(name: String, weak: Boolean): WishboneAdapter.this.type
    Definition Classes
    Nameable
  101. def setPartialName(owner: Nameable, name: String, namePriority: Byte): WishboneAdapter.this.type
    Definition Classes
    Nameable
  102. def setPartialName(owner: Nameable, name: String, weak: Boolean): WishboneAdapter.this.type
    Definition Classes
    Nameable
  103. def setPartialName(name: String): WishboneAdapter.this.type
    Definition Classes
    Nameable
  104. def setPartialName(owner: Nameable, name: String): WishboneAdapter.this.type
    Definition Classes
    Nameable
  105. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  106. def setScalaLocated(source: ScalaLocated): WishboneAdapter.this.type
    Definition Classes
    ScalaLocated
  107. def setWeakName(name: String): WishboneAdapter.this.type
    Definition Classes
    Nameable
  108. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  109. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  110. def toString(): String
    Definition Classes
    Nameable → AnyRef → Any
  111. def unsetName(): WishboneAdapter.this.type
    Definition Classes
    Nameable
  112. val userCache: Map[Any, Any]
    Definition Classes
    Component
  113. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  114. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  115. def valCallbackRec(ref: Any, name: String): Unit
    Definition Classes
    Component → ValCallbackRec
  116. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  117. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  118. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  119. def walkComponents(body: (Component) ⇒ Unit): Unit
    Definition Classes
    Component
  120. def withKeywords(): Unit
    Definition Classes
    Component
  121. def withoutKeywords(): Unit
    Definition Classes
    Component
  122. var withoutReservedKeywords: Boolean
    Definition Classes
    Component

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