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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped