Packages

case class Apb4(c: Apb4Config) extends Bundle with IMasterSlave with Product with Serializable

AMBA 4 APB Protocol interface

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Apb4
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. IMasterSlave
  7. Bundle
  8. ValCallbackRec
  9. ValCallback
  10. MultiData
  11. Data
  12. InComponent
  13. OverridedEqualsHashCode
  14. SpinalTagReady
  15. Assignable
  16. NameableByComponent
  17. Nameable
  18. OwnableRef
  19. ContextUser
  20. ScalaLocated
  21. GlobalDataUser
  22. AnyRef
  23. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Apb4(c: Apb4Config)

Type Members

  1. abstract type RefOwnerType
    Definition Classes
    OwnableRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. def ##(right: Data): Bits

    Concatenation between two data

    Concatenation between two data

    Definition Classes
    Data
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. def #*(count: Int): Bits
    Definition Classes
    Data
  5. def <<(that: Apb4): Unit
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def >>(that: Apb4): Unit
  8. def IFparent: Data
    Definition Classes
    Data
  9. val PADDR: UInt
  10. val PENABLE: Bool
  11. val PPROT: Bits
  12. val PRDATA: Bits
  13. val PREADY: Bool
  14. val PSEL: Bits
  15. val PSLVERR: Bool
  16. val PSTRB: Bits
  17. val PWDATA: Bits
  18. val PWRITE: Bool
  19. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  20. def addAttribute(attribute: Attribute): Apb4.this.type
    Definition Classes
    DataSpinalTagReady
  21. def addAttribute(name: String, value: Int): Apb4.this.type
    Definition Classes
    SpinalTagReady
  22. def addAttribute(name: String, value: String): Apb4.this.type
    Definition Classes
    SpinalTagReady
  23. def addAttribute(name: String): Apb4.this.type
    Definition Classes
    SpinalTagReady
  24. def addTag[T <: SpinalTag](spinalTag: T): Apb4.this.type
    Definition Classes
    MultiDataSpinalTagReady
  25. def addTags(h: SpinalTag, tail: SpinalTag*): Apb4.this.type
    Definition Classes
    SpinalTagReady
  26. def addTags[T <: SpinalTag](tags: Iterable[T]): Apb4.this.type
    Definition Classes
    SpinalTagReady
  27. def allowDirectionLessIo(): Apb4.this.type

    Allow a Data of an io Bundle to be directionless

    Allow a Data of an io Bundle to be directionless

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/iobundle.html

    Definition Classes
    Data
  28. def allowOverride(): Apb4.this.type

    Allow a Data to be overriden

    Allow a Data to be overriden

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/assignment_overlap.html

    Definition Classes
    Data
  29. def allowPartialyAssigned(): Apb4.this.type

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  30. def allowPruning(): Apb4.this.type
    Definition Classes
    Data
  31. def allowSimplifyIt(): Apb4.this.type
    Definition Classes
    Data
  32. def allowUnsetRegToAvoidLatch(): Apb4.this.type

    Allow a register to have only an init (no assignments)

    Allow a register to have only an init (no assignments)

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/unassigned_register.html#register-with-only-init

    Definition Classes
    Data
  33. def as[T <: Data](dataType: HardType[T]): T
    Definition Classes
    Data
  34. def asBits: Bits

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    MultiDataData
  35. def asData: Data
    Definition Classes
    Data
  36. def asInOut(): Apb4.this.type

    set a data as inout

    set a data as inout

    Definition Classes
    MultiDataData
  37. def asInput(): Apb4.this.type

    Set a data as input

    Set a data as input

    Definition Classes
    MultiDataData
  38. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  39. def asOutput(): Apb4.this.type

    Set a data as output

    Set a data as output

    Definition Classes
    MultiDataData
  40. def assignAllByName(that: Bundle): Unit

    Assign the bundle with an other bundle by name

    Assign the bundle with an other bundle by name

    Definition Classes
    Bundle
  41. def assignDontCare(): Apb4.this.type
    Definition Classes
    Data
  42. def assignDontCareToUnasigned(): Apb4.this.type
    Definition Classes
    Data
  43. def assignFormalRandom(kind: RandomExpKind): Unit
    Definition Classes
    MultiDataData
  44. final def assignFrom(that: AnyRef, target: AnyRef = this)(implicit loc: Location): Unit
    Definition Classes
    Data
  45. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit
    Definition Classes
    MultiDataData
  46. def assignFromBits(bits: Bits): Unit
    Definition Classes
    MultiDataData
  47. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
    Definition Classes
    Data
  48. def assignFromImpl(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Attributes
    protected
    Definition Classes
    BundleAssignable
  49. def assignSomeByName(that: Bundle): Unit

    Assign all possible signal fo the bundle with an other bundle by name

    Assign all possible signal fo the bundle with an other bundle by name

    Definition Classes
    Bundle
  50. def assignUnassignedByName(that: MultiData): Unit
    Definition Classes
    MultiData
  51. def bundleAssign(that: Bundle)(f: (Data, Data) ⇒ Unit): Unit
    Definition Classes
    Bundle
  52. val c: Apb4Config
  53. def checkDir(that: Bundle): Boolean

    for interface find modport

    for interface find modport

    Definition Classes
    Bundle
  54. def clearAll(): Apb4.this.type
    Definition Classes
    Data
  55. def clone(): Bundle
    Definition Classes
    BundleData → AnyRef
  56. def component: Component
    Definition Classes
    ContextUser
  57. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Definition Classes
    Assignable
  58. val compositeAssign: Assignable
    Definition Classes
    Assignable
  59. def copyDirectionOfImpl(that: Data): Apb4.this.type
    Definition Classes
    MultiDataData
  60. def crossClockDomainToggle(inClk: ClockDomain, outClk: ClockDomain): Apb4
  61. def dirString(): String
    Definition Classes
    Data
  62. def dontSimplifyIt(): Apb4.this.type
    Definition Classes
    Data
  63. def elements: ArrayBuffer[(String, Data)]
    Definition Classes
    BundleMultiData
  64. var elementsCache: ArrayBuffer[(String, Data)]
    Definition Classes
    Bundle
  65. def elementsString: String
    Definition Classes
    MultiData
  66. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  67. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  68. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
    Definition Classes
    SpinalTagReady
  69. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  70. def find(name: String): Data
    Definition Classes
    MultiData
  71. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  72. def flatten: Seq[BaseType]
    Definition Classes
    MultiDataData
  73. def flattenForeach(body: (BaseType) ⇒ Unit): Unit
    Definition Classes
    MultiDataData
  74. def flattenLocalName: Seq[String]
    Definition Classes
    MultiDataData
  75. def flip(): Apb4.this.type

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    MultiDataData
  76. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  77. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  78. def freeze(): Apb4.this.type
    Definition Classes
    MultiDataData
  79. def getAheadValue(): Apb4.this.type

    For a register, get the value it will have at the next clock, as a combinational signal.

    For a register, get the value it will have at the next clock, as a combinational signal.

    Definition Classes
    Data
  80. def getBitsWidth: Int

    Return the width of the data

    Return the width of the data

    Definition Classes
    MultiDataData
  81. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  82. def getComponent(): Component
    Definition Classes
    DataInComponentNameableByComponent
  83. def getComponents(): Seq[Component]

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  84. def getDirection: IODirection
    Definition Classes
    Data
  85. def getDisplayName(): String
    Definition Classes
    Nameable
  86. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  87. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  88. def getMuxType[T <: Data](list: TraversableOnce[T]): HardType[T]
    Definition Classes
    Data
  89. def getName(default: String): String
    Definition Classes
    NameableByComponentNameable
  90. def getName(): String
    Definition Classes
    NameableByComponentNameable
  91. def getPartialName(): String
    Definition Classes
    Nameable
  92. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  93. def getRealSource: Any
    Definition Classes
    Assignable
  94. def getRealSourceNoRec: Any
    Definition Classes
    DataAssignable
  95. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  96. def getRootParent: Data
    Definition Classes
    Data
  97. def getRtlPath(separator: String = "/"): String
    Definition Classes
    Data
  98. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  99. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  100. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  101. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  102. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  103. def getTypeString: String
    Definition Classes
    Bundle
  104. def getZero: Apb4.this.type

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    MultiDataData
  105. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  106. var hardtype: HardType[_]
    Definition Classes
    Bundle
  107. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  108. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  109. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  110. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  111. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  112. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  113. final def intoMaster(): Apb4.this.type

    Convert into master

    Convert into master

    Definition Classes
    IMasterSlave
  114. final def intoSlave(): Apb4.this.type

    Convert into slave

    Convert into slave

    Definition Classes
    IMasterSlave
  115. def isAnalog: Boolean
    Definition Classes
    Data
  116. def isComb: Boolean
    Definition Classes
    Data
  117. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  118. def isDirectionLess: Boolean
    Definition Classes
    Data
  119. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  120. def isInOut: Boolean
    Definition Classes
    Data
  121. def isInput: Boolean
    Definition Classes
    Data
  122. def isInputOrInOut: Boolean
    Definition Classes
    Data
  123. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  124. final def isMasterInterface: Boolean

    Are port directions set for a Master interface?

    Are port directions set for a Master interface?

    Definition Classes
    IMasterSlave
  125. final def isNamed: Boolean
    Definition Classes
    Nameable
  126. def isOutput: Boolean
    Definition Classes
    Data
  127. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  128. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  129. def isReg: Boolean
    Definition Classes
    Data
  130. def isRegOnAssign: Boolean
    Definition Classes
    Data
  131. final def isSlaveInterface: Boolean

    Are port directions set for a Master interface?

    Are port directions set for a Master interface?

    Definition Classes
    IMasterSlave
  132. def isUnnamed: Boolean
    Definition Classes
    NameableByComponentNameable
  133. def m2sPipe(): Apb4
  134. val name: String
    Definition Classes
    Nameable
  135. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  136. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  137. def noBackendCombMerge(): Apb4.this.type

    Put the combinatorial logic driving this signal in a separate process

    Put the combinatorial logic driving this signal in a separate process

    Definition Classes
    Data
  138. def noCombLoopCheck(): Apb4.this.type

    Disable combinatorial loop checking for this Data

    Disable combinatorial loop checking for this Data

    See https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Design%20errors/combinatorial_loop.html

    Definition Classes
    Data
  139. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  140. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  141. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  142. def overrideLocalName(name: String): Apb4.this.type
    Definition Classes
    Nameable
  143. val parent: Data
    Definition Classes
    Data
  144. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  145. def pull(propagateName: Boolean): Apb4.this.type
    Definition Classes
    Data
  146. def pull(): Apb4.this.type

    Pull a signal to the top level (use for debugging)

    Pull a signal to the top level (use for debugging)

    Definition Classes
    Data
  147. def purify(): Apb4.this.type
    Definition Classes
    Data
  148. def randBoot(u: Unit): Apb4.this.type

    Useful for register that doesn't need a reset value in RTL, but need a random value for simulation (avoid x-propagation)

    Useful for register that doesn't need a reset value in RTL, but need a random value for simulation (avoid x-propagation)

    Definition Classes
    Data
  149. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  150. def reflectNames(): Unit
    Definition Classes
    Nameable
  151. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): Apb4.this.type
    Definition Classes
    Data
  152. def removeDataAssignments(): Apb4.this.type
    Definition Classes
    Data
  153. def removeInitAssignments(): Apb4.this.type
    Definition Classes
    Data
  154. def removeTag(spinalTag: SpinalTag): Apb4.this.type
    Definition Classes
    SpinalTagReady
  155. def removeTags(tags: Iterable[SpinalTag]): Apb4.this.type
    Definition Classes
    SpinalTagReady
  156. def resized: Apb4.this.type

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  157. def rootIF(): Interface

    root interface

    root interface

    Definition Classes
    Data
  158. def rootIFList(): List[Interface]
    Definition Classes
    Data
  159. def rootIFrec(now: Data, lastRoot: List[Interface]): List[Interface]
    Definition Classes
    Data
  160. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  161. def setAll(): Apb4.this.type
    Definition Classes
    Data
  162. def setAsAnalog(): Apb4.this.type
    Definition Classes
    Data
  163. def setAsComb(): Apb4.this.type

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    MultiDataData
  164. def setAsDirectionLess(): Apb4.this.type

    remove the direction (in,out,inout) to a data

    remove the direction (in,out,inout) to a data

    Definition Classes
    MultiDataData
  165. final def setAsMaster(): Unit

    Set as master interface

    Set as master interface

    Definition Classes
    IMasterSlave
  166. def setAsReg(): Apb4.this.type

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    MultiDataData
  167. final def setAsSlave(): Unit

    Set a slave interface

    Set a slave interface

    Definition Classes
    IMasterSlave
  168. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Apb4.this.type
    Definition Classes
    Nameable
  169. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Apb4.this.type
    Definition Classes
    Nameable
  170. def setCompositeName(nameable: Nameable, postfix: String): Apb4.this.type
    Definition Classes
    Nameable
  171. def setCompositeName(nameable: Nameable, namePriority: Byte): Apb4.this.type
    Definition Classes
    Nameable
  172. def setCompositeName(nameable: Nameable, weak: Boolean): Apb4.this.type
    Definition Classes
    Nameable
  173. def setCompositeName(nameable: Nameable): Apb4.this.type
    Definition Classes
    Nameable
  174. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): Apb4.this.type
    Definition Classes
    Nameable
  175. def setName(name: String, namePriority: Byte): Apb4.this.type
    Definition Classes
    Nameable
  176. def setName(name: String, weak: Boolean): Apb4.this.type
    Definition Classes
    Nameable
  177. def setName(name: String): Apb4.this.type
    Definition Classes
    Nameable
  178. def setNameAsWeak(): Apb4.this.type
    Definition Classes
    Nameable
  179. def setOutputAsReg(): Apb4.this.type

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

    Definition Classes
    Data
  180. def setPartialName(name: String, namePriority: Byte, owner: Any): Apb4.this.type
    Definition Classes
    Nameable
  181. def setPartialName(name: String, namePriority: Byte): Apb4.this.type
    Definition Classes
    Nameable
  182. def setPartialName(name: String, weak: Boolean): Apb4.this.type
    Definition Classes
    Nameable
  183. def setPartialName(owner: Nameable, name: String, namePriority: Byte): Apb4.this.type
    Definition Classes
    Nameable
  184. def setPartialName(owner: Nameable, name: String, weak: Boolean): Apb4.this.type
    Definition Classes
    Nameable
  185. def setPartialName(name: String): Apb4.this.type
    Definition Classes
    Nameable
  186. def setPartialName(owner: Nameable, name: String): Apb4.this.type
    Definition Classes
    Nameable
  187. def setPartialName(owner: Nameable): Apb4.this.type
    Definition Classes
    Nameable
  188. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  189. def setScalaLocated(source: ScalaLocated): Apb4.this.type
    Definition Classes
    ScalaLocated
  190. def setWeakName(name: String): Apb4.this.type
    Definition Classes
    Nameable
  191. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  192. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  193. def toIo(): Apb4.this.type
    Definition Classes
    Data
  194. def toMuxInput[T <: Data](muxOutput: T): T
    Definition Classes
    Data
  195. def toString(): String
    Definition Classes
    BundleNameable → AnyRef → Any
  196. def unfreeze(): Apb4.this.type
    Definition Classes
    MultiDataData
  197. def unsetName(): Apb4.this.type
    Definition Classes
    Nameable
  198. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  199. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  200. def valCallbackRec(ref: Any, name: String): Unit
    Definition Classes
    BundleValCallbackRec
  201. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  202. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  203. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  204. def wrapNext(): Apb4.this.type
    Definition Classes
    Data
  205. def zipByName(that: MultiData, rec: ArrayBuffer[(BaseType, BaseType)] = ArrayBuffer()): ArrayBuffer[(BaseType, BaseType)]
    Definition Classes
    MultiData

Deprecated Value Members

  1. def asDirectionLess(): Apb4.this.type
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version ???) use setAsDirectionLess instead

  2. def asMaster(): Unit

    Override it to define port directions for a master interface.

    Override it to define port directions for a master interface.

    Definition Classes
    Apb4IMasterSlave
    Deprecated

    This method must be overriden but not called. Calling this method is not correct. Call setAsMaster() or intoMaster() instead. This method is named asXxx but it does not return Xxx. This method does not update isMasterInterface and isSlaveInterface.

  3. def asSlave(): Unit

    Override it to define port directions for a master interface.

    Override it to define port directions for a master interface.

    If not overriden, defaults to the opposite port directions of asMaster().

    Definition Classes
    IMasterSlave
    Deprecated

    This method can be overriden but not called. Calling this method is not correct. Call setAsSlave() or intoSlave() instead. This method is named asXxx but it does not return Xxx. This method does not update isMasterInterface and isSlaveInterface.

  4. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  5. def genIf(cond: Boolean): Apb4.this.type

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    does not work with <>, use 'someBool generate Type()' or 'if(condition) Type() else null' instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from IMasterSlave

Inherited from Bundle

Inherited from ValCallbackRec

Inherited from ValCallback

Inherited from MultiData

Inherited from Data

Inherited from InComponent

Inherited from OverridedEqualsHashCode

Inherited from SpinalTagReady

Inherited from Assignable

Inherited from NameableByComponent

Inherited from Nameable

Inherited from OwnableRef

Inherited from ContextUser

Inherited from ScalaLocated

Inherited from GlobalDataUser

Inherited from AnyRef

Inherited from Any

Ungrouped