Packages

c

spinal.core

Ram_Generic

class Ram_Generic extends BlackBox

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ram_Generic
  2. BlackBox
  3. Component
  4. ValCallbackRec
  5. ValCallback
  6. OverridedEqualsHashCode
  7. SpinalTagReady
  8. Stackable
  9. PostInitCallback
  10. NameableByComponent
  11. Nameable
  12. ContextUser
  13. ScalaLocated
  14. GlobalDataUser
  15. OwnableRef
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Ram_Generic(topo: MemTopology, utils: PhaseMemBlackBoxingWithPolicy)

Type Members

  1. case class PrePopTask(task: () ⇒ Unit) extends Product with Serializable

    Class used to create a task that must be executed after the creation of the component

    Class used to create a task that must be executed after the creation of the component

    Definition Classes
    Component
  2. 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 _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  5. def addAttribute(attribute: Attribute): Ram_Generic.this.type
    Definition Classes
    ComponentSpinalTagReady
  6. def addAttribute(name: String, value: Int): Ram_Generic.this.type
    Definition Classes
    SpinalTagReady
  7. def addAttribute(name: String, value: String): Ram_Generic.this.type
    Definition Classes
    SpinalTagReady
  8. def addAttribute(name: String): Ram_Generic.this.type
    Definition Classes
    SpinalTagReady
  9. def addComment(str: String): Component
    Definition Classes
    Component
  10. def addGeneric(name: String, that: Any): Unit
    Definition Classes
    BlackBox
  11. def addGenerics(l: (String, Any)*): Unit
    Definition Classes
    BlackBox
  12. def addPrePopTask(task: () ⇒ Unit): ArrayBuffer[PrePopTask]

    Add a new prePopTask

    Add a new prePopTask

    Definition Classes
    Component
  13. def addRTLPath(path: String): LinkedHashSet[String]

    Add the path of the rtl file

    Add the path of the rtl file

    Definition Classes
    BlackBox
  14. def addTag[T <: SpinalTag](spinalTag: T): Ram_Generic.this.type
    Definition Classes
    SpinalTagReady
  15. def addTags(h: SpinalTag, tail: SpinalTag*): Ram_Generic.this.type
    Definition Classes
    SpinalTagReady
  16. def addTags[T <: SpinalTag](tags: Iterable[T]): Ram_Generic.this.type
    Definition Classes
    SpinalTagReady
  17. def afterElaboration(body: ⇒ Unit): ArrayBuffer[PrePopTask]
    Definition Classes
    Component
  18. def asFormalDut(): Ram_Generic.this.type
    Definition Classes
    Component
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. val children: ArrayBuffer[Component]

    Contains an array of all children Component

    Contains an array of all children Component

    Definition Classes
    Component
  21. def clearBlackBox(): Unit
    Definition Classes
    BlackBox
  22. val clockDomain: Handle[ClockDomain]

    Get the current clock domain (null if there is no clock domain already set )

    Get the current clock domain (null if there is no clock domain already set )

    Definition Classes
    Component
  23. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  24. def component: Component
    Definition Classes
    ContextUser
  25. val definition: $anon forSome {type $anon <: SpinalTagReady { def addComment(str: String): $anon }}
    Definition Classes
    Component
  26. var definitionName: String

    Definition Name (name of the entity (VHDL) or module (Verilog))

    Definition Name (name of the entity (VHDL) or module (Verilog))

    Definition Classes
    Component
  27. var definitionNameNoMerge: Boolean
    Definition Classes
    Component
  28. val dslBody: ScopeStatement
    Definition Classes
    Component
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  31. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
    Definition Classes
    SpinalTagReady
  32. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  33. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  34. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  35. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  36. val genericElements: ArrayBuffer[(String, Any)]
    Definition Classes
    BlackBox
  37. def getAllIo: Set[BaseType]

    Get a set of all IO available in the component

    Get a set of all IO available in the component

    Definition Classes
    Component
  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  39. def getDisplayName(): String
    Definition Classes
    ComponentNameable
  40. def getGeneric: Generic

    Return the generic of the blackbox

    Return the generic of the blackbox

    Definition Classes
    BlackBox
  41. def getGroupedIO(ioBundleBypass: Boolean): Seq[Data]
    Definition Classes
    Component
  42. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  43. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  44. def getName(default: String): String
    Definition Classes
    NameableByComponentNameable
  45. def getName(): String
    Definition Classes
    NameableByComponentNameable
  46. def getOrdredNodeIo: List[BaseType]

    Sort all IO regarding instanceCounter

    Sort all IO regarding instanceCounter

    Definition Classes
    Component
  47. def getParentsPath(sep: String = "/"): String

    Return the path of the parent

    Return the path of the parent

    Definition Classes
    Component
    Example:
    1. toplevel/[myComponent1] // Current component is myComponent2
  48. def getPartialName(): String
    Definition Classes
    Nameable
  49. def getPath(sep: String = "/"): String

    Return the path of the component

    Return the path of the component

    Definition Classes
    Component
    Example:
    1. toplevel/[myComponent1]/[myComponent2] // Current component is myComponent2
  50. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  51. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  52. def getRtlPath(separator: String = "/"): String
    Definition Classes
    Component
  53. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  54. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  55. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  56. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  57. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  58. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  59. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  60. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  61. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  62. var impl: BlackBoxImpl
    Definition Classes
    BlackBox
  63. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  64. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  65. def isBlackBox: Boolean
    Definition Classes
    BlackBox
  66. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  67. def isDefaultGenericValue: Boolean
    Definition Classes
    BlackBox
  68. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  69. var isFormalTester: Boolean
    Definition Classes
    Component
  70. def isInBlackBoxTree: Boolean
    Definition Classes
    BlackBoxComponent
  71. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  72. def isLogicLess: Boolean
    Definition Classes
    Component
  73. final def isNamed: Boolean
    Definition Classes
    Nameable
  74. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  75. var isSpinalSimWb: Boolean
    Definition Classes
    BlackBox
  76. def isUnnamed: Boolean
    Definition Classes
    NameableByComponentNameable
  77. def isUsingNoNumericType: Boolean

    Return true if the blackbox used the tag noNumericType

    Return true if the blackbox used the tag noNumericType

    Definition Classes
    BlackBox
  78. def isUsingULogic: Boolean

    Return true if the blackbox used std_ulogic

    Return true if the blackbox used std_ulogic

    Definition Classes
    BlackBox
  79. val librariesUsages: HashSet[String]
    Definition Classes
    BlackBox
  80. val listRTLPath: LinkedHashSet[String]
    Definition Classes
    BlackBox
  81. var localNamingScope: NamingScope

    Name allocation

    Name allocation

    Definition Classes
    Component
  82. def mapClockDomain(clockDomain: ClockDomain = ClockDomain.current, clock: Bool = null, reset: Bool = null, enable: Bool = null, resetActiveLevel: Polarity = HIGH, enableActiveLevel: Polarity = HIGH): Unit

    Map clock domain signals (clock, reset, enable) to a clockDomain

    Map clock domain signals (clock, reset, enable) to a clockDomain

    Definition Classes
    BlackBox
  83. def mapCurrentClockDomain(clock: Bool, reset: Bool = null, enable: Bool = null, resetActiveLevel: Polarity = HIGH, enableActiveLevel: Polarity = HIGH): Unit

    Map clock domains signal to the current ClockDomain

    Map clock domains signal to the current ClockDomain

    Definition Classes
    BlackBox
  84. val name: String
    Definition Classes
    Nameable
  85. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  86. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  87. def noIoPrefix(): Ram_Generic.this.type

    No "io_" prefix in front of the in/out signals

    No "io_" prefix in front of the in/out signals

    Definition Classes
    Component
  88. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  89. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  90. def onBody[T](body: ⇒ T): T
    Definition Classes
    Component
  91. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  92. def overrideLocalName(name: String): Ram_Generic.this.type
    Definition Classes
    Nameable
  93. def parent: Component

    Get the parent component (null if there is no parent)

    Get the parent component (null if there is no parent)

    Definition Classes
    Component
  94. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  95. def parents(of: Component = this, list: List[Component] = Nil): List[Component]

    Return a list of all parents of the components

    Return a list of all parents of the components

    Definition Classes
    Component
  96. def postInitCallback(): Ram_Generic.this.type
    Definition Classes
    Component → PostInitCallback
  97. def postPopEvent(): Unit
    Definition Classes
    Stackable
  98. def postPushEvent(): Unit
    Definition Classes
    ComponentStackable
  99. def prePop(): Unit
    Definition Classes
    Component
  100. def prePopEvent(): Unit
    Definition Classes
    ComponentStackable
  101. var pulledDataCache: Map[Data, Data]
    Definition Classes
    Component
  102. val ra: ArrayBuffer[Area { ... /* 2 definitions in type refinement */ }]
  103. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  104. def reflectBaseType(name: String): BaseType
    Definition Classes
    Component
  105. def reflectNames(): Unit
    Definition Classes
    Nameable
  106. def removeTag(spinalTag: SpinalTag): Ram_Generic.this.type
    Definition Classes
    SpinalTagReady
  107. def removeTags(tags: Iterable[SpinalTag]): Ram_Generic.this.type
    Definition Classes
    SpinalTagReady
  108. def replaceStdLogicByStdULogic(): BlackBox

    Replace std_logic by std_ulogic

    Replace std_logic by std_ulogic

    Definition Classes
    BlackBox
  109. def rework[T](gen: ⇒ T): T
    Definition Classes
    Component
  110. val rs: ArrayBuffer[Area { ... /* 4 definitions in type refinement */ }]
  111. val rw: ArrayBuffer[Area { ... /* 8 definitions in type refinement */ }]
  112. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  113. val scopeProperties: Capture

    Rework the component

    Rework the component

    Definition Classes
    Component
  114. def setBlackBox(): Unit
    Definition Classes
    BlackBox
  115. def setBlackBoxName(name: String): Ram_Generic.this.type

    Set the name of the blackbox

    Set the name of the blackbox

    Definition Classes
    BlackBox
  116. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Ram_Generic.this.type
    Definition Classes
    Nameable
  117. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): Ram_Generic.this.type
    Definition Classes
    Nameable
  118. def setCompositeName(nameable: Nameable, postfix: String): Ram_Generic.this.type
    Definition Classes
    Nameable
  119. def setCompositeName(nameable: Nameable, namePriority: Byte): Ram_Generic.this.type
    Definition Classes
    Nameable
  120. def setCompositeName(nameable: Nameable, weak: Boolean): Ram_Generic.this.type
    Definition Classes
    Nameable
  121. def setCompositeName(nameable: Nameable): Ram_Generic.this.type
    Definition Classes
    Nameable
  122. def setDefinitionName(name: String, noMerge: Boolean = true): Ram_Generic.this.type

    Set the definition name of the component

    Set the definition name of the component

    Definition Classes
    Component
  123. def setFormalTester(): Unit
    Definition Classes
    Component
  124. def setInline(impl: BlackBoxImpl): Unit
    Definition Classes
    BlackBox
  125. def setInlineVerilog(str: String): Unit
    Definition Classes
    BlackBox
  126. def setInlineVhdl(str: String): Unit
    Definition Classes
    BlackBox
  127. def setIoCd(cd: ClockDomain = this.clockDomain): Unit
    Definition Classes
    BlackBox
  128. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): Ram_Generic.this.type
    Definition Classes
    Nameable
  129. def setName(name: String, namePriority: Byte): Ram_Generic.this.type
    Definition Classes
    Nameable
  130. def setName(name: String, weak: Boolean): Ram_Generic.this.type
    Definition Classes
    Nameable
  131. def setName(name: String): Ram_Generic.this.type
    Definition Classes
    Nameable
  132. def setNameAsWeak(): Ram_Generic.this.type
    Definition Classes
    Nameable
  133. def setPartialName(name: String, namePriority: Byte, owner: Any): Ram_Generic.this.type
    Definition Classes
    Nameable
  134. def setPartialName(name: String, namePriority: Byte): Ram_Generic.this.type
    Definition Classes
    Nameable
  135. def setPartialName(name: String, weak: Boolean): Ram_Generic.this.type
    Definition Classes
    Nameable
  136. def setPartialName(owner: Nameable, name: String, namePriority: Byte): Ram_Generic.this.type
    Definition Classes
    Nameable
  137. def setPartialName(owner: Nameable, name: String, weak: Boolean): Ram_Generic.this.type
    Definition Classes
    Nameable
  138. def setPartialName(name: String): Ram_Generic.this.type
    Definition Classes
    Nameable
  139. def setPartialName(owner: Nameable, name: String): Ram_Generic.this.type
    Definition Classes
    Nameable
  140. def setPartialName(owner: Nameable): Ram_Generic.this.type
    Definition Classes
    Nameable
  141. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  142. def setScalaLocated(source: ScalaLocated): Ram_Generic.this.type
    Definition Classes
    ScalaLocated
  143. def setWeakName(name: String): Ram_Generic.this.type
    Definition Classes
    Nameable
  144. def spinalSimWhiteBox(): Unit
    Definition Classes
    BlackBox
  145. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  146. def stub(): Ram_Generic.this.type

    Empty Component, remove logic in component and assign zero on output port as stub

    Empty Component, remove logic in component and assign zero on output port as stub

    Definition Classes
    Component
    Example:
    1. val dut = (new MyComponent).stub()
  147. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  148. def toString(): String
    Definition Classes
    Nameable → AnyRef → Any
  149. val topo: MemTopology
  150. def traceDisable(recursive: Boolean = true): Ram_Generic.this.type
    Definition Classes
    Component
  151. def traceEnable(recursive: Boolean = true): Ram_Generic.this.type
    Definition Classes
    Component
  152. var traceEnabled: Boolean
    Definition Classes
    Component
  153. def unsetName(): Ram_Generic.this.type
    Definition Classes
    Nameable
  154. val userCache: Map[Any, Any]

    Used to store arbitrary object related to the component

    Used to store arbitrary object related to the component

    Definition Classes
    Component
  155. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  156. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  157. def valCallbackRec(ref: Any, name: String): Unit
    Definition Classes
    ComponentValCallbackRec
  158. val w: ArrayBuffer[Area { ... /* 6 definitions in type refinement */ }]
  159. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  160. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  161. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  162. def walkComponents(body: (Component) ⇒ Unit): Unit
    Definition Classes
    Component
  163. def withAutoPull(): Unit
    Definition Classes
    Component
  164. var withHierarchyAutoPull: Boolean
    Definition Classes
    Component
  165. def withKeywords(): Unit
    Definition Classes
    Component
  166. var withVitalOutputs: Boolean
    Definition Classes
    Component
  167. def withoutKeywords(): Unit
    Definition Classes
    Component
  168. var withoutReservedKeywords: Boolean
    Definition Classes
    Component
  169. def wrapBool(that: Expression): Bool
  170. def wrapConsumers(oldSource: Expression, newSource: Expression): Unit

Deprecated Value Members

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

Inherited from BlackBox

Inherited from Component

Inherited from ValCallbackRec

Inherited from ValCallback

Inherited from OverridedEqualsHashCode

Inherited from SpinalTagReady

Inherited from Stackable

Inherited from PostInitCallback

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