c

vexiiriscv.misc

DivRadix

class DivRadix extends DivComp

Implement a unsigned hardware divided which supports radix 2 and 4 (1 and 2 bits per cycle being solved) Radix 4 is supported by "brutfocfing" all 4 values the next 2 bits of the division could be, and selecting the bigggest fit.

Linear Supertypes
DivComp, Component, ValCallbackRec, ValCallback, OverridedEqualsHashCode, SpinalTagReady, Stackable, PostInitCallback, NameableByComponent, Nameable, ContextUser, ScalaLocated, GlobalDataUser, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DivRadix
  2. DivComp
  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 DivRadix(width: Int, radix: Int)

Type Members

  1. case class PrePopTask extends Product with Serializable
    Definition Classes
    Component
  2. abstract type RefOwnerType
    Definition Classes
    OwnableRef

Value Members

  1. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  2. def addAttribute(attribute: Attribute): DivRadix.this.type
    Definition Classes
    Component → SpinalTagReady
  3. def addAttribute(name: String, value: Int): DivRadix.this.type
    Definition Classes
    SpinalTagReady
  4. def addAttribute(name: String, value: String): DivRadix.this.type
    Definition Classes
    SpinalTagReady
  5. def addAttribute(name: String): DivRadix.this.type
    Definition Classes
    SpinalTagReady
  6. def addComment(str: String): Component
    Definition Classes
    Component
  7. def addPrePopTask(task: () ⇒ Unit): ArrayBuffer[PrePopTask]
    Definition Classes
    Component
  8. def addTag[T <: SpinalTag](spinalTag: T): DivRadix.this.type
    Definition Classes
    SpinalTagReady
  9. def addTags(h: SpinalTag, tail: SpinalTag*): DivRadix.this.type
    Definition Classes
    SpinalTagReady
  10. def addTags[T <: SpinalTag](tags: Iterable[T]): DivRadix.this.type
    Definition Classes
    SpinalTagReady
  11. def afterElaboration(body: ⇒ Unit): ArrayBuffer[PrePopTask]
    Definition Classes
    Component
  12. def asFormalDut(): DivRadix.this.type
    Definition Classes
    Component
  13. val busy: Bool
  14. val children: ArrayBuffer[Component]
    Definition Classes
    Component
  15. val clockDomain: Handle[ClockDomain]
    Definition Classes
    Component
  16. def component: Component
    Definition Classes
    ContextUser
  17. val counter: UInt
  18. val definition: $anon forSome {type $anon <: SpinalTagReady { def addComment(str: String): $anon }}
    Definition Classes
    Component
  19. var definitionName: String
    Definition Classes
    Component
  20. var definitionNameNoMerge: Boolean
    Definition Classes
    Component
  21. val div1: UInt
  22. val div2: UInt
  23. val div3: UInt
  24. val done: Bool
  25. val dslBody: ScopeStatement
    Definition Classes
    Component
  26. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  27. def existsTag(cond: (SpinalTag) ⇒ Boolean): Boolean
    Definition Classes
    SpinalTagReady
  28. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  29. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  30. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  31. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  32. def getAllIo: Set[BaseType]
    Definition Classes
    Component
  33. def getDisplayName(): String
    Definition Classes
    Component → Nameable
  34. def getGroupedIO(ioBundleBypass: Boolean): Seq[Data]
    Definition Classes
    Component
  35. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  36. def getName(default: String): String
    Definition Classes
    NameableByComponent → Nameable
  37. def getName(): String
    Definition Classes
    NameableByComponent → Nameable
  38. def getOrdredNodeIo: List[BaseType]
    Definition Classes
    Component
  39. def getParentsPath(sep: String): String
    Definition Classes
    Component
  40. def getPartialName(): String
    Definition Classes
    Nameable
  41. def getPath(sep: String): String
    Definition Classes
    Component
  42. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  43. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  44. def getRtlPath(separator: String): String
    Definition Classes
    Component
  45. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  46. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  47. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  48. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  49. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  50. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  51. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  52. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  53. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  54. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  55. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  56. val io: DivIo
    Definition Classes
    DivComp
  57. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  58. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  59. var isFormalTester: Boolean
    Definition Classes
    Component
  60. def isLogicLess: Boolean
    Definition Classes
    Component
  61. final def isNamed: Boolean
    Definition Classes
    Nameable
  62. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  63. def isUnnamed: Boolean
    Definition Classes
    NameableByComponent → Nameable
  64. val iterations: Int
  65. var localNamingScope: NamingScope
    Definition Classes
    Component
  66. val name: String
    Definition Classes
    Nameable
  67. def noIoPrefix(): DivRadix.this.type
    Definition Classes
    Component
  68. val numerator: UInt
  69. def onBody[T](body: ⇒ T): T
    Definition Classes
    Component
  70. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit
    Definition Classes
    SpinalTagReady
  71. def overrideLocalName(name: String): DivRadix.this.type
    Definition Classes
    Nameable
  72. def parent: Component
    Definition Classes
    Component
  73. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  74. def parents(of: Component, list: List[Component]): List[Component]
    Definition Classes
    Component
  75. def postInitCallback(): DivRadix.this.type
    Definition Classes
    Component → PostInitCallback
  76. def postPopEvent(): Unit
    Definition Classes
    Stackable
  77. def postPushEvent(): Unit
    Definition Classes
    Component → Stackable
  78. def prePop(): Unit
    Definition Classes
    Component
  79. def prePopEvent(): Unit
    Definition Classes
    Component → Stackable
  80. var pulledDataCache: Map[Data, Data]
    Definition Classes
    Component
  81. val radixBits: Int
    Definition Classes
    DivComp
  82. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  83. def reflectBaseType(name: String): BaseType
    Definition Classes
    Component
  84. def reflectNames(): Unit
    Definition Classes
    Nameable
  85. def removeTag(spinalTag: SpinalTag): DivRadix.this.type
    Definition Classes
    SpinalTagReady
  86. def removeTags(tags: Iterable[SpinalTag]): DivRadix.this.type
    Definition Classes
    SpinalTagReady
  87. val result: UInt
  88. def rework[T](gen: ⇒ T): T
    Definition Classes
    Component
  89. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  90. val scopeProperties: Capture
    Definition Classes
    Component
  91. val sel: UInt
  92. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): DivRadix.this.type
    Definition Classes
    Nameable
  93. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): DivRadix.this.type
    Definition Classes
    Nameable
  94. def setCompositeName(nameable: Nameable, postfix: String): DivRadix.this.type
    Definition Classes
    Nameable
  95. def setCompositeName(nameable: Nameable, namePriority: Byte): DivRadix.this.type
    Definition Classes
    Nameable
  96. def setCompositeName(nameable: Nameable, weak: Boolean): DivRadix.this.type
    Definition Classes
    Nameable
  97. def setCompositeName(nameable: Nameable): DivRadix.this.type
    Definition Classes
    Nameable
  98. def setDefinitionName(name: String, noMerge: Boolean): DivRadix.this.type
    Definition Classes
    Component
  99. def setFormalTester(): Unit
    Definition Classes
    Component
  100. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): DivRadix.this.type
    Definition Classes
    Nameable
  101. def setName(name: String, namePriority: Byte): DivRadix.this.type
    Definition Classes
    Nameable
  102. def setName(name: String, weak: Boolean): DivRadix.this.type
    Definition Classes
    Nameable
  103. def setName(name: String): DivRadix.this.type
    Definition Classes
    Nameable
  104. def setNameAsWeak(): DivRadix.this.type
    Definition Classes
    Nameable
  105. def setPartialName(name: String, namePriority: Byte, owner: Any): DivRadix.this.type
    Definition Classes
    Nameable
  106. def setPartialName(name: String, namePriority: Byte): DivRadix.this.type
    Definition Classes
    Nameable
  107. def setPartialName(name: String, weak: Boolean): DivRadix.this.type
    Definition Classes
    Nameable
  108. def setPartialName(owner: Nameable, name: String, namePriority: Byte): DivRadix.this.type
    Definition Classes
    Nameable
  109. def setPartialName(owner: Nameable, name: String, weak: Boolean): DivRadix.this.type
    Definition Classes
    Nameable
  110. def setPartialName(name: String): DivRadix.this.type
    Definition Classes
    Nameable
  111. def setPartialName(owner: Nameable, name: String): DivRadix.this.type
    Definition Classes
    Nameable
  112. def setPartialName(owner: Nameable): DivRadix.this.type
    Definition Classes
    Nameable
  113. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  114. def setScalaLocated(source: ScalaLocated): DivRadix.this.type
    Definition Classes
    ScalaLocated
  115. def setWeakName(name: String): DivRadix.this.type
    Definition Classes
    Nameable
  116. val shiftSel: Bits
  117. val shiftWidth: Int
  118. val shifted: UInt
  119. val shifter: UInt
  120. val sliceCount: Int
  121. val slices: IndexedSeq[UInt]
  122. val slicesZero: IndexedSeq[Bool]
  123. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  124. def stub(): DivRadix.this.type
    Definition Classes
    Component
  125. val sub1: UInt
  126. val sub2: UInt
  127. val sub3: UInt
  128. def toString(): String
    Definition Classes
    Nameable → AnyRef → Any
  129. def traceDisable(recursive: Boolean): DivRadix.this.type
    Definition Classes
    Component
  130. def traceEnable(recursive: Boolean): DivRadix.this.type
    Definition Classes
    Component
  131. var traceEnabled: Boolean
    Definition Classes
    Component
  132. def unsetName(): DivRadix.this.type
    Definition Classes
    Nameable
  133. val userCache: Map[Any, Any]
    Definition Classes
    Component
  134. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  135. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  136. def valCallbackRec(ref: Any, name: String): Unit
    Definition Classes
    Component → ValCallbackRec
  137. def walkComponents(body: (Component) ⇒ Unit): Unit
    Definition Classes
    Component
  138. val wasBusy: Bool
  139. val width: Int
    Definition Classes
    DivComp
  140. def withAutoPull(): Unit
    Definition Classes
    Component
  141. var withHierarchyAutoPull: Boolean
    Definition Classes
    Component
  142. def withKeywords(): Unit
    Definition Classes
    Component
  143. var withVitalOutputs: Boolean
    Definition Classes
    Component
  144. def withoutKeywords(): Unit
    Definition Classes
    Component
  145. var withoutReservedKeywords: Boolean
    Definition Classes
    Component