spinal.lib.bus.amba3.apb

Apb3SlaveFactory

Related Docs: object Apb3SlaveFactory | package apb

class Apb3SlaveFactory extends BusSlaveFactoryDelayed

Linear Supertypes
BusSlaveFactoryDelayed, BusSlaveFactory, Area, ScalaLocated, ContextUser, GlobalDataUser, Nameable, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Apb3SlaveFactory
  2. BusSlaveFactoryDelayed
  3. BusSlaveFactory
  4. Area
  5. ScalaLocated
  6. ContextUser
  7. GlobalDataUser
  8. Nameable
  9. OwnableRef
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Apb3SlaveFactory(bus: Apb3, selId: Int, configBus: BusSlaveFactoryConfig = BusSlaveFactoryConfig())

Type Members

  1. 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def build(): Unit

    In this function you have to define the read/write logic thanks to element, elementsPerAddress and elementsPerRangeAddress This is the only thing with def busDataWidth that should be implement by class that extends BusSlaveFactoryDelay

    In this function you have to define the read/write logic thanks to element, elementsPerAddress and elementsPerRangeAddress This is the only thing with def busDataWidth that should be implement by class that extends BusSlaveFactoryDelay

    Definition Classes
    Apb3SlaveFactoryBusSlaveFactoryDelayed
  6. def busDataWidth: Int

    Return the data width of the bus

    Return the data width of the bus

    Definition Classes
    Apb3SlaveFactoryBusSlaveFactory
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. var component: Component

    Definition Classes
    ContextUser
  9. def configFactory: BusSlaveFactoryConfig

    Configuration of the BusSlaveFactory (default value : BIG-endian)

    Configuration of the BusSlaveFactory (default value : BIG-endian)

    Definition Classes
    Apb3SlaveFactoryBusSlaveFactory
  10. def createAndDriveFlow[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0): Flow[T]

    Create a writable Flow register of type dataType at address and placed at bitOffset in the word

    Create a writable Flow register of type dataType at address and placed at bitOffset in the word

    Definition Classes
    BusSlaveFactory
  11. def createReadWrite[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0): T

    Create a read write register of type dataType at address and placed at bitOffset in the word

    Create a read write register of type dataType at address and placed at bitOffset in the word

    Definition Classes
    BusSlaveFactory
  12. def createWriteOnly[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0): T

    Create a write only register of type dataType at address and placed at bitOffset in the word

    Create a write only register of type dataType at address and placed at bitOffset in the word

    Definition Classes
    BusSlaveFactory
  13. def doBitsAccumulationAndClearOnRead(that: Bits, address: BigInt, bitOffset: Int = 0): Unit

    Instanciate an internal register which at each cycle do : reg := reg | that Then when a read occur, the register is cleared.

    Instanciate an internal register which at each cycle do : reg := reg | that Then when a read occur, the register is cleared. This register is readable at address and placed at bitOffset in the word

    Definition Classes
    BusSlaveFactory
  14. val doRead: Bool

  15. val doWrite: Bool

  16. def drive[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T

    Drive that with a register writable at address placed at bitOffset in the word

    Drive that with a register writable at address placed at bitOffset in the word

    Definition Classes
    BusSlaveFactory
  17. def driveAndRead[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T

    Drive that with a register writable and readable at address placed at bitOffset in the word

    Drive that with a register writable and readable at address placed at bitOffset in the word

    Definition Classes
    BusSlaveFactory
  18. def driveFlow[T <: Data](that: Flow[T], address: BigInt, bitOffset: Int = 0): Unit

    Emit on that a transaction when a write happen at address by using data placed at bitOffset in the word

    Emit on that a transaction when a write happen at address by using data placed at bitOffset in the word

    Definition Classes
    BusSlaveFactory
  19. val elements: ArrayBuffer[BusSlaveFactoryElement]

    Contains all elements created

    Contains all elements created

    Definition Classes
    BusSlaveFactoryDelayed
  20. val elementsPerAddress: HashMap[BigInt, ArrayBuffer[BusSlaveFactoryElement]]

    Contains all elements related to an address

    Contains all elements related to an address

    Definition Classes
    BusSlaveFactoryDelayed
  21. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def forEachNameables(doThat: (Any) ⇒ Unit): Unit

    Definition Classes
    Nameable
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def getDisplayName(): String

    Definition Classes
    Nameable
  27. def getInstanceCounter: Int

    Definition Classes
    ContextUser
  28. def getName(default: String): String

    Definition Classes
    Nameable
  29. def getName(): String

    Definition Classes
    Nameable
  30. def getRefOwnersChain(): List[Any]

    Definition Classes
    OwnableRef
  31. def getScalaLocationLong: String

    Definition Classes
    ScalaLocated
  32. def getScalaLocationShort: String

    Definition Classes
    ScalaLocated
  33. val globalData: GlobalData

    Definition Classes
    GlobalDataUser
  34. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. def isNamed: Boolean

    Definition Classes
    Nameable
  37. def isReading(address: BigInt): Bool

    Return true if the bus is reading

    Return true if the bus is reading

    Definition Classes
    BusSlaveFactory
  38. def isUnnamed: Boolean

    Definition Classes
    Nameable
  39. def isWriting(address: BigInt): Bool

    Return true if the bus is writing

    Return true if the bus is writing

    Definition Classes
    BusSlaveFactory
  40. def multiWordAddressInc: Int

    Address incrementation used by the read and write multi words

    Address incrementation used by the read and write multi words

    Definition Classes
    Apb3SlaveFactoryBusSlaveFactory
  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. def nonStopWrite(that: Data, bitOffset: Int = 0): Unit

    Permanently assign that by the bus write data from bitOffset

    Permanently assign that by the bus write data from bitOffset

    Definition Classes
    BusSlaveFactoryDelayedBusSlaveFactory
  43. final def notify(): Unit

    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  45. def onRead(address: BigInt)(doThat: ⇒ Unit): Unit

    Call doThat when a read transaction occurs on address

    Call doThat when a read transaction occurs on address

    Definition Classes
    BusSlaveFactoryDelayedBusSlaveFactory
  46. def onReadCondition(condition: ⇒ Bool)(doThat: ⇒ Unit): Unit

    Call doThat when a read transaction occurs and the condition is true

    Call doThat when a read transaction occurs and the condition is true

    Definition Classes
    BusSlaveFactoryDelayedBusSlaveFactory
  47. def onWrite(address: BigInt)(doThat: ⇒ Unit): Unit

    Call doThat when a write transaction occurs on address

    Call doThat when a write transaction occurs on address

    Definition Classes
    BusSlaveFactoryDelayedBusSlaveFactory
  48. def onWriteCondition(condition: ⇒ Bool)(doThat: ⇒ Unit): Unit

    Call doThat when a write transaction occurs and the condition is true

    Call doThat when a write transaction occurs and the condition is true

    Definition Classes
    BusSlaveFactoryDelayedBusSlaveFactory
  49. def read(that: Data, address: BigInt, bitOffset: Int = 0): Unit

    When the bus read the address, fill the response with that at bitOffset

    When the bus read the address, fill the response with that at bitOffset

    Definition Classes
    BusSlaveFactoryDelayedBusSlaveFactory
  50. def readAndWrite(that: Data, address: BigInt, bitOffset: Int = 0): Unit

    Make that readable and writable at address and placed at bitOffset in the word

    Make that readable and writable at address and placed at bitOffset in the word

    Definition Classes
    BusSlaveFactory
  51. def readAndWriteMultiWord(that: Data, address: BigInt): Unit

    Create the memory mapping to write/read that from address

    Create the memory mapping to write/read that from address

    Definition Classes
    BusSlaveFactory
  52. def readMultiWord(that: Data, address: BigInt): Unit

    Create the memory mapping to read that from address If that is bigger than one word it extends the register on followings addresses

    Create the memory mapping to read that from address If that is bigger than one word it extends the register on followings addresses

    Definition Classes
    BusSlaveFactory
  53. def readStreamNonBlocking[T <: Data](that: Stream[T], address: BigInt, validBitOffset: Int, payloadBitOffset: Int): Unit

    Read that and consume the transaction when a read happen at address.

    Read that and consume the transaction when a read happen at address.

    Definition Classes
    BusSlaveFactory
  54. var refOwner: RefOwnerType

    Definition Classes
    OwnableRef
  55. def reflectNames(): Unit

    Definition Classes
    Area
  56. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Apb3SlaveFactory.this.type

    Definition Classes
    Nameable
  57. def setCompositeName(nameable: Nameable, postfix: String): Apb3SlaveFactory.this.type

    Definition Classes
    Nameable
  58. def setCompositeName(nameable: Nameable, weak: Boolean): Apb3SlaveFactory.this.type

    Definition Classes
    Nameable
  59. def setCompositeName(nameable: Nameable): Apb3SlaveFactory.this.type

    Definition Classes
    Nameable
  60. def setName(name: String, weak: Boolean): Apb3SlaveFactory.this.type

    Definition Classes
    Nameable
  61. def setPartialName(name: String, weak: Boolean): Apb3SlaveFactory.this.type

    Definition Classes
    Nameable
  62. def setPartialName(owner: Nameable, name: String, weak: Boolean): Apb3SlaveFactory.this.type

    Definition Classes
    Nameable
  63. def setPartialName(name: String): Apb3SlaveFactory.this.type

    Definition Classes
    Nameable
  64. def setPartialName(owner: Nameable, name: String): Apb3SlaveFactory.this.type

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

    Definition Classes
    OwnableRef
  66. def setWeakName(name: String): Apb3SlaveFactory.this.type

    Definition Classes
    Nameable
  67. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  68. def toString(): String

    Definition Classes
    Area → Nameable → AnyRef → Any
  69. def unsetName(): Unit

    Definition Classes
    Nameable
  70. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. def write[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T

    When the bus write the address, assign that with bus’s data from bitOffset

    When the bus write the address, assign that with bus’s data from bitOffset

    Definition Classes
    BusSlaveFactoryDelayedBusSlaveFactory
  74. def writeMultiWord(that: Data, address: BigInt): Unit

    Create the memory mapping to write that at address.

    Create the memory mapping to write that at address. If that is bigger than one word it extends the register on followings addresses

    Definition Classes
    BusSlaveFactory

Inherited from BusSlaveFactoryDelayed

Inherited from BusSlaveFactory

Inherited from Area

Inherited from ScalaLocated

Inherited from ContextUser

Inherited from GlobalDataUser

Inherited from Nameable

Inherited from OwnableRef

Inherited from AnyRef

Inherited from Any

Ungrouped