class SlaveFactory extends BusSlaveFactoryDelayed

Linear Supertypes
BusSlaveFactoryDelayed, BusSlaveFactory, Area, OverridedEqualsHashCode, ValCallbackRec, ValCallback, NameableByComponent, Nameable, ContextUser, ScalaLocated, GlobalDataUser, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SlaveFactory
  2. BusSlaveFactoryDelayed
  3. BusSlaveFactory
  4. Area
  5. OverridedEqualsHashCode
  6. ValCallbackRec
  7. ValCallback
  8. NameableByComponent
  9. Nameable
  10. ContextUser
  11. ScalaLocated
  12. GlobalDataUser
  13. OwnableRef
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SlaveFactory(bus: Bus, allowBurst: Boolean)

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

    Configuration of the BusSlaveFactory

    Configuration of the BusSlaveFactory

    Attributes
    protected
    Definition Classes
    BusSlaveFactory
  5. val _context: Capture
    Definition Classes
    Area
  6. val address: UInt
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val askRead: Bool
  9. val askWrite: Bool
  10. 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
    SlaveFactoryBusSlaveFactoryDelayed
  11. def busA: Stream[ChannelA]
  12. def busDataWidth: Int

    Return the data width of the bus

    Return the data width of the bus

    Definition Classes
    SlaveFactoryBusSlaveFactory
  13. def childNamePriority: Byte
    Definition Classes
    Area
  14. def clearOnSet[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  16. def component: Component
    Definition Classes
    ContextUser
  17. 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
  18. def createReadAndClearOnSet[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  19. def createReadAndSetOnSet[T <: Data](dataType: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. def dataModelString(): String
    Definition Classes
    BusSlaveFactoryDelayed
  27. 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
  28. def doMappedElements(jobs: Seq[BusSlaveFactoryElement], askWrite: Bool, askRead: Bool, doWrite: Bool, doRead: Bool, writeData: Bits, readData: Bits): Unit
    Definition Classes
    BusSlaveFactoryDelayed
  29. def doMappedReadElements(jobs: Seq[BusSlaveFactoryElement], askRead: Bool, doRead: Bool, readData: Bits): Unit
    Definition Classes
    BusSlaveFactoryDelayed
  30. def doMappedWriteElements(jobs: Seq[BusSlaveFactoryElement], askWrite: Bool, doWrite: Bool, writeData: Bits): Unit
    Definition Classes
    BusSlaveFactoryDelayed
  31. def doNonStopWrite(writeData: Bits): Unit
    Definition Classes
    BusSlaveFactoryDelayed
  32. val doRead: Bool
  33. val doWrite: Bool
  34. def drive[T <: Data](address: BigInt, bitMapping: (Int, Data)*): Unit
    Definition Classes
    BusSlaveFactory
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. val elements: ArrayBuffer[BusSlaveFactoryElement]

    Contains all elements created

    Contains all elements created

    Definition Classes
    BusSlaveFactoryDelayed
  41. val elementsOk: HashSet[BusSlaveFactoryElement]
    Definition Classes
    BusSlaveFactoryDelayed
  42. val elementsPerAddress: LinkedHashMap[AddressMapping, ArrayBuffer[BusSlaveFactoryElement]]

    Contains all elements related to an address

    Contains all elements related to an address

    Definition Classes
    BusSlaveFactoryDelayed
  43. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  45. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  46. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  47. def getConfig: BusSlaveFactoryConfig
    Definition Classes
    BusSlaveFactory
  48. def getDisplayName(): String
    Definition Classes
    Nameable
  49. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  50. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  51. def getName(default: String): String
    Definition Classes
    NameableByComponent → Nameable
  52. def getName(): String
    Definition Classes
    NameableByComponent → Nameable
  53. def getPartialName(): String
    Definition Classes
    Nameable
  54. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  55. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  56. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  57. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  58. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  59. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  60. val halt: Bool
  61. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  62. val implementBurst: Boolean
  63. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  64. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  65. def isNamed: Boolean
    Definition Classes
    NameableByComponent → Nameable
  66. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  67. def isReading(address: BigInt): Bool

    Return true if the bus is reading

    Return true if the bus is reading

    Definition Classes
    BusSlaveFactory
  68. def isUnnamed: Boolean
    Definition Classes
    Nameable
  69. def isWriting(address: BigInt): Bool

    Return true if the bus is writing

    Return true if the bus is writing

    Definition Classes
    BusSlaveFactory
  70. def multiCycleRead(address: AddressMapping, cycles: BigInt): Unit
    Definition Classes
    BusSlaveFactory
  71. val name: String
    Definition Classes
    Nameable
  72. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  73. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  74. 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
  75. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  76. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  77. 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
  78. def onReadPrimitive(address: AddressMapping, haltSensitive: Boolean, documentation: String)(doThat: ⇒ Unit): Unit
  79. 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
  80. def onWritePrimitive(address: AddressMapping, haltSensitive: Boolean, documentation: String)(doThat: ⇒ Unit): Unit
  81. def overrideLocalName(name: String): SlaveFactory.this.type
    Definition Classes
    Nameable
  82. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  83. def printDataModel(): Unit
    Definition Classes
    BusSlaveFactoryDelayed
  84. def read[T <: Data](address: BigInt, bitMapping: (Int, Data)*): Unit
    Definition Classes
    BusSlaveFactory
  85. 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
  86. def readAddress(): UInt
    Definition Classes
    SlaveFactoryBusSlaveFactory
  87. def readAddress(address: AddressMapping): UInt
    Definition Classes
    BusSlaveFactory
  88. def readAndClearOnSet[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  89. def readAndSetOnSet[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  90. 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
  91. 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
  92. def readError(): Unit
    Definition Classes
    BusSlaveFactory
  93. val readErrorFlag: Bool
    Definition Classes
    BusSlaveFactory
  94. def readFire(): Bool
    Definition Classes
    BusSlaveFactory
  95. def readHalt(): Unit
    Definition Classes
    SlaveFactoryBusSlaveFactory
  96. 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
  97. def readPrimitive[T <: Data](that: T, address: AddressMapping, bitOffset: Int, documentation: String): Unit
  98. 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
  99. 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

  100. 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
  101. def readSyncMemWordAligned[T <: Data](mem: Mem[T], addressOffset: BigInt, bitOffset: Int = 0): Mem[T]
    Definition Classes
    BusSlaveFactory
  102. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  103. def reflectNames(): Unit
    Definition Classes
    Nameable
  104. def rework[T](body: ⇒ T): T
    Definition Classes
    Area
  105. val rspAsync: Stream[ChannelD]
  106. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  107. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): SlaveFactory.this.type
    Definition Classes
    Nameable
  108. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): SlaveFactory.this.type
    Definition Classes
    Nameable
  109. def setCompositeName(nameable: Nameable, postfix: String): SlaveFactory.this.type
    Definition Classes
    Nameable
  110. def setCompositeName(nameable: Nameable, namePriority: Byte): SlaveFactory.this.type
    Definition Classes
    Nameable
  111. def setCompositeName(nameable: Nameable, weak: Boolean): SlaveFactory.this.type
    Definition Classes
    Nameable
  112. def setCompositeName(nameable: Nameable): SlaveFactory.this.type
    Definition Classes
    Nameable
  113. def setConfig(value: BusSlaveFactoryConfig): SlaveFactory.this.type
    Definition Classes
    BusSlaveFactory
  114. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): SlaveFactory.this.type
    Definition Classes
    Nameable
  115. def setName(name: String, namePriority: Byte): SlaveFactory.this.type
    Definition Classes
    Nameable
  116. def setName(name: String, weak: Boolean): SlaveFactory.this.type
    Definition Classes
    Nameable
  117. def setName(name: String): SlaveFactory.this.type
    Definition Classes
    Nameable
  118. def setNameAsWeak(): SlaveFactory.this.type
    Definition Classes
    Nameable
  119. def setOnClear[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  120. def setOnSet[T <: Data](that: T, address: BigInt, bitOffset: Int = 0): T
    Definition Classes
    BusSlaveFactory
  121. def setPartialName(name: String, namePriority: Byte, owner: Any): SlaveFactory.this.type
    Definition Classes
    Nameable
  122. def setPartialName(name: String, namePriority: Byte): SlaveFactory.this.type
    Definition Classes
    Nameable
  123. def setPartialName(name: String, weak: Boolean): SlaveFactory.this.type
    Definition Classes
    Nameable
  124. def setPartialName(owner: Nameable, name: String, namePriority: Byte): SlaveFactory.this.type
    Definition Classes
    Nameable
  125. def setPartialName(owner: Nameable, name: String, weak: Boolean): SlaveFactory.this.type
    Definition Classes
    Nameable
  126. def setPartialName(name: String): SlaveFactory.this.type
    Definition Classes
    Nameable
  127. def setPartialName(owner: Nameable, name: String): SlaveFactory.this.type
    Definition Classes
    Nameable
  128. def setPartialName(owner: Nameable): SlaveFactory.this.type
    Definition Classes
    Nameable
  129. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  130. def setScalaLocated(source: ScalaLocated): SlaveFactory.this.type
    Definition Classes
    ScalaLocated
  131. def setWeakName(name: String): SlaveFactory.this.type
    Definition Classes
    Nameable
  132. def setWordEndianness(value: Endianness): BusSlaveFactory

    Set the endianness during write/read multiword

    Set the endianness during write/read multiword

    Definition Classes
    BusSlaveFactory
  133. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  134. def toString(): String
    Definition Classes
    Area → Nameable → AnyRef → Any
  135. val unburstify: Area { ... /* 5 definitions in type refinement */ }
  136. def unsetName(): SlaveFactory.this.type
    Definition Classes
    Nameable
  137. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  138. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  139. def valCallbackRec(obj: Any, name: String): Unit
    Definition Classes
    Area → ValCallbackRec
  140. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  141. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  142. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  143. def withOffset(offset: BigInt): BusSlaveFactoryAddressWrapper
    Definition Classes
    BusSlaveFactory
  144. def withRsp: Bool
  145. 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
  146. def write[T <: Data](address: BigInt, bitMapping: (Int, Data)*): Unit
    Definition Classes
    BusSlaveFactory
  147. 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
  148. def writeAddress(): UInt
    Definition Classes
    SlaveFactoryBusSlaveFactory
  149. def writeAddress(address: AddressMapping): UInt
    Definition Classes
    BusSlaveFactory
  150. def writeByteEnable(): Bits

    Byte enable bits, defaulting to all ones

    Byte enable bits, defaulting to all ones

    Definition Classes
    BusSlaveFactory
  151. def writeError(): Unit
    Definition Classes
    BusSlaveFactory
  152. val writeErrorFlag: Bool
    Definition Classes
    BusSlaveFactory
  153. def writeFire(): Bool
    Definition Classes
    BusSlaveFactory
  154. def writeHalt(): Unit
    Definition Classes
    SlaveFactoryBusSlaveFactory
  155. 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
  156. def writeMemWordAligned[T <: Data](mem: Mem[T], addressOffset: BigInt, bitOffset: Int = 0): Mem[T]
    Definition Classes
    BusSlaveFactory
  157. 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
  158. 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 BusSlaveFactoryDelayed

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