Class

spinal.core

Ram_2wrs

Related Doc: package core

Permalink

class Ram_2wrs extends BlackBox

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ram_2wrs
  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_2wrs(wordWidth: Int, wordCount: Int, technology: MemTechnologyKind, portA_readUnderWrite: ReadUnderWritePolicy = dontCare, portA_duringWrite: DuringWritePolicy = dontCare, portA_clock: ClockDomain, portA_addressWidth: Int, portA_dataWidth: Int, portA_maskWidth: Int, portA_maskEnable: Boolean, portB_readUnderWrite: ReadUnderWritePolicy = dontCare, portB_duringWrite: DuringWritePolicy = dontCare, portB_clock: ClockDomain, portB_addressWidth: Int, portB_dataWidth: Int, portB_maskWidth: Int, portB_maskEnable: Boolean)

    Permalink

Type Members

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

    Permalink

    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

    Permalink
    Definition Classes
    OwnableRef

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var _spinalTags: LinkedHashSet[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  5. def addAttribute(attribute: Attribute): Ram_2wrs.this.type

    Permalink
    Definition Classes
    ComponentSpinalTagReady
  6. def addAttribute(name: String, value: Int): Ram_2wrs.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  7. def addAttribute(name: String, value: String): Ram_2wrs.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  8. def addAttribute(name: String): Ram_2wrs.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  9. def addComment(str: String): Component

    Permalink
    Definition Classes
    Component
  10. def addGeneric(name: String, that: Any): Unit

    Permalink
    Definition Classes
    BlackBox
  11. def addGenerics(l: (String, Any)*): Unit

    Permalink
    Definition Classes
    BlackBox
  12. def addPrePopTask(task: () ⇒ Unit): ArrayBuffer[PrePopTask]

    Permalink

    Add a new prePopTask

    Add a new prePopTask

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

    Permalink

    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_2wrs.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  15. def addTags(h: SpinalTag, tail: SpinalTag*): Ram_2wrs.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  16. def addTags[T <: SpinalTag](tags: Iterable[T]): Ram_2wrs.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  17. def afterElaboration(body: ⇒ Unit): ArrayBuffer[PrePopTask]

    Permalink
    Definition Classes
    Component
  18. def asFormalDut(): Ram_2wrs.this.type

    Permalink
    Definition Classes
    Component
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. val children: ArrayBuffer[Component]

    Permalink

    Contains an array of all children Component

    Contains an array of all children Component

    Definition Classes
    Component
  21. def clearBlackBox(): Unit

    Permalink
    Definition Classes
    BlackBox
  22. val clockDomain: Handle[ClockDomain]

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  24. def component: Component

    Permalink
    Definition Classes
    ContextUser
  25. val definition: $anon forSome {type $anon <: SpinalTagReady { def addComment(str: String): $anon }}

    Permalink
    Definition Classes
    Component
  26. var definitionName: String

    Permalink

    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

    Permalink
    Definition Classes
    Component
  28. val dslBody: ScopeStatement

    Permalink
    Definition Classes
    Component
  29. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  34. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Nameable
  35. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  36. val genericElements: ArrayBuffer[(String, Any)]

    Permalink
    Definition Classes
    BlackBox
  37. def getAllIo: Set[BaseType]

    Permalink

    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[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  39. def getDisplayName(): String

    Permalink
    Definition Classes
    ComponentNameable
  40. def getGeneric: Generic

    Permalink

    Return the generic of the blackbox

    Return the generic of the blackbox

    Definition Classes
    BlackBox
  41. def getGroupedIO(ioBundleBypass: Boolean): Seq[Data]

    Permalink
    Definition Classes
    Component
  42. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  43. def getMode: Byte

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

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

    Permalink
    Definition Classes
    NameableByComponentNameable
  46. def getOrdredNodeIo: List[BaseType]

    Permalink

    Sort all IO regarding instanceCounter

    Sort all IO regarding instanceCounter

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

    Permalink

    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

    Permalink
    Definition Classes
    Nameable
  49. def getPath(sep: String = "/"): String

    Permalink

    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]

    Permalink
    Definition Classes
    NameableByComponent
  51. def getRefOwnersChain(): List[Any]

    Permalink
    Definition Classes
    OwnableRef
  52. def getRtlPath(separator: String = "/"): String

    Permalink
    Definition Classes
    Component
  53. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  54. def getScalaLocationShort: String

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  57. def getTags(): LinkedHashSet[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  58. def getTagsOf[T <: SpinalTag]()(implicit tag: ClassTag[T]): Iterable[T]

    Permalink
    Definition Classes
    SpinalTagReady
  59. var globalData: GlobalData

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

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

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

    Permalink
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  63. var impl: BlackBoxImpl

    Permalink
    Definition Classes
    BlackBox
  64. def instanceAttributes(language: Language): Iterable[Attribute]

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

    Permalink
    Definition Classes
    SpinalTagReady
  66. val io: Bundle { ... /* 2 definitions in type refinement */ }

    Permalink
  67. def isBlackBox: Boolean

    Permalink
    Definition Classes
    BlackBox
  68. def isCompletelyUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  69. def isDefaultGenericValue: Boolean

    Permalink
    Definition Classes
    BlackBox
  70. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  71. var isFormalTester: Boolean

    Permalink
    Definition Classes
    Component
  72. def isInBlackBoxTree: Boolean

    Permalink
    Definition Classes
    BlackBoxComponent
  73. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  74. def isLogicLess: Boolean

    Permalink
    Definition Classes
    Component
  75. final def isNamed: Boolean

    Permalink
    Definition Classes
    Nameable
  76. def isPriorityApplicable(namePriority: Byte): Boolean

    Permalink
    Definition Classes
    Nameable
  77. var isSpinalSimWb: Boolean

    Permalink
    Definition Classes
    BlackBox
  78. def isUnnamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  79. def isUsingNoNumericType: Boolean

    Permalink

    Return true if the blackbox used the tag noNumericType

    Return true if the blackbox used the tag noNumericType

    Definition Classes
    BlackBox
  80. def isUsingULogic: Boolean

    Permalink

    Return true if the blackbox used std_ulogic

    Return true if the blackbox used std_ulogic

    Definition Classes
    BlackBox
  81. val librariesUsages: HashSet[String]

    Permalink
    Definition Classes
    BlackBox
  82. val listRTLPath: LinkedHashSet[String]

    Permalink
    Definition Classes
    BlackBox
  83. var localNamingScope: NamingScope

    Permalink

    Name allocation

    Name allocation

    Definition Classes
    Component
  84. def makeInputsAnyseq(): Unit

    Permalink

    Use anyseq on any input signals to this component which do not have existing assignments.

    Use anyseq on any input signals to this component which do not have existing assignments.

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

    Permalink

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

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

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

    Permalink

    Map clock domains signal to the current ClockDomain

    Map clock domains signal to the current ClockDomain

    Definition Classes
    BlackBox
  87. var name: String

    Permalink
    Definition Classes
    Nameable
  88. var nameableRef: Nameable

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

    Permalink
    Definition Classes
    AnyRef
  90. def noIoPrefix(): Ram_2wrs.this.type

    Permalink

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

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

    Definition Classes
    Component
  91. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  92. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  93. def onBody[T](body: ⇒ T): T

    Permalink
    Definition Classes
    Component
  94. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  95. def overrideLocalName(name: String): Ram_2wrs.this.type

    Permalink
    Definition Classes
    Nameable
  96. def parent: Component

    Permalink

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

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

    Definition Classes
    Component
  97. var parentScope: ScopeStatement

    Permalink
    Definition Classes
    ContextUser
  98. def parents(of: Component = this, list: List[Component] = Nil): List[Component]

    Permalink

    Return a list of all parents of the components

    Return a list of all parents of the components

    Definition Classes
    Component
  99. val portA_addressWidth: Int

    Permalink
  100. val portA_clock: ClockDomain

    Permalink
  101. val portA_dataWidth: Int

    Permalink
  102. val portA_duringWrite: DuringWritePolicy

    Permalink
  103. val portA_maskEnable: Boolean

    Permalink
  104. val portA_maskWidth: Int

    Permalink
  105. val portA_readUnderWrite: ReadUnderWritePolicy

    Permalink
  106. val portB_addressWidth: Int

    Permalink
  107. val portB_clock: ClockDomain

    Permalink
  108. val portB_dataWidth: Int

    Permalink
  109. val portB_duringWrite: DuringWritePolicy

    Permalink
  110. val portB_maskEnable: Boolean

    Permalink
  111. val portB_maskWidth: Int

    Permalink
  112. val portB_readUnderWrite: ReadUnderWritePolicy

    Permalink
  113. def postInitCallback(): Ram_2wrs.this.type

    Permalink
    Definition Classes
    Component → PostInitCallback
  114. def postPopEvent(): Unit

    Permalink
    Definition Classes
    Stackable
  115. def postPushEvent(): Unit

    Permalink
    Definition Classes
    ComponentStackable
  116. def prePop(): Unit

    Permalink
    Definition Classes
    Component
  117. def prePopEvent(): Unit

    Permalink
    Definition Classes
    ComponentStackable
  118. var pulledDataCache: Map[Data, Data]

    Permalink
    Definition Classes
    Component
  119. var refOwner: RefOwnerType

    Permalink
    Definition Classes
    OwnableRef
  120. def reflectBaseType(name: String): BaseType

    Permalink
    Definition Classes
    Component
  121. def reflectNames(): Unit

    Permalink
    Definition Classes
    Nameable
  122. def removeTag(spinalTag: SpinalTag): Ram_2wrs.this.type

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

    Permalink
    Definition Classes
    SpinalTagReady
  124. def replaceStdLogicByStdULogic(): BlackBox

    Permalink

    Replace std_logic by std_ulogic

    Replace std_logic by std_ulogic

    Definition Classes
    BlackBox
  125. def rework[T](gen: ⇒ T): T

    Permalink
    Definition Classes
    Component
  126. var scalaTrace: Throwable

    Permalink
    Definition Classes
    ScalaLocated
  127. val scopeProperties: Capture

    Permalink

    Rework the component

    Rework the component

    Definition Classes
    Component
  128. def setBlackBox(): Unit

    Permalink
    Definition Classes
    BlackBox
  129. def setBlackBoxName(name: String): Ram_2wrs.this.type

    Permalink

    Set the name of the blackbox

    Set the name of the blackbox

    Definition Classes
    BlackBox
  130. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Ram_2wrs.this.type

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

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

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

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

    Permalink
    Definition Classes
    Nameable
  135. def setCompositeName(nameable: Nameable): Ram_2wrs.this.type

    Permalink
    Definition Classes
    Nameable
  136. def setDefinitionName(name: String, noMerge: Boolean = true): Ram_2wrs.this.type

    Permalink

    Set the definition name of the component

    Set the definition name of the component

    Definition Classes
    Component
  137. def setFormalTester(): Unit

    Permalink
    Definition Classes
    Component
  138. def setInline(impl: BlackBoxImpl): Unit

    Permalink
    Definition Classes
    BlackBox
  139. def setInlineVerilog(str: String): Unit

    Permalink
    Definition Classes
    BlackBox
  140. def setInlineVhdl(str: String): Unit

    Permalink
    Definition Classes
    BlackBox
  141. def setIoCd(cd: ClockDomain = this.clockDomain): Unit

    Permalink
    Definition Classes
    BlackBox
  142. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): Ram_2wrs.this.type

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

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

    Permalink
    Definition Classes
    Nameable
  145. def setName(name: String): Ram_2wrs.this.type

    Permalink
    Definition Classes
    Nameable
  146. def setNameAsWeak(): Ram_2wrs.this.type

    Permalink
    Definition Classes
    Nameable
  147. def setPartialName(name: String, namePriority: Byte, owner: Any): Ram_2wrs.this.type

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

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

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

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

    Permalink
    Definition Classes
    Nameable
  152. def setPartialName(name: String): Ram_2wrs.this.type

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

    Permalink
    Definition Classes
    Nameable
  154. def setPartialName(owner: Nameable): Ram_2wrs.this.type

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

    Permalink
    Definition Classes
    OwnableRef
  156. def setScalaLocated(source: ScalaLocated): Ram_2wrs.this.type

    Permalink
    Definition Classes
    ScalaLocated
  157. def setWeakName(name: String): Ram_2wrs.this.type

    Permalink
    Definition Classes
    Nameable
  158. def spinalSimWhiteBox(): Unit

    Permalink
    Definition Classes
    BlackBox
  159. def spinalTags: LinkedHashSet[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  160. def stub(): Ram_2wrs.this.type

    Permalink

    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()
  161. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  162. val technology: MemTechnologyKind

    Permalink
  163. def toString(): String

    Permalink
    Definition Classes
    Nameable → AnyRef → Any
  164. def traceDisable(recursive: Boolean = true): Ram_2wrs.this.type

    Permalink
    Definition Classes
    Component
  165. def traceEnable(recursive: Boolean = true): Ram_2wrs.this.type

    Permalink
    Definition Classes
    Component
  166. var traceEnabled: Boolean

    Permalink
    Definition Classes
    Component
  167. def unsetName(): Ram_2wrs.this.type

    Permalink
    Definition Classes
    Nameable
  168. val userCache: Map[Any, Any]

    Permalink

    Used to store arbitrary object related to the component

    Used to store arbitrary object related to the component

    Definition Classes
    Component
  169. def valCallback[T](ref: T, name: String): T

    Permalink
    Definition Classes
    ValCallbackRec → ValCallback
  170. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit

    Permalink
    Definition Classes
    ValCallbackRec
  171. def valCallbackRec(ref: Any, name: String): Unit

    Permalink
    Definition Classes
    ComponentValCallbackRec
  172. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  174. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  175. def walkComponents(body: (Component) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Component
  176. def withAutoPull(): Unit

    Permalink
    Definition Classes
    Component
  177. var withHierarchyAutoPull: Boolean

    Permalink
    Definition Classes
    Component
  178. def withKeywords(): Unit

    Permalink
    Definition Classes
    Component
  179. var withVitalOutputs: Boolean

    Permalink
    Definition Classes
    Component
  180. def withoutKeywords(): Unit

    Permalink
    Definition Classes
    Component
  181. var withoutReservedKeywords: Boolean

    Permalink
    Definition Classes
    Component
  182. val wordCount: Int

    Permalink
  183. val wordWidth: Int

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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