Packages

c

spinal.core

SpinalEnumCraft

class SpinalEnumCraft[T <: SpinalEnum] extends BaseType with InferableEnumEncodingImpl with BaseTypePrimitives[SpinalEnumCraft[T]] with DataPrimitives[SpinalEnumCraft[T]]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpinalEnumCraft
  2. DataPrimitives
  3. BaseTypePrimitives
  4. InferableEnumEncodingImpl
  5. InferableEnumEncoding
  6. EnumEncoded
  7. BaseType
  8. Expression
  9. StatementDoubleLinkedContainer
  10. DoubleLinkedContainer
  11. DeclarationStatement
  12. LeafStatement
  13. Statement
  14. BaseNode
  15. ExpressionContainer
  16. Data
  17. InComponent
  18. OverridedEqualsHashCode
  19. SpinalTagReady
  20. Assignable
  21. NameableByComponent
  22. Nameable
  23. OwnableRef
  24. ContextUser
  25. ScalaLocated
  26. GlobalDataUser
  27. AnyRef
  28. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SpinalEnumCraft(spinalEnum: SpinalEnum)

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 signals

    Concatenation between two signals

    Definition Classes
    Data
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. def #*(count: Int): Bits

    Return the count time concatenation of the signal.

    Return the count time concatenation of the signal.

    Definition Classes
    Data
  5. def :=(that: SpinalEnumElement[T]): Unit
  6. def :=(that: SpinalEnumCraft[T])(implicit loc: Location): Unit

    Standard hardware assignment, equivalent to <= in VHDL/Verilog

    Standard hardware assignment, equivalent to <= in VHDL/Verilog

    Definition Classes
    DataPrimitives
  7. def <>(that: SpinalEnumCraft[T])(implicit loc: Location): Unit

    Automatic connection between two hardware signals or two bundles of the same type.

    Automatic connection between two hardware signals or two bundles of the same type.

    Direction is inferred by using signal direction (in/out). (Similar behavior to :=)

    Definition Classes
    DataPrimitives
  8. def =/=(that: SpinalEnumElement[T]): Bool
  9. def =/=(that: SpinalEnumCraft[T]): Bool

    isNotEqualTo comparison between two hardware signals

    isNotEqualTo comparison between two hardware signals

    Definition Classes
    DataPrimitives
  10. def =::=(that: SpinalEnumCraft[T]): Bool
    Definition Classes
    DataPrimitives
  11. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def ===(that: SpinalEnumElement[T]): Bool
  13. def ===(that: SpinalEnumCraft[T]): Bool

    isEqualTo comparison between two hardware signals

    isEqualTo comparison between two hardware signals

    Definition Classes
    DataPrimitives
  14. def IFparent: Data
    Definition Classes
    Data
  15. def \(that: SpinalEnumCraft[T]): SpinalEnumCraft[T]

    Use as \= to have the same behavioral as VHDL variable

    Use as \= to have the same behavioral as VHDL variable

    Definition Classes
    DataPrimitives
  16. val _spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  17. def addAttribute(attribute: Attribute): SpinalEnumCraft.this.type
    Definition Classes
    BaseTypeDataSpinalTagReady
  18. def addAttribute(name: String, value: Int): SpinalEnumCraft.this.type
    Definition Classes
    SpinalTagReady
  19. def addAttribute(name: String, value: String): SpinalEnumCraft.this.type
    Definition Classes
    SpinalTagReady
  20. def addAttribute(name: String): SpinalEnumCraft.this.type
    Definition Classes
    SpinalTagReady
  21. def addTag[T <: SpinalTag](spinalTag: T): SpinalEnumCraft.this.type
    Definition Classes
    SpinalTagReady
  22. def addTags(h: SpinalTag, tail: SpinalTag*): SpinalEnumCraft.this.type
    Definition Classes
    SpinalTagReady
  23. def addTags[T <: SpinalTag](tags: Iterable[T]): SpinalEnumCraft.this.type
    Definition Classes
    SpinalTagReady
  24. val algoIncrementale: Int
    Definition Classes
    BaseNode
  25. val algoInt: Int
    Definition Classes
    BaseNode
  26. def allowDirectionLessIo(): SpinalEnumCraft.this.type

    Allow a signal of an io Bundle to be directionless.

    Allow a signal of an io Bundle to be directionless.

    Definition Classes
    Data
    See also

    IO Bundle Error Documentation

  27. def allowOverride(): SpinalEnumCraft.this.type

    Allow a signal to be overridden.

    Allow a signal to be overridden.

    Definition Classes
    Data
    See also

    Assignment overlap Error Documentation

  28. def allowPartialyAssigned(): SpinalEnumCraft.this.type

    Allow a register to be partially assigned

    Allow a register to be partially assigned

    Definition Classes
    Data
  29. def allowPruning(): SpinalEnumCraft.this.type
    Definition Classes
    Data
  30. def allowSimplifyIt(): SpinalEnumCraft.this.type
    Definition Classes
    BaseTypeData
  31. def allowUnsetRegToAvoidLatch(): SpinalEnumCraft.this.type

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

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

    Definition Classes
    Data
    See also

    "Register with only init" Error Documentation

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

    Cast signal to Bits

    Cast signal to Bits

    Definition Classes
    SpinalEnumCraftData
  34. def asData: Data
    Definition Classes
    Data
  35. def asInOut(): SpinalEnumCraft.this.type

    Set a signal as inout

    Set a signal as inout

    Definition Classes
    BaseTypeData
  36. def asInput(): SpinalEnumCraft.this.type

    Set a data as input

    Set a data as input

    Definition Classes
    BaseTypeData
  37. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  38. def asOutput(): SpinalEnumCraft.this.type

    Set a data as output

    Set a data as output

    Definition Classes
    BaseTypeData
  39. def assignDontCare(): SpinalEnumCraft.this.type

    Assign the default 'x' value to all signals composing this type.

    Assign the default 'x' value to all signals composing this type.

    Definition Classes
    SpinalEnumCraftData
    See also

    Data type documentation

    "Don't care term" wikipedia article

  40. def assignDontCareToUnasigned(): SpinalEnumCraft.this.type
    Definition Classes
    Data
  41. def assignFormalRandom(kind: RandomExpKind): Unit
    Definition Classes
    SpinalEnumCraftData
  42. final def assignFrom(that: AnyRef, target: AnyRef = this)(implicit loc: Location): Unit
    Definition Classes
    Data
  43. def assignFromBits(bits: Bits, hi: Int, lo: Int): Unit
    Definition Classes
    SpinalEnumCraftData
  44. def assignFromBits(bits: Bits): Unit
    Definition Classes
    SpinalEnumCraftData
  45. def assignFromBits(bits: Bits, offset: Int, bitCount: BitCount): Unit
    Definition Classes
    Data
  46. def assignFromImpl(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Attributes
    protected
    Definition Classes
    SpinalEnumCraftBaseTypeAssignable
  47. def bootInferration(): Unit
  48. def cldCount: Int
    Definition Classes
    DoubleLinkedContainer
  49. def clearAll(): SpinalEnumCraft.this.type

    Clear all bits to False and return itself

    Clear all bits to False and return itself

    Definition Classes
    Data
  50. var clockDomain: ClockDomain
    Definition Classes
    BaseType
  51. def clone(): SpinalEnumCraft.this.type
    Definition Classes
    SpinalEnumCraftBaseTypeData → AnyRef
  52. def component: Component
    Definition Classes
    ContextUser
  53. final def compositAssignFrom(that: AnyRef, target: AnyRef, kind: AnyRef)(implicit loc: Location): Unit
    Definition Classes
    Assignable
  54. val compositeAssign: Assignable
    Definition Classes
    Assignable
  55. def copyDirectionOf(that: SpinalEnumCraft[T]): Unit
    Definition Classes
    DataPrimitives
  56. def copyDirectionOfImpl(that: Data): SpinalEnumCraft.this.type
    Definition Classes
    BaseTypeData
  57. def copyEncodingConfig(that: InferableEnumEncodingImpl): Unit
    Definition Classes
    InferableEnumEncodingImpl
  58. def default(that: => SpinalEnumCraft[T]): SpinalEnumCraft[T]

    Set a default value to a signal.

    Set a default value to a signal.

    Definition Classes
    DataPrimitives
    See also

    example of usage for Bits

  59. def dirString(): String
    Definition Classes
    Data
  60. def dlcAppend(that: AssignmentStatement): SpinalEnumCraft.this.type
    Definition Classes
    DoubleLinkedContainer
  61. def dlcForeach[T >: AssignmentStatement](func: (T) => Unit): Unit
    Definition Classes
    DoubleLinkedContainer
  62. def dlcHasOnlyOne: Boolean
    Definition Classes
    DoubleLinkedContainer
  63. val dlcHead: AssignmentStatement
    Definition Classes
    DoubleLinkedContainer
  64. def dlcIsEmpty: Boolean
    Definition Classes
    DoubleLinkedContainer
  65. val dlcLast: AssignmentStatement
    Definition Classes
    DoubleLinkedContainer
  66. def dlcPrepend(that: AssignmentStatement): SpinalEnumCraft.this.type
    Definition Classes
    DoubleLinkedContainer
  67. def dontSimplifyIt(): SpinalEnumCraft.this.type
    Definition Classes
    BaseTypeData
  68. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  69. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  70. def existsTag(cond: (SpinalTag) => Boolean): Boolean
    Definition Classes
    SpinalTagReady
  71. def filterTag(cond: (SpinalTag) => Boolean): Iterable[SpinalTag]
    Definition Classes
    SpinalTagReady
  72. def findTag(cond: (SpinalTag) => Boolean): Option[SpinalTag]
    Definition Classes
    SpinalTagReady
  73. def fixEncoding(e: SpinalEnumEncoding): SpinalEnumCraft.this.type
    Definition Classes
    InferableEnumEncodingImpl
  74. def flatten: Seq[BaseType]
    Definition Classes
    BaseTypeData
  75. def flattenForeach(body: (BaseType) => Unit): Unit
    Definition Classes
    BaseTypeData
  76. def flattenLocalName: Seq[String]
    Definition Classes
    BaseTypeData
  77. def flip(): SpinalEnumCraft.this.type

    Flip the direction of the signal.

    Flip the direction of the signal.

    in and out are swapped, inout stay the same.

    Definition Classes
    Data
  78. def foreachClockDomain(func: (ClockDomain) => Unit): Unit
    Definition Classes
    BaseTypeStatement
  79. def foreachDrivingExpression(func: (Expression) => Unit): Unit
    Definition Classes
    ExpressionContainer
  80. def foreachExpression(func: (Expression) => Unit): Unit
  81. def foreachReflectableNameables(doThat: (Any) => Unit): Unit
    Definition Classes
    Nameable
  82. def foreachStatements(func: (AssignmentStatement) => Unit): Unit
  83. def foreachTag(body: (SpinalTag) => Unit): Unit
    Definition Classes
    SpinalTagReady
  84. def freeze(): SpinalEnumCraft.this.type
    Definition Classes
    BaseTypeData
  85. def getAheadValue(): SpinalEnumCraft.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
    BaseTypeData
  86. def getBitsWidth: Int

    Return the width of the data

    Return the width of the data

    Definition Classes
    SpinalEnumCraftData
  87. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  88. def getComponent(): Component
    Definition Classes
    DataInComponentNameableByComponent
  89. def getComponents(): Seq[Component]

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  90. def getDefinition: SpinalEnum
    Definition Classes
    SpinalEnumCraftEnumEncoded
  91. def getDirection: IODirection
    Definition Classes
    Data
  92. def getDisplayName(): String
    Definition Classes
    Nameable
  93. def getDrivingReg(reportError: Boolean = true): SpinalEnumCraft.this.type
    Definition Classes
    BaseType
  94. def getEncoding: SpinalEnumEncoding
  95. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  96. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  97. def getMuxType[T <: Data](list: TraversableOnce[T]): HardType[T]
    Definition Classes
    Data
  98. def getName(default: String): String
    Definition Classes
    NameableByComponentNameable
  99. def getName(): String
    Definition Classes
    NameableByComponentNameable
  100. def getPartialName(): String
    Definition Classes
    Nameable
  101. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  102. def getRealSource: Any
    Definition Classes
    Assignable
  103. def getRealSourceNoRec: Any
    Definition Classes
    DataAssignable
  104. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  105. def getRootParent: Data
    Definition Classes
    Data
  106. def getRtlPath(separator: String = "/"): String
    Definition Classes
    Data
  107. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  108. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  109. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  110. def getSingleDriver: Option[SpinalEnumCraft.this.type]
    Definition Classes
    BaseType
  111. def getTag[T <: SpinalTag](clazz: Class[T]): Option[T]
    Definition Classes
    SpinalTagReady
  112. def getTags(): LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  113. def getTagsOf[T <: SpinalTag]()(implicit tag: ClassTag[T]): Iterable[T]
    Definition Classes
    SpinalTagReady
  114. def getTypeObject: Any
    Definition Classes
    SpinalEnumCraftExpression
  115. def getZero: SpinalEnumCraft.this.type

    Create a signal set to 0

    Create a signal set to 0

    Definition Classes
    SpinalEnumCraftData
  116. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  117. def hasAssignement: Boolean
    Definition Classes
    BaseType
  118. def hasDataAssignment: Boolean
    Definition Classes
    BaseType
  119. def hasInit: Boolean

    Does the base type have initial value

    Does the base type have initial value

    Definition Classes
    BaseType
  120. def hasOnlyOneStatement: Boolean
  121. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean
    Definition Classes
    SpinalTagReady
  122. def hasTag(spinalTag: SpinalTag): Boolean
    Definition Classes
    SpinalTagReady
  123. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  124. def head: AssignmentStatement
  125. def init(enumElement: SpinalEnumElement[T]): SpinalEnumCraft.this.type
  126. def init(that: SpinalEnumCraft[T]): SpinalEnumCraft[T]

    Set initial value of the signal

    Set initial value of the signal

    Definition Classes
    DataPrimitives
  127. final def initFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    Data
  128. def initNull(that: SpinalEnumCraft[T]): SpinalEnumCraft[T]

    Set initial value only if that is not null

    Set initial value only if that is not null

    Definition Classes
    DataPrimitives
  129. def initZero(): SpinalEnumCraft[T]

    Set initial value as 0

    Set initial value as 0

    Definition Classes
    DataPrimitives
  130. def initial(that: SpinalEnumCraft[T]): SpinalEnumCraft[T]
    Definition Classes
    BaseTypePrimitives
  131. def initialFrom(that: AnyRef, target: AnyRef = this): Unit
    Definition Classes
    BaseType
  132. def insertNext(s: Statement): Unit
    Definition Classes
    Statement
  133. def instanceAttributes(language: Language): Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  134. def instanceAttributes: Iterable[Attribute]
    Definition Classes
    SpinalTagReady
  135. def isAnalog: Boolean
    Definition Classes
    BaseTypeData
  136. def isComb: Boolean
    Definition Classes
    BaseTypeData
  137. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  138. def isDirectionLess: Boolean
    Definition Classes
    Data
  139. def isEmptyOfTag: Boolean
    Definition Classes
    SpinalTagReady
  140. def isEqualTo(that: Any): Bool
    Definition Classes
    SpinalEnumCraftData
  141. def isEqualToSim(that: Any): Bool
    Definition Classes
    SpinalEnumCraftData
  142. def isFrozen(): Boolean
    Definition Classes
    BaseType
  143. def isInOut: Boolean
    Definition Classes
    Data
  144. def isInput: Boolean
    Definition Classes
    Data
  145. def isInputOrInOut: Boolean
    Definition Classes
    Data
  146. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  147. final def isNamed: Boolean
    Definition Classes
    Nameable
  148. def isNotEqualTo(that: Any): Bool
    Definition Classes
    SpinalEnumCraftData
  149. def isOutput: Boolean
    Definition Classes
    Data
  150. def isOutputOrInOut: Boolean
    Definition Classes
    Data
  151. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  152. def isReg: Boolean
    Definition Classes
    BaseTypeData
  153. def isRegOnAssign: Boolean
    Definition Classes
    Data
  154. def isTypeNode: Boolean

    Is the baseType a node

    Is the baseType a node

    Definition Classes
    BaseType
  155. def isUnnamed: Boolean
    Definition Classes
    NameableByComponentNameable
  156. def isUsingResetSignal: Boolean

    Is the basetype using reset signal

    Is the basetype using reset signal

    Definition Classes
    BaseType
  157. def isUsingSoftResetSignal: Boolean

    Is the basetype using soft reset signal

    Is the basetype using soft reset signal

    Definition Classes
    BaseType
  158. def isVital: Boolean

    Check if the baseType is vital

    Check if the baseType is vital

    Definition Classes
    BaseType
  159. val lastScopeStatement: Statement
    Definition Classes
    Statement
  160. def mux[T2 <: Data](mappings: (Any, T2)*): T2

    Use a SpinalHDL data as a selector for a mux.

    Use a SpinalHDL data as a selector for a mux.

    Definition Classes
    BaseType
    See also

    Bitwise selection Documentation

  161. def muxDc[T2 <: Data](mappings: (Any, T2)*): T2

    Version of SpinalHDL mux that allows Don't Care.

    Version of SpinalHDL mux that allows Don't Care.

    Definition Classes
    BaseType
    See also

    Bitwise selection Documentation

  162. def muxList[T2 <: Data](defaultValue: T2, mappings: Seq[(Any, T2)]): T2

    Use a scala.Seq of SpinalHDL data as mux inputs.

    Use a scala.Seq of SpinalHDL data as mux inputs.

    Definition Classes
    BaseType
    See also

    Bitwise selection Documentation

  163. def muxList[T2 <: Data](mappings: Seq[(Any, T2)]): T2

    Use a scala.Seq of SpinalHDL data as mux inputs.

    Use a scala.Seq of SpinalHDL data as mux inputs.

    Definition Classes
    BaseType
    See also

    Bitwise selection Documentation

  164. def muxListDc[T2 <: Data](mappings: Seq[(Any, T2)]): T2

    Version of SpinalHDL muxList that allows Don't Care.

    Version of SpinalHDL muxList that allows Don't Care.

    Definition Classes
    BaseType
    See also

    Bitwise selection Documentation

  165. val name: String
    Definition Classes
    Nameable
  166. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  167. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  168. val nextScopeStatement: Statement
    Definition Classes
    Statement
  169. def noBackendCombMerge(): SpinalEnumCraft.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
  170. def noCombLoopCheck(): SpinalEnumCraft.this.type

    Disable combinatorial loop checking for this Data

    Disable combinatorial loop checking for this Data

    Definition Classes
    Data
    See also

    Combinatorial loop Error Documentation

  171. def normalizeInputs: Unit
    Definition Classes
    SpinalEnumCraftBaseTypeExpressionContainer
  172. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  173. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  174. def onEachAttributes(doIt: (Attribute) => Unit): Unit
    Definition Classes
    SpinalTagReady
  175. def opName: String
    Definition Classes
    SpinalEnumCraftExpression
  176. def overrideLocalName(name: String): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  177. val parent: Data
    Definition Classes
    Data
  178. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  179. def propagateEncoding: Boolean
  180. def pull(propagateName: Boolean): SpinalEnumCraft.this.type
    Definition Classes
    Data
  181. def pull(): SpinalEnumCraft.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
  182. def purify(): SpinalEnumCraft.this.type
    Definition Classes
    Data
  183. def randBoot(u: Unit): SpinalEnumCraft.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
  184. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  185. def reflectNames(): Unit
    Definition Classes
    Nameable
  186. def remapClockDomain(func: (ClockDomain) => ClockDomain): Unit
    Definition Classes
    BaseTypeStatement
  187. def remapDrivingExpressions(func: (Expression) => Expression): Unit
    Definition Classes
    ExpressionContainer
  188. def remapExpressions(func: (Expression) => Expression): Unit
  189. def removeAssignments(data: Boolean = true, init: Boolean = true, initial: Boolean = true): SpinalEnumCraft.this.type

    Remove all assignments of the base type

    Remove all assignments of the base type

    Definition Classes
    BaseTypeData
  190. def removeDataAssignments(): SpinalEnumCraft.this.type
    Definition Classes
    Data
  191. def removeInitAssignments(): SpinalEnumCraft.this.type
    Definition Classes
    Data
  192. def removeStatement(): Unit
    Definition Classes
    BaseTypeStatement
  193. def removeStatementFromScope(): Unit
    Definition Classes
    Statement
  194. def removeTag(spinalTag: SpinalTag): SpinalEnumCraft.this.type
    Definition Classes
    SpinalTagReady
  195. def removeTags(tags: Iterable[SpinalTag]): SpinalEnumCraft.this.type
    Definition Classes
    SpinalTagReady
  196. def resized: SpinalEnumCraft.this.type

    Return a version of the signal which is allowed to be automatically resized where needed.

    Return a version of the signal which is allowed to be automatically resized where needed.

    The resize operation is deferred until the point of assignment later. The resize may widen or truncate, retaining the LSB.

    Definition Classes
    Data
    See also

    Width checking Documentation

  197. def rootIF(): Interface

    root interface

    root interface

    Definition Classes
    Data
  198. def rootIFList(): List[Interface]
    Definition Classes
    Data
  199. def rootIFrec(now: Data, lastRoot: List[Interface]): List[Interface]
    Definition Classes
    Data
  200. def rootScopeStatement: ScopeStatement
    Definition Classes
    BaseTypeStatement
  201. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  202. def setAll(): SpinalEnumCraft.this.type

    Set all bits to True and return itself

    Set all bits to True and return itself

    Definition Classes
    Data
  203. def setAsAnalog(): SpinalEnumCraft.this.type
    Definition Classes
    BaseTypeData
  204. def setAsComb(): SpinalEnumCraft.this.type

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    BaseTypeData
  205. def setAsDirectionLess(): SpinalEnumCraft.this.type

    Remove the direction (in, out, inout) to a signal

    Remove the direction (in, out, inout) to a signal

    Definition Classes
    BaseTypeData
  206. def setAsReg(): SpinalEnumCraft.this.type

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    BaseTypeData
  207. def setAsTypeNode(): SpinalEnumCraft.this.type

    Set baseType to Node

    Set baseType to Node

    Definition Classes
    BaseType
  208. def setAsVital(): SpinalEnumCraft.this.type

    Set the baseType to vital

    Set the baseType to vital

    Definition Classes
    BaseType
  209. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  210. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  211. def setCompositeName(nameable: Nameable, postfix: String): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  212. def setCompositeName(nameable: Nameable, namePriority: Byte): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  213. def setCompositeName(nameable: Nameable, weak: Boolean): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  214. def setCompositeName(nameable: Nameable): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  215. def setLambdaName(isNameBody: => Boolean)(nameGen: => String): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  216. def setName(name: String, namePriority: Byte): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  217. def setName(name: String, weak: Boolean): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  218. def setName(name: String): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  219. def setNameAsWeak(): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  220. def setOutputAsReg(): SpinalEnumCraft.this.type

    Recursively set baseType to reg only for output

    Recursively set baseType to reg only for output

    Definition Classes
    Data
  221. def setPartialName(name: String, namePriority: Byte, owner: Any): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  222. def setPartialName(name: String, namePriority: Byte): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  223. def setPartialName(name: String, weak: Boolean): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  224. def setPartialName(owner: Nameable, name: String, namePriority: Byte): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  225. def setPartialName(owner: Nameable, name: String, weak: Boolean): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  226. def setPartialName(name: String): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  227. def setPartialName(owner: Nameable, name: String): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  228. def setPartialName(owner: Nameable): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  229. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  230. def setScalaLocated(source: ScalaLocated): SpinalEnumCraft.this.type
    Definition Classes
    ScalaLocated
  231. def setWeakName(name: String): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  232. def simplifyNode: Expression
    Definition Classes
    Expression
  233. var spinalEnum: SpinalEnum
  234. def spinalTags: LinkedHashSet[SpinalTag]
    Definition Classes
    SpinalTagReady
  235. def stabilized(func: (Expression) => Expression, seed: Expression): Expression
    Definition Classes
    ExpressionContainer
  236. def swapEncoding(encoding: SpinalEnumEncoding): Unit
  237. def swapEnum(e: SpinalEnum): Unit
    Definition Classes
    SpinalEnumCraftEnumEncoded
  238. def switchAssign[T2 <: BaseType](sel: T2)(mappings: (Any, SpinalEnumCraft[T])*): Unit
    Definition Classes
    DataPrimitives
  239. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  240. def toIo(): SpinalEnumCraft.this.type
    Definition Classes
    Data
  241. def toMuxInput[T <: Data](muxOutput: T): T
    Definition Classes
    Data
  242. def toString(): String
    Definition Classes
    BaseTypeExpressionNameable → AnyRef → Any
  243. def toStringMultiLine(): String
    Definition Classes
    BaseNode
  244. def toStringRec(level: Int = 1): String
    Definition Classes
    Expression
  245. def unfreeze(): SpinalEnumCraft.this.type
    Definition Classes
    BaseTypeData
  246. def unsetName(): SpinalEnumCraft.this.type
    Definition Classes
    Nameable
  247. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  248. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  249. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  250. def walkDrivingExpressions(func: (Expression) => Unit): Unit
    Definition Classes
    ExpressionContainer
  251. def walkExpression(func: (Expression) => Unit): Unit
    Definition Classes
    ExpressionContainer
  252. def walkExpressionPostorder(func: (Expression) => Unit): Unit
    Definition Classes
    ExpressionContainer
  253. def walkParentTreeStatements(func: (TreeStatement) => Unit): Unit
    Definition Classes
    Statement
  254. def walkParentTreeStatementsUntilRootScope(func: (TreeStatement) => Unit): Unit
    Definition Classes
    Statement
  255. def walkRemapDrivingExpressions(func: (Expression) => Expression): Unit
    Definition Classes
    ExpressionContainer
  256. def walkRemapExpressions(func: (Expression) => Expression): Unit
    Definition Classes
    ExpressionContainer
  257. def wrapCast[T <: BaseType](result: T, node: Cast): T
    Definition Classes
    BaseType
  258. def wrapNext(): SpinalEnumCraft.this.type
    Definition Classes
    Data

Deprecated Value Members

  1. def !==(that: SpinalEnumElement[T]): Bool
    Annotations
    @deprecated
    Deprecated

    (Since version ???) Use =/= instead

  2. def asDirectionLess(): SpinalEnumCraft.this.type
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version ???) use setAsDirectionLess instead

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

    (Since version 9)

  4. def genIf(cond: Boolean): SpinalEnumCraft.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 DataPrimitives[SpinalEnumCraft[T]]

Inherited from InferableEnumEncoding

Inherited from EnumEncoded

Inherited from BaseType

Inherited from Expression

Inherited from DeclarationStatement

Inherited from LeafStatement

Inherited from Statement

Inherited from BaseNode

Inherited from ExpressionContainer

Inherited from Data

Inherited from InComponent

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