spinal.lib.bus.simple

AsyncMemoryBusFactory

Related Doc: package simple

class AsyncMemoryBusFactory extends BusSlaveFactoryDelayed

Linear Supertypes
BusSlaveFactoryDelayed, BusSlaveFactory, Area, Nameable, ContextUser, ScalaLocated, GlobalDataUser, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AsyncMemoryBusFactory
  2. BusSlaveFactoryDelayed
  3. BusSlaveFactory
  4. Area
  5. Nameable
  6. ContextUser
  7. ScalaLocated
  8. GlobalDataUser
  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 AsyncMemoryBusFactory(bus: AsyncMemoryBus, incAddress: Int = 0)

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. var _config: BusSlaveFactoryConfig

    Configuration of the BusSlaveFactory

    Configuration of the BusSlaveFactory

    Attributes
    protected
    Definition Classes
    BusSlaveFactory
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. 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
    AsyncMemoryBusFactoryBusSlaveFactoryDelayed
  7. def busDataWidth: Int

    Return the data width of the bus

    Return the data width of the bus

    Definition Classes
    AsyncMemoryBusFactoryBusSlaveFactory
  8. def clearOnSet[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T

    Definition Classes
    BusSlaveFactory
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. def dataModelString(): String

    Definition Classes
    BusSlaveFactoryDelayed
  20. 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
  21. def doMappedElements(jobs: Seq[BusSlaveFactoryElement], askWrite: Bool, askRead: Bool, doWrite: Bool, doRead: Bool, writeData: Bits, readData: Bits): Unit

    Definition Classes
    BusSlaveFactoryDelayed
  22. def doMappedReadElements(jobs: Seq[BusSlaveFactoryElement], askRead: Bool, doRead: Bool, readData: Bits): Unit

    Definition Classes
    BusSlaveFactoryDelayed
  23. def doMappedWriteElements(jobs: Seq[BusSlaveFactoryElement], askWrite: Bool, doWrite: Bool, writeData: Bits): Unit

    Definition Classes
    BusSlaveFactoryDelayed
  24. def doNonStopWrite(writeData: Bits): Unit

    Definition Classes
    BusSlaveFactoryDelayed
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. val elements: ArrayBuffer[BusSlaveFactoryElement]

    Contains all elements created

    Contains all elements created

    Definition Classes
    BusSlaveFactoryDelayed
  31. val elementsOk: HashSet[BusSlaveFactoryElement]

    Definition Classes
    BusSlaveFactoryDelayed
  32. val elementsPerAddress: LinkedHashMap[AddressMapping, ArrayBuffer[BusSlaveFactoryElement]]

    Contains all elements related to an address

    Contains all elements related to an address

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  38. def getConfig: BusSlaveFactoryConfig

    Definition Classes
    BusSlaveFactory
  39. def getDisplayName(): String

    Definition Classes
    Nameable
  40. def getInstanceCounter: Int

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

    Definition Classes
    Nameable
  42. def getName(): String

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

    Definition Classes
    OwnableRef
  44. def getScalaLocationLong: String

    Definition Classes
    ScalaLocated
  45. def getScalaLocationShort: String

    Definition Classes
    ScalaLocated
  46. def getScalaTrace(): Throwable

    Definition Classes
    ContextUser → ScalaLocated
  47. val globalData: GlobalData

    Definition Classes
    GlobalDataUser
  48. def hashCode(): Int

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

    Definition Classes
    Any
  50. def isNamed: Boolean

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

    Return true if the bus is reading

    Return true if the bus is reading

    Definition Classes
    BusSlaveFactory
  52. def isUnnamed: Boolean

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

    Return true if the bus is writing

    Return true if the bus is writing

    Definition Classes
    BusSlaveFactory
  54. def multiCycleRead(address: AddressMapping, cycles: BigInt): Unit

    Definition Classes
    BusSlaveFactory
  55. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  56. 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
  57. final def notify(): Unit

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

    Definition Classes
    AnyRef
  59. 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
  60. def onReadPrimitive(address: AddressMapping, haltSensitive: Boolean, documentation: String)(doThat: ⇒ Unit): Unit

  61. 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
  62. def onWritePrimitive(address: AddressMapping, haltSensitive: Boolean, documentation: String)(doThat: ⇒ Unit): Unit

  63. var parentScope: ScopeStatement

    Definition Classes
    ContextUser
  64. def printDataModel(): Unit

    Definition Classes
    BusSlaveFactoryDelayed
  65. 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
  66. def readAddress(): UInt

    Definition Classes
    AsyncMemoryBusFactoryBusSlaveFactory
  67. def readAddress(address: AddressMapping): UInt

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

    Definition Classes
    BusSlaveFactory
  69. 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
  70. 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
  71. def readHalt(): Unit

    Definition Classes
    AsyncMemoryBusFactoryBusSlaveFactory
  72. 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 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
  73. def readPrimitive[T <: Data](that: T, address: AddressMapping, bitOffset: Int, documentation: String): Unit

  74. 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
  75. 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

  76. def readSyncMemWordAligned[T <: Data](mem: Mem[T], addressOffset: BigInt, bitOffset: Int = 0): Mem[T]

    Definition Classes
    BusSlaveFactory
  77. var refOwner: RefOwnerType

    Definition Classes
    OwnableRef
  78. def reflectNames(): Unit

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

    Definition Classes
    Nameable
  80. def setCompositeName(nameable: Nameable, postfix: String): AsyncMemoryBusFactory.this.type

    Definition Classes
    Nameable
  81. def setCompositeName(nameable: Nameable, weak: Boolean): AsyncMemoryBusFactory.this.type

    Definition Classes
    Nameable
  82. def setCompositeName(nameable: Nameable): AsyncMemoryBusFactory.this.type

    Definition Classes
    Nameable
  83. def setConfig(value: BusSlaveFactoryConfig): AsyncMemoryBusFactory.this.type

    Definition Classes
    BusSlaveFactory
  84. def setName(name: String, weak: Boolean): AsyncMemoryBusFactory.this.type

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

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

    Definition Classes
    Nameable
  87. def setPartialName(name: String): AsyncMemoryBusFactory.this.type

    Definition Classes
    Nameable
  88. def setPartialName(owner: Nameable, name: String): AsyncMemoryBusFactory.this.type

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

    Definition Classes
    OwnableRef
  90. def setScalaLocated(source: ScalaLocated): AsyncMemoryBusFactory.this.type

    Definition Classes
    ScalaLocated
  91. def setWeakName(name: String): AsyncMemoryBusFactory.this.type

    Definition Classes
    Nameable
  92. def setWordEndianness(value: Endianness): BusSlaveFactory

    Set the endianness during write/read multiword

    Set the endianness during write/read multiword

    Definition Classes
    BusSlaveFactory
  93. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  94. def toString(): String

    Definition Classes
    Area → Nameable → AnyRef → Any
  95. def unsetName(): AsyncMemoryBusFactory.this.type

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. 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
    AsyncMemoryBusFactoryBusSlaveFactory
  100. def write[T <: Data](address: BigInt, bitMapping: (Int, Data)*): Unit

    Definition Classes
    BusSlaveFactory
  101. 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
  102. def writeAddress(): UInt

    Definition Classes
    AsyncMemoryBusFactoryBusSlaveFactory
  103. def writeAddress(address: AddressMapping): UInt

    Definition Classes
    BusSlaveFactory
  104. def writeHalt(): Unit

    Definition Classes
    AsyncMemoryBusFactoryBusSlaveFactory
  105. def writeMemWordAligned[T <: Data](mem: Mem[T], addressOffset: BigInt, bitOffset: Int = 0): Mem[T]

    Definition Classes
    BusSlaveFactory
  106. 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 followings addresses

    Definition Classes
    BusSlaveFactory
  107. 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

    Use createReadAndWrite instead

Inherited from BusSlaveFactoryDelayed

Inherited from BusSlaveFactory

Inherited from Area

Inherited from Nameable

Inherited from ContextUser

Inherited from ScalaLocated

Inherited from GlobalDataUser

Inherited from OwnableRef

Inherited from AnyRef

Inherited from Any

Ungrouped