t

spinal.lib.bus.misc

BusSlaveFactoryDelayed

trait BusSlaveFactoryDelayed extends BusSlaveFactory

BusSlaveFactoryDelayed captures each primitives (BusSlaveFactoryElement) into a data-model

Example:
  1. class Apb3SlaveFactory(bus : Apb3) extends BusSlaveFactoryDelayed{
        override def build(): Unit = { ... }
        override def busDataWidth: Int = bus.config.dataWidth
     }
Linear Supertypes
BusSlaveFactory, Area, OverridedEqualsHashCode, ValCallbackRec, ValCallback, NameableByComponent, Nameable, ContextUser, ScalaLocated, GlobalDataUser, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BusSlaveFactoryDelayed
  2. BusSlaveFactory
  3. Area
  4. OverridedEqualsHashCode
  5. ValCallbackRec
  6. ValCallback
  7. NameableByComponent
  8. Nameable
  9. ContextUser
  10. ScalaLocated
  11. GlobalDataUser
  12. OwnableRef
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type RefOwnerType
    Definition Classes
    OwnableRef

Abstract Value Members

  1. abstract 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

  2. abstract def busDataWidth: Int

    Return the data width of the bus

    Return the data width of the bus

    Definition Classes
    BusSlaveFactory
  3. abstract def readAddress(): UInt
    Definition Classes
    BusSlaveFactory
  4. abstract def readHalt(): Unit
    Definition Classes
    BusSlaveFactory
  5. abstract def writeAddress(): UInt
    Definition Classes
    BusSlaveFactory
  6. abstract def writeHalt(): Unit
    Definition Classes
    BusSlaveFactory

Concrete 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 _config: BusSlaveFactoryConfig

    Configuration of the BusSlaveFactory

    Configuration of the BusSlaveFactory

    Attributes
    protected
    Definition Classes
    BusSlaveFactory
  5. val _context: Capture
    Definition Classes
    Area
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def childNamePriority: Byte
    Definition Classes
    Area
  8. def clearOnSet[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  10. def component: Component
    Definition Classes
    ContextUser
  11. 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
  12. def createReadAndClearOnSet[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  13. def createReadAndSetOnSet[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  14. def createReadAndWrite[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0, documentation: String = null): 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
  15. def createReadMultiWord[T <: Data](that: T, address: BigInt, documentation: String = null): T

    Create multi-words read register of type dataType

    Create multi-words read register of type dataType

    Definition Classes
    BusSlaveFactory
  16. def createReadOnly[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0, documentation: String = null): T

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

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

    Definition Classes
    BusSlaveFactory
  17. def createWriteAndReadMultiWord[T <: Data](that: T, address: BigInt, documentation: String = null): T

    Create multi-words write and read register of type dataType

    Create multi-words write and read register of type dataType

    Definition Classes
    BusSlaveFactory
  18. def createWriteMultiWord[T <: Data](that: T, address: BigInt, documentation: String = null): T

    Create multi-words write register of type dataType

    Create multi-words write register of type dataType

    Definition Classes
    BusSlaveFactory
  19. def createWriteOnly[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0, documentation: String = null): 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
  20. def dataModelString(): String
  21. def doBitsAccumulationAndClearOnRead(that: Bits, address: BigInt, bitOffset: Int = 0): Unit

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

    Instantiate 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
  22. def doMappedElements(jobs: Seq[BusSlaveFactoryElement], askWrite: Bool, askRead: Bool, doWrite: Bool, doRead: Bool, writeData: Bits, readData: Bits): Unit
  23. def doMappedReadElements(jobs: Seq[BusSlaveFactoryElement], askRead: Bool, doRead: Bool, readData: Bits): Unit
  24. def doMappedWriteElements(jobs: Seq[BusSlaveFactoryElement], askWrite: Bool, doWrite: Bool, writeData: Bits): Unit
  25. def doNonStopWrite(writeData: Bits): Unit
  26. def drive[T <: Data](address: BigInt, bitMapping: (Int, Data)*): Unit
    Definition Classes
    BusSlaveFactory
  27. def drive[T <: Data](that: T, address: BigInt, bitOffset: Int = 0, documentation: String = null): 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
  28. def driveAndRead[T <: Data](that: T, address: BigInt, bitOffset: Int = 0, documentation: String = null): 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
  29. def driveAndReadMultiWord[T <: Data](that: T, address: BigInt, documentation: String = null): T

    Drive and read that on multi-word

    Drive and read that on multi-word

    Definition Classes
    BusSlaveFactory
  30. 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
  31. def driveMultiWord[T <: Data](that: T, address: BigInt, documentation: String = null): T

    Drive that on multi-words

    Drive that on multi-words

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

    Contains all elements created

  33. val elementsOk: HashSet[BusSlaveFactoryElement]
  34. val elementsPerAddress: LinkedHashMap[AddressMapping, ArrayBuffer[BusSlaveFactoryElement]]

    Contains all elements related to an address

  35. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  37. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. def getConfig: BusSlaveFactoryConfig
    Definition Classes
    BusSlaveFactory
  40. def getDisplayName(): String
    Definition Classes
    Nameable
  41. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  42. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  43. def getName(default: String): String
    Definition Classes
    NameableByComponent → Nameable
  44. def getName(): String
    Definition Classes
    NameableByComponent → Nameable
  45. def getPartialName(): String
    Definition Classes
    Nameable
  46. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  47. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  48. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  49. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  50. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  51. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  52. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. def isNamed: Boolean
    Definition Classes
    NameableByComponent → Nameable
  55. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  56. def isReading(address: BigInt): Bool

    Return true if the bus is reading

    Return true if the bus is reading

    Definition Classes
    BusSlaveFactory
  57. def isUnnamed: Boolean
    Definition Classes
    Nameable
  58. def isWriting(address: BigInt): Bool

    Return true if the bus is writing

    Return true if the bus is writing

    Definition Classes
    BusSlaveFactory
  59. def multiCycleRead(address: AddressMapping, cycles: BigInt): Unit
    Definition Classes
    BusSlaveFactory
  60. val name: String
    Definition Classes
    Nameable
  61. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  62. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  63. def nonStopWrite[T <: Data](that: T, bitOffset: Int = 0, documentation: String = null): T

    Permanently assign that by the bus write data from bitOffset

    Permanently assign that by the bus write data from bitOffset

    Definition Classes
    BusSlaveFactoryDelayedBusSlaveFactory
  64. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  65. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  66. def onRead(address: BigInt, documentation: String = null)(doThat: ⇒ Unit): Unit

    Call doThat when a read transaction occurs on address

    Call doThat when a read transaction occurs on address

    Definition Classes
    BusSlaveFactory
  67. def onReadPrimitive(address: AddressMapping, haltSensitive: Boolean, documentation: String)(doThat: ⇒ Unit): Unit
  68. def onWrite(address: BigInt, documentation: String = null)(doThat: ⇒ Unit): Unit

    Call doThat when a write transaction occurs on address

    Call doThat when a write transaction occurs on address

    Definition Classes
    BusSlaveFactory
  69. def onWritePrimitive(address: AddressMapping, haltSensitive: Boolean, documentation: String)(doThat: ⇒ Unit): Unit
  70. def overrideLocalName(name: String): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  71. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  72. def printDataModel(): Unit
  73. def read[T <: Data](address: BigInt, bitMapping: (Int, Data)*): Unit
    Definition Classes
    BusSlaveFactory
  74. def read[T <: Data](that: T, address: BigInt, bitOffset: Int = 0, documentation: String = null): T

    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
    BusSlaveFactory
  75. def readAddress(address: AddressMapping): UInt
    Definition Classes
    BusSlaveFactory
  76. def readAndClearOnSet[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  77. def readAndSetOnSet[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  78. def readAndWrite(that: Data, address: BigInt, bitOffset: Int = 0, documentation: String = null): 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
  79. def readAndWriteMultiWord(that: Data, address: BigInt, documentation: String = null): Unit

    Create the memory mapping to write/read that from address

    Create the memory mapping to write/read that from address

    Definition Classes
    BusSlaveFactory
  80. def readFire(): Bool
    Definition Classes
    BusSlaveFactory
  81. def readMultiWord(that: Data, address: BigInt, documentation: String = null): Unit

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

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

    Definition Classes
    BusSlaveFactory
  82. def readPrimitive[T <: Data](that: T, address: AddressMapping, bitOffset: Int, documentation: String): Unit
  83. def readStreamNonBlocking[T <: Data](that: Stream[T], address: BigInt, validBitOffset: Int, payloadBitOffset: Int, validInverted: Boolean = false): 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
  84. def readStreamNonBlocking[T <: Data](that: Stream[T], address: BigInt): Unit

    Read that (that is bigger than the busWidth) and consume the transaction when a read happen at address.

    Read that (that is bigger than the busWidth) and consume the transaction when a read happen at address.

    Definition Classes
    BusSlaveFactory
    Note

    in order to avoid to read wrong data read first the address which contains the valid signal. Little : payload - valid at address 0x00 Big : valid - payload at address 0x00 Once the valid signal is true you can read all registers

  85. def readSyncMemMultiWord[T <: Data](mem: Mem[T], addressOffset: BigInt): Mem[T]

    Memory map a Mem to bus for reading.

    Memory map a Mem to bus for reading. Elements can be larger than bus data width in bits.

    Definition Classes
    BusSlaveFactory
  86. def readSyncMemWordAligned[T <: Data](mem: Mem[T], addressOffset: BigInt, bitOffset: Int = 0): Mem[T]
    Definition Classes
    BusSlaveFactory
  87. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  88. def reflectNames(): Unit
    Definition Classes
    Nameable
  89. def rework[T](body: ⇒ T): T
    Definition Classes
    Area
  90. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  91. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  92. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  93. def setCompositeName(nameable: Nameable, postfix: String): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  94. def setCompositeName(nameable: Nameable, namePriority: Byte): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  95. def setCompositeName(nameable: Nameable, weak: Boolean): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  96. def setCompositeName(nameable: Nameable): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  97. def setConfig(value: BusSlaveFactoryConfig): BusSlaveFactoryDelayed.this.type
    Definition Classes
    BusSlaveFactory
  98. def setName(name: String, namePriority: Byte): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  99. def setName(name: String, weak: Boolean): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  100. def setName(name: String): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  101. def setNameAsWeak(): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  102. def setOnClear[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  103. def setOnSet[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  104. def setPartialName(name: String, namePriority: Byte, owner: Any): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  105. def setPartialName(name: String, namePriority: Byte): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  106. def setPartialName(name: String, weak: Boolean): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  107. def setPartialName(owner: Nameable, name: String, namePriority: Byte): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  108. def setPartialName(owner: Nameable, name: String, weak: Boolean): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  109. def setPartialName(name: String): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  110. def setPartialName(owner: Nameable, name: String): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  111. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  112. def setScalaLocated(source: ScalaLocated): BusSlaveFactoryDelayed.this.type
    Definition Classes
    ScalaLocated
  113. def setWeakName(name: String): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  114. def setWordEndianness(value: Endianness): BusSlaveFactory

    Set the endianness during write/read multiword

    Set the endianness during write/read multiword

    Definition Classes
    BusSlaveFactory
  115. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  116. def toString(): String
    Definition Classes
    Area → Nameable → AnyRef → Any
  117. def unsetName(): BusSlaveFactoryDelayed.this.type
    Definition Classes
    Nameable
  118. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  119. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  120. def valCallbackRec(obj: Any, name: String): Unit
    Definition Classes
    Area → ValCallbackRec
  121. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  122. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  123. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  124. def withOffset(offset: Int): BusSlaveFactoryAddressWrapper
    Definition Classes
    BusSlaveFactory
  125. def wordAddressInc: Int

    Address incrementation used by the read and write multi words registers

    Address incrementation used by the read and write multi words registers

    Definition Classes
    BusSlaveFactory
  126. def write[T <: Data](address: BigInt, bitMapping: (Int, Data)*): Unit
    Definition Classes
    BusSlaveFactory
  127. def write[T <: Data](that: T, address: BigInt, bitOffset: Int = 0, documentation: String = null): 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
    BusSlaveFactory
  128. def writeAddress(address: AddressMapping): UInt
    Definition Classes
    BusSlaveFactory
  129. def writeByteEnable(): Bits

    Byte enable bits, defaulting to all ones

    Byte enable bits, defaulting to all ones

    Definition Classes
    BusSlaveFactory
  130. def writeFire(): Bool
    Definition Classes
    BusSlaveFactory
  131. def writeMemMultiWord[T <: Data](mem: Mem[T], addressOffset: BigInt): Mem[T]

    Memory map a Mem to bus for writing.

    Memory map a Mem to bus for writing. Elements can be larger than bus data width in bits.

    Definition Classes
    BusSlaveFactory
  132. def writeMemWordAligned[T <: Data](mem: Mem[T], addressOffset: BigInt, bitOffset: Int = 0): Mem[T]
    Definition Classes
    BusSlaveFactory
  133. def writeMultiWord(that: Data, address: BigInt, documentation: String = null): 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 following addresses.

    Definition Classes
    BusSlaveFactory
  134. def writePrimitive[T <: Data](that: T, address: AddressMapping, bitOffset: Int, documentation: String): Unit

Deprecated Value Members

  1. def createReadWrite[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
    Annotations
    @deprecated
    Deprecated

    (Since version ???) Use createReadAndWrite instead

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

Inherited from BusSlaveFactory

Inherited from Area

Inherited from OverridedEqualsHashCode

Inherited from ValCallbackRec

Inherited from ValCallback

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