Packages

c

spinal.lib.bus.wishbone

WishboneConfig

case class WishboneConfig(addressWidth: Int, dataWidth: Int, selWidth: Int = 0, useSTALL: Boolean = false, useLOCK: Boolean = false, useERR: Boolean = false, useRTY: Boolean = false, useCTI: Boolean = false, tgaWidth: Int = 0, tgcWidth: Int = 0, tgdWidth: Int = 0, useBTE: Boolean = false) extends Product with Serializable

This class is used for configuring the Wishbone class

addressWidth

size in bits of the address line

dataWidth

size in bits of the data line

selWidth

size in bits of the selection line, deafult to 0 (disabled)

useSTALL

activate the stall line, default to false (disabled)

useLOCK

activate the lock line, default to false (disabled)

useERR

activate the error line, default to false (disabled)

useRTY

activate the retry line, default to false (disabled)

useCTI

activate the CTI line, deafult to 0 (disabled)

tgaWidth

size in bits of the tag address linie, deafult to 0 (disabled)

tgcWidth

size in bits of the tag cycle line, deafult to 0 (disabled)

tgdWidth

size in bits of the tag data line, deafult to 0 (disabled)

useBTE

activate the Burst Type Extension, default to false (disabled)

Example:
  1. val wishboneBusConf = new WishboneConfig(32,8).withCycleTag(8).withDataTag(8)
    val wishboneBus = new Wishbone(wishboneBusConf)
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WishboneConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WishboneConfig(addressWidth: Int, dataWidth: Int, selWidth: Int = 0, useSTALL: Boolean = false, useLOCK: Boolean = false, useERR: Boolean = false, useRTY: Boolean = false, useCTI: Boolean = false, tgaWidth: Int = 0, tgcWidth: Int = 0, tgdWidth: Int = 0, useBTE: Boolean = false)

    addressWidth

    size in bits of the address line

    dataWidth

    size in bits of the data line

    selWidth

    size in bits of the selection line, deafult to 0 (disabled)

    useSTALL

    activate the stall line, default to false (disabled)

    useLOCK

    activate the lock line, default to false (disabled)

    useERR

    activate the error line, default to false (disabled)

    useRTY

    activate the retry line, default to false (disabled)

    useCTI

    activate the CTI line, deafult to 0 (disabled)

    tgaWidth

    size in bits of the tag address linie, deafult to 0 (disabled)

    tgcWidth

    size in bits of the tag cycle line, deafult to 0 (disabled)

    tgdWidth

    size in bits of the tag data line, deafult to 0 (disabled)

    useBTE

    activate the Burst Type Extension, default to false (disabled)

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 addressWidth: Int
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. val dataWidth: Int
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def isPipelined: Boolean
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def pipelined: WishboneConfig
  16. val selWidth: Int
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. val tgaWidth: Int
  19. val tgcWidth: Int
  20. val tgdWidth: Int
  21. val useBTE: Boolean
  22. val useCTI: Boolean
  23. val useERR: Boolean
  24. val useLOCK: Boolean
  25. val useRTY: Boolean
  26. def useSEL: Boolean
  27. val useSTALL: Boolean
  28. def useTGA: Boolean
  29. def useTGC: Boolean
  30. def useTGD: Boolean
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withAddressTag(size: Int): WishboneConfig
  35. def withBurstType: WishboneConfig
  36. def withCycleTag(size: Int): WishboneConfig
  37. def withCycleTypeIdentifier: WishboneConfig
  38. def withDataTag(size: Int): WishboneConfig

Deprecated Value Members

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped