Class

spinal.lib.bus.bram

BRAM

Related Doc: package bram

Permalink

case class BRAM(config: BRAMConfig) extends Bundle with IMasterSlave with Product with Serializable

Bus BRAM definition

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

Instance Constructors

  1. new BRAM(config: BRAMConfig)

    Permalink

Type Members

  1. abstract type RefOwnerType

    Permalink
    Definition Classes
    OwnableRef

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. def ##(right: Data): Bits

    Permalink

    Concatenation between two data

    Concatenation between two data

    Definition Classes
    Data
  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. def <<(sink: BRAM): Unit

    Permalink

    Slave << Master

  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >>(sink: BRAM): Unit

    Permalink

    Connect two BRAM bus together Master >> Slave

  7. var _spinalTags: Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  8. def addAttribute(attribute: Attribute): BRAM.this.type

    Permalink
    Definition Classes
    DataSpinalTagReady
  9. def addAttribute(name: String, value: String): BRAM.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  10. def addAttribute(name: String): BRAM.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  11. def addTag[T <: SpinalTag](spinalTag: T): BRAM.this.type

    Permalink
    Definition Classes
    MultiDataSpinalTagReady
  12. def addTags[T <: SpinalTag](tags: Iterable[T]): BRAM.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  13. val addr: UInt

    Permalink
  14. def allowDirectionLessIo: BRAM.this.type

    Permalink
    Definition Classes
    Data
  15. def allowOverride: BRAM.this.type

    Permalink

    Allow a data to be overrided

    Allow a data to be overrided

    Definition Classes
    Data
  16. def allowPruning(): BRAM.this.type

    Permalink
    Definition Classes
    Data
  17. def allowSimplifyIt(): BRAM.this.type

    Permalink
    Definition Classes
    Data
  18. def allowUnsetRegToAvoidLatch: BRAM.this.type

    Permalink
    Definition Classes
    Data
  19. def asBits: Bits

    Permalink

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    MultiDataData
  20. def asData: Data

    Permalink
    Definition Classes
    Data
  21. def asInOut(): BRAM.this.type

    Permalink

    set a data as inout

    set a data as inout

    Definition Classes
    MultiDataData
  22. def asInput(): BRAM.this.type

    Permalink

    Set a data as input

    Set a data as input

    Definition Classes
    MultiDataData
  23. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  24. def asMaster(): Unit

    Permalink

    Set the direction of the bus when it is used as master

    Set the direction of the bus when it is used as master

    Definition Classes
    BRAMIMasterSlave
  25. def asOutput(): BRAM.this.type

    Permalink

    Set a data as output

    Set a data as output

    Definition Classes
    MultiDataData
  26. def asSlave(): Unit

    Permalink
    Definition Classes
    IMasterSlave
  27. def assignAllByName(that: Bundle): Unit

    Permalink

    Assign the bundle with an other bundle by name

    Assign the bundle with an other bundle by name

    Definition Classes
    Bundle
  28. def assignDontCare(): BRAM.this.type

    Permalink
    Definition Classes
    Data
  29. final def assignFrom(that: AnyRef, target: AnyRef = this): Unit

    Permalink
    Definition Classes
    Data
  30. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit

    Permalink
    Definition Classes
    MultiDataData
  31. def assignFromBits(bits: Bits): Unit

    Permalink
    Definition Classes
    MultiDataData
  32. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit

    Permalink
    Definition Classes
    Data
  33. def assignSomeByName(that: Bundle): Unit

    Permalink

    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
  34. def clone(): Bundle

    Permalink
    Definition Classes
    BundleData → AnyRef
  35. var cloneFunc: () ⇒ AnyRef

    Permalink
    Definition Classes
    Bundle
  36. def component: Component

    Permalink
    Definition Classes
    ContextUser
  37. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef): Unit

    Permalink
    Definition Classes
    Assignable
  38. var compositeAssign: Assignable

    Permalink
    Definition Classes
    Assignable
  39. val config: BRAMConfig

    Permalink
  40. def dirString(): String

    Permalink
    Definition Classes
    Data
  41. def dontSimplifyIt(): BRAM.this.type

    Permalink
    Definition Classes
    Data
  42. def elements: ArrayBuffer[(String, Data)]

    Permalink

    Return all element of the bundle

    Return all element of the bundle

    Definition Classes
    BundleMultiData
  43. def elementsString: String

    Permalink
    Definition Classes
    MultiData
  44. val en: Bool

    Permalink
  45. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  46. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  47. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  48. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  49. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  50. def find(name: String): Data

    Permalink
    Definition Classes
    MultiData
  51. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  52. def flatten: Seq[BaseType]

    Permalink
    Definition Classes
    MultiDataData
  53. def flattenForeach(body: (BaseType) ⇒ Unit): Unit

    Permalink
    Definition Classes
    MultiDataData
  54. def flattenLocalName: Seq[String]

    Permalink
    Definition Classes
    MultiDataData
  55. def flip(): BRAM.this.type

    Permalink

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    MultiDataData
  56. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Nameable
  57. def genIf(cond: Boolean): BRAM.this.type

    Permalink

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
  58. def getBitsWidth: Int

    Permalink

    Return the width of the data

    Return the width of the data

    Definition Classes
    MultiDataData
  59. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  60. def getComponent(): Component

    Permalink
    Definition Classes
    DataNameableByComponent
  61. def getComponents(): Seq[Component]

    Permalink

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    Data
  62. def getDisplayName(): String

    Permalink
    Definition Classes
    Nameable
  63. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  64. def getMode: Byte

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  65. def getName(default: String): String

    Permalink
    Definition Classes
    NameableByComponentNameable
  66. def getName(): String

    Permalink
    Definition Classes
    Nameable
  67. def getRealSource: Any

    Permalink
    Definition Classes
    Assignable
  68. def getRealSourceNoRec: Any

    Permalink
    Definition Classes
    DataAssignable
  69. def getRefOwnersChain(): List[Any]

    Permalink
    Definition Classes
    OwnableRef
  70. def getRootParent: Data

    Permalink
    Definition Classes
    Data
  71. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  72. def getScalaLocationShort: String

    Permalink
    Definition Classes
    ScalaLocated
  73. def getScalaTrace(): Throwable

    Permalink
    Definition Classes
    ScalaLocated
  74. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]

    Permalink
    Definition Classes
    SpinalTagReady
  75. def getTags(): Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  76. def getTypeString: String

    Permalink
    Definition Classes
    Bundle
  77. def getZero: BRAM.this.type

    Permalink

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    MultiDataData
  78. val globalData: GlobalData

    Permalink
    Definition Classes
    GlobalDataUser
  79. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  80. def hasTag(spinalTag: SpinalTag): Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  81. def hashCode(): Int

    Permalink
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  82. final def initFrom(that: AnyRef, target: AnyRef = this): Unit

    Permalink
    Definition Classes
    Data
  83. def instanceAttributes(language: Language): Iterable[Attribute]

    Permalink
    Definition Classes
    SpinalTagReady
  84. def instanceAttributes: Iterable[Attribute]

    Permalink
    Definition Classes
    SpinalTagReady
  85. def isAnalog: Boolean

    Permalink
    Definition Classes
    Data
  86. def isComb: Boolean

    Permalink
    Definition Classes
    Data
  87. def isDirectionLess: Boolean

    Permalink
    Definition Classes
    Data
  88. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  89. def isInOut: Boolean

    Permalink
    Definition Classes
    Data
  90. def isInput: Boolean

    Permalink
    Definition Classes
    Data
  91. def isInputOrInOut: Boolean

    Permalink
    Definition Classes
    Data
  92. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  93. var isMasterInterface: Boolean

    Permalink
    Definition Classes
    IMasterSlave
  94. def isNamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  95. def isOutput: Boolean

    Permalink
    Definition Classes
    Data
  96. def isOutputOrInOut: Boolean

    Permalink
    Definition Classes
    Data
  97. def isPriorityApplicable(namePriority: Byte): Boolean

    Permalink
    Definition Classes
    Nameable
  98. def isReg: Boolean

    Permalink
    Definition Classes
    Data
  99. def isUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  100. def keep(): BRAM.this.type

    Permalink
    Definition Classes
    Data
  101. var name: String

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  102. var nameableRef: Nameable

    Permalink
    Attributes
    protected
    Definition Classes
    Nameable
  103. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  104. def noBackendCombMerge: BRAM.this.type

    Permalink
    Definition Classes
    Data
  105. def noCombLoopCheck: BRAM.this.type

    Permalink
    Definition Classes
    Data
  106. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  107. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  108. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  109. var parent: Data

    Permalink
    Definition Classes
    Data
  110. var parentScope: ScopeStatement

    Permalink
    Definition Classes
    ContextUser
  111. def pull(): BRAM.this.type

    Permalink

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

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

    Definition Classes
    Data
  112. def purify(): BRAM.this.type

    Permalink
    Definition Classes
    Data
  113. def randBoot(): BRAM.this.type

    Permalink

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

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

    Definition Classes
    Data
  114. val rddata: Bits

    Permalink
  115. var refOwner: RefOwnerType

    Permalink
    Definition Classes
    OwnableRef
  116. def removeAssignments(): BRAM.this.type

    Permalink
    Definition Classes
    Data
  117. def removeTag(spinalTag: SpinalTag): BRAM.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  118. def removeTags(tags: Iterable[SpinalTag]): BRAM.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  119. def resized: BRAM.this.type

    Permalink

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  120. def setAsAnalog(): BRAM.this.type

    Permalink
    Definition Classes
    Data
  121. def setAsComb(): BRAM.this.type

    Permalink

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    MultiDataData
  122. def setAsDirectionLess(): BRAM.this.type

    Permalink

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

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

    Definition Classes
    MultiDataData
  123. def setAsReg(): BRAM.this.type

    Permalink

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    MultiDataData
  124. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  125. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  126. def setCompositeName(nameable: Nameable, postfix: String): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  127. def setCompositeName(nameable: Nameable, namePriority: Byte): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  128. def setCompositeName(nameable: Nameable, weak: Boolean): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  129. def setCompositeName(nameable: Nameable): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  130. def setName(name: String, namePriority: Byte): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  131. def setName(name: String, weak: Boolean): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  132. def setName(name: String): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  133. def setPartialName(name: String, namePriority: Byte): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  134. def setPartialName(name: String, weak: Boolean): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  135. def setPartialName(owner: Nameable, name: String, namePriority: Byte): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  136. def setPartialName(owner: Nameable, name: String, weak: Boolean): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  137. def setPartialName(name: String): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  138. def setPartialName(owner: Nameable, name: String): BRAM.this.type

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

    Permalink
    Definition Classes
    OwnableRef
  140. def setScalaLocated(source: ScalaLocated): BRAM.this.type

    Permalink
    Definition Classes
    ScalaLocated
  141. def setWeakName(name: String): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  142. def spinalTags: Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  143. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  144. def toString(): String

    Permalink
    Definition Classes
    BundleNameable → AnyRef → Any
  145. def unsetName(): BRAM.this.type

    Permalink
    Definition Classes
    Nameable
  146. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  149. val we: Bits

    Permalink
  150. val wrdata: Bits

    Permalink

Deprecated Value Members

  1. def asDirectionLess(): BRAM.this.type

    Permalink
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    use setAsDirectionLess instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from IMasterSlave

Inherited from Bundle

Inherited from OverridedEqualsHashCode

Inherited from MultiData

Inherited from Data

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