Class

spinal.core

Bool

Related Doc: package core

Permalink

class Bool extends BaseType with DataPrimitives[Bool] with BitwiseOp[Bool]

The Bool type corresponds to a boolean value (True or False)

Example:
  1. val myBool = Bool()
    myBool := False
    myBool := Bool(false)
See also

Bool Documentation

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

Instance Constructors

  1. new Bool()

    Permalink

Type Members

  1. case class MuxBuilder[T <: Data](whenTrue: T) extends Product with Serializable

    Permalink

    Class used to write conditional operation on Data value

    Class used to write conditional operation on Data value

    Example:
    1. val res = myBool ? myBits1 | myBits2
  2. case class MuxBuilderEnum[T <: SpinalEnum](whenTrue: SpinalEnumCraft[T]) extends Product with Serializable

    Permalink

    Class used to write conditional operation on Enumeration value

    Class used to write conditional operation on Enumeration value

    Example:
    1. val res = myBool ? myEnum1 | myEnum2
    Note

    implicit conversion is used to send SpinalEnumElement

  3. 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 &(b: Bool): Bool

    Permalink

    Logical AND operator

    Logical AND operator

    Definition Classes
    BoolBitwiseOp
  5. def &&(b: Bool): Bool

    Permalink

    Logical AND

    Logical AND

    returns

    a Bool assign with the AND result

    Example:
    1. val result = myBool1 && myBool2
  6. def :=(that: Bool): Unit

    Permalink

    Assign a data to this

    Assign a data to this

    Definition Classes
    DataPrimitives
  7. def <>(that: Bool): Unit

    Permalink

    Auto connection between two data

    Auto connection between two data

    Definition Classes
    DataPrimitives
  8. def =/=(that: MaskedBoolean): Bool

    Permalink

    BitVector is not equal to MaskedLiteral

  9. def =/=(that: Bool): Bool

    Permalink
    Definition Classes
    DataPrimitives
  10. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def ===(that: MaskedBoolean): Bool

    Permalink
  12. def ===(that: Bool): Bool

    Permalink

    Comparison between two data

    Comparison between two data

    Definition Classes
    DataPrimitives
  13. def ?[T <: SpinalEnum](whenTrue: SpinalEnumCraft[T]): MuxBuilderEnum[T]

    Permalink

    Conditional operation for Enumeration value

  14. def ?[T <: Data](whenTrue: T): MuxBuilder[T]

    Permalink

    Conditional operation for Data value

  15. def \(that: Bool): Bool

    Permalink

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

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

    Definition Classes
    DataPrimitives
  16. def ^(b: Bool): Bool

    Permalink

    Logical XOR operator

    Logical XOR operator

    Definition Classes
    BoolBitwiseOp
  17. var _spinalTags: LinkedHashSet[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  18. def addAttribute(attribute: Attribute): Bool.this.type

    Permalink
    Definition Classes
    BaseTypeDataSpinalTagReady
  19. def addAttribute(name: String, value: String): Bool.this.type

    Permalink
    Definition Classes
    SpinalTagReady
  20. def addAttribute(name: String): Bool.this.type

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  23. var algoIncrementale: Int

    Permalink
    Definition Classes
    BaseNode
  24. var algoInt: Int

    Permalink
    Definition Classes
    BaseNode
  25. def allowDirectionLessIo: Bool.this.type

    Permalink
    Definition Classes
    Data
  26. def allowOverride: Bool.this.type

    Permalink

    Allow a data to be overrided

    Allow a data to be overrided

    Definition Classes
    Data
  27. def allowPartialyAssigned: Bool.this.type

    Permalink
    Definition Classes
    Data
  28. def allowPruning(): Bool.this.type

    Permalink
    Definition Classes
    Data
  29. def allowSimplifyIt(): Bool.this.type

    Permalink
    Definition Classes
    BaseTypeData
  30. def allowUnsetRegToAvoidLatch: Bool.this.type

    Permalink
    Definition Classes
    Data
  31. def as[T <: Data](dataType: HardType[T]): T

    Permalink
    Definition Classes
    Data
  32. def asBits: Bits

    Permalink

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    BoolData
  33. def asBits(bitCount: BitCount): Bits

    Permalink

    Cast a Bool to an Bits of a given width

    Cast a Bool to an Bits of a given width

    bitCount

    the width of the Bits

    returns

    a Bits data of a given length initialize to this

  34. def asData: Data

    Permalink
    Definition Classes
    Data
  35. def asInOut(): Bool.this.type

    Permalink

    set a data as inout

    set a data as inout

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

    Permalink

    Set a data as input

    Set a data as input

    Definition Classes
    BaseTypeData
  37. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  38. def asOutput(): Bool.this.type

    Permalink

    Set a data as output

    Set a data as output

    Definition Classes
    BaseTypeData
  39. def asSInt: SInt

    Permalink

    Cast a Bool to an SInt

    Cast a Bool to an SInt

    returns

    a SInt data

    Example:
    1. mySInt := myBool.asSInt
  40. def asUInt(bitCount: BitCount): UInt

    Permalink

    Cast a Bool to an UInt of a given width

    Cast a Bool to an UInt of a given width

    bitCount

    the width of the UInt

    returns

    an UInt data of a given length initialize to this

    Example:
    1. myUInt := myBool.asUInt(8 bits)
  41. def asUInt: UInt

    Permalink

    Cast a Bool to an UInt

    Cast a Bool to an UInt

    returns

    an UInt data

    Example:
    1. myUInt := myBool.asUInt
  42. def assignDontCare(): Bool.this.type

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

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

    Permalink
    Definition Classes
    BoolData
  45. def assignFromBits(bits: Bits): Unit

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

    Permalink
    Definition Classes
    Data
  47. def clear(): Unit

    Permalink

    this is assigned to False

  48. def clearWhen(cond: Bool): Bool

    Permalink

    this is assigned to False when cond is True

  49. var clockDomain: ClockDomain

    Permalink
    Definition Classes
    BaseType
  50. def clone(): Bool.this.type

    Permalink
    Definition Classes
    BaseTypeData → AnyRef
  51. def component: Component

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

    Permalink
    Definition Classes
    Assignable
  53. var compositeAssign: Assignable

    Permalink
    Definition Classes
    Assignable
  54. def copyDirectionOf(that: Bool): Unit

    Permalink
    Definition Classes
    DataPrimitives
  55. def copyDirectionOfImpl(that: Data): Bool.this.type

    Permalink
    Definition Classes
    BaseTypeData
  56. def default(that: ⇒ Bool): Bool

    Permalink

    Set a default value to a data

    Set a default value to a data

    Definition Classes
    DataPrimitives
  57. def dirString(): String

    Permalink
    Definition Classes
    Data
  58. def dlcAppend(that: AssignmentStatement): Bool.this.type

    Permalink
    Definition Classes
    DoubleLinkedContainer
  59. def dlcForeach[T >: AssignmentStatement](func: (T) ⇒ Unit): Unit

    Permalink
    Definition Classes
    DoubleLinkedContainer
  60. def dlcHasOnlyOne: Boolean

    Permalink
    Definition Classes
    DoubleLinkedContainer
  61. var dlcHead: AssignmentStatement

    Permalink
    Definition Classes
    DoubleLinkedContainer
  62. def dlcIsEmpty: Boolean

    Permalink
    Definition Classes
    DoubleLinkedContainer
  63. var dlcLast: AssignmentStatement

    Permalink
    Definition Classes
    DoubleLinkedContainer
  64. def dlcPrepend(that: AssignmentStatement): Bool.this.type

    Permalink
    Definition Classes
    DoubleLinkedContainer
  65. def dontSimplifyIt(): Bool.this.type

    Permalink
    Definition Classes
    BaseTypeData
  66. def edge(): Bool

    Permalink

    Edge detection

  67. def edge(initAt: Bool): Bool

    Permalink

    Edge detection of this with an initial value

    Edge detection of this with an initial value

    initAt

    the initial value

    returns

    a Bool

    Example:
    1. val res = myBool.edge(False)
  68. def edges(): BoolEdges

    Permalink

    Edge detection without intial value

  69. def edges(initAt: Bool): BoolEdges

    Permalink

    Detect all edges (falling, rising, toogling)

    Detect all edges (falling, rising, toogling)

    initAt

    the initial value

    returns

    a BoolEdges

    Example:
    1. val res = myBool.edges()
      when(res.fall){...}
      when(res.rise){...}
      when(res.toggle){...}
  70. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  73. def fall(): Bool

    Permalink

    Falling edge detection

  74. def fall(initAt: Bool): Bool

    Permalink

    Falling edge detection of this with an initial value

    Falling edge detection of this with an initial value

    initAt

    the initial value

    returns

    a Bool

    Example:
    1. val res = myBool.fall(False)
  75. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]

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

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

    Permalink
    Definition Classes
    BaseTypeData
  78. def flattenForeach(body: (BaseType) ⇒ Unit): Unit

    Permalink
    Definition Classes
    BaseTypeData
  79. def flattenLocalName: Seq[String]

    Permalink
    Definition Classes
    BaseTypeData
  80. def flip(): Bool.this.type

    Permalink

    flip the direction of the data

    flip the direction of the data

    Definition Classes
    Data
  81. def foreachClockDomain(func: (ClockDomain) ⇒ Unit): Unit

    Permalink
    Definition Classes
    BaseTypeStatement
  82. def foreachDrivingExpression(func: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  83. def foreachExpression(func: (Expression) ⇒ Unit): Unit

    Permalink
  84. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Nameable
  85. def foreachStatements(func: (AssignmentStatement) ⇒ Unit): Unit

    Permalink
  86. def foreachTag(body: (SpinalTag) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  87. def genIf(cond: Boolean): Bool.this.type

    Permalink

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
  88. def getBitsWidth: Int

    Permalink

    Return the width of the data

    Return the width of the data

    Definition Classes
    BoolData
  89. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  90. def getComponent(): Component

    Permalink
    Definition Classes
    DataInComponentNameableByComponent
  91. def getComponents(): Seq[Component]

    Permalink

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    InComponent
  92. def getDirection: IODirection

    Permalink
    Definition Classes
    Data
  93. def getDisplayName(): String

    Permalink
    Definition Classes
    Nameable
  94. def getDrivingReg: Bool.this.type

    Permalink
    Definition Classes
    BaseType
  95. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  96. def getMode: Byte

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

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

    Permalink
    Definition Classes
    Nameable
  99. def getPartialName(): String

    Permalink
    Definition Classes
    Nameable
  100. def getRealSource: Any

    Permalink
    Definition Classes
    Assignable
  101. def getRealSourceNoRec: Any

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

    Permalink
    Definition Classes
    OwnableRef
  103. def getRootParent: Data

    Permalink
    Definition Classes
    Data
  104. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  105. def getScalaLocationShort: String

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

    Permalink
    Definition Classes
    ScalaLocated
  107. def getSingleDriver: Option[Bool.this.type]

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  110. def getTypeObject: TypeBool.type

    Permalink
    Definition Classes
    BoolExpression
  111. def getZero: Bool.this.type

    Permalink

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    BoolData
  112. val globalData: GlobalData

    Permalink
    Definition Classes
    GlobalDataUser
  113. def hasAssignement: Boolean

    Permalink
    Definition Classes
    BaseType
  114. def hasInit: Boolean

    Permalink

    Does the base type have initial value

    Does the base type have initial value

    Definition Classes
    BaseType
  115. def hasOnlyOneStatement: Boolean

    Permalink
  116. def hasTag[T <: SpinalTag](clazz: Class[T]): Boolean

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

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

    Permalink
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  119. def head: AssignmentStatement

    Permalink
  120. def init(value: Boolean): Bool

    Permalink
  121. def init(that: Bool): Bool

    Permalink

    Set initial value to a data

    Set initial value to a data

    Definition Classes
    DataPrimitives
  122. final def initFrom(that: AnyRef, target: AnyRef = this): Unit

    Permalink
    Definition Classes
    Data
  123. def insertNext(s: Statement): Unit

    Permalink
    Definition Classes
    Statement
  124. def instanceAttributes(language: Language): Iterable[Attribute]

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

    Permalink
    Definition Classes
    SpinalTagReady
  126. def isAnalog: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  127. def isComb: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  128. def isDirectionLess: Boolean

    Permalink
    Definition Classes
    Data
  129. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  130. def isInOut: Boolean

    Permalink
    Definition Classes
    Data
  131. def isInput: Boolean

    Permalink
    Definition Classes
    Data
  132. def isInputOrInOut: Boolean

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

    Permalink
    Definition Classes
    Any
  134. def isNamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  135. def isOutput: Boolean

    Permalink
    Definition Classes
    Data
  136. def isOutputOrInOut: Boolean

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

    Permalink
    Definition Classes
    Nameable
  138. def isReg: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  139. def isTypeNode: Boolean

    Permalink

    Is the baseType a node

    Is the baseType a node

    Definition Classes
    BaseType
  140. def isUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  141. def isUsingResetSignal: Boolean

    Permalink

    Is the basetype using reset signal

    Is the basetype using reset signal

    Definition Classes
    BaseType
  142. def isUsingSoftResetSignal: Boolean

    Permalink

    Is the basetype using soft reset signal

    Is the basetype using soft reset signal

    Definition Classes
    BaseType
  143. def isVital: Boolean

    Permalink

    Check if the baseType is vital

    Check if the baseType is vital

    Definition Classes
    BaseType
  144. def keep(): Bool.this.type

    Permalink
    Definition Classes
    Data
  145. var lastScopeStatement: Statement

    Permalink
    Definition Classes
    Statement
  146. def mux[T2 <: Data](mappings: (Any, T2)*): T2

    Permalink
    Definition Classes
    BaseType
  147. def muxList[T2 <: Data](defaultValue: T2, mappings: Seq[(Any, T2)]): T2

    Permalink
    Definition Classes
    BaseType
  148. def muxList[T2 <: Data](mappings: Seq[(Any, T2)]): T2

    Permalink
    Definition Classes
    BaseType
  149. def muxListDc[T2 <: Data](mappings: Seq[(Any, T2)]): T2

    Permalink
    Definition Classes
    BaseType
  150. var name: String

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

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

    Permalink
    Definition Classes
    AnyRef
  153. var nextScopeStatement: Statement

    Permalink
    Definition Classes
    Statement
  154. def noBackendCombMerge: Bool.this.type

    Permalink
    Definition Classes
    Data
  155. def noCombLoopCheck: Bool.this.type

    Permalink
    Definition Classes
    Data
  156. def normalizeInputs: Unit

    Permalink
    Definition Classes
    BaseTypeExpressionContainer
  157. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  159. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  160. def opName: String

    Permalink
    Definition Classes
    BoolExpression
  161. def overrideLocalName(name: String): Bool.this.type

    Permalink
    Definition Classes
    Nameable
  162. var parent: Data

    Permalink
    Definition Classes
    Data
  163. var parentScope: ScopeStatement

    Permalink
    Definition Classes
    ContextUser
  164. def pull(): Bool.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
  165. def purify(): Bool.this.type

    Permalink
    Definition Classes
    Data
  166. def randBoot(): Bool.this.type

    Permalink

    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
  167. var refOwner: RefOwnerType

    Permalink
    Definition Classes
    OwnableRef
  168. def reflectNames(): Unit

    Permalink
    Definition Classes
    Nameable
  169. def remapDrivingExpressions(func: (Expression) ⇒ Expression): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  170. def remapExpressions(func: (Expression) ⇒ Expression): Unit

    Permalink
  171. def removeAssignments(): Bool.this.type

    Permalink

    Remove all assignments of the base type

    Remove all assignments of the base type

    Definition Classes
    BaseTypeData
  172. def removeStatement(): Unit

    Permalink
    Definition Classes
    BaseTypeStatement
  173. def removeStatementFromScope(): Unit

    Permalink
    Definition Classes
    Statement
  174. def removeTag(spinalTag: SpinalTag): Bool.this.type

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

    Permalink
    Definition Classes
    SpinalTagReady
  176. def resized: Bool.this.type

    Permalink

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  177. def rise(): Bool

    Permalink

    Rising edge detection

  178. def rise(initAt: Bool): Bool

    Permalink

    Rising edge detection of this with an initial value

    Rising edge detection of this with an initial value

    initAt

    the initial value

    returns

    a Bool

    Example:
    1. val res = myBool.rise(False)
  179. def rootScopeStatement: ScopeStatement

    Permalink
    Definition Classes
    BaseTypeStatement
  180. def set(): Unit

    Permalink

    this is assigned to True

  181. def setAsAnalog(): Bool.this.type

    Permalink
    Definition Classes
    BaseTypeData
  182. def setAsComb(): Bool.this.type

    Permalink

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    BaseTypeData
  183. def setAsDirectionLess(): Bool.this.type

    Permalink

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

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

    Definition Classes
    BaseTypeData
  184. def setAsReg(): Bool.this.type

    Permalink

    Set baseType to reg

    Set baseType to reg

    Definition Classes
    BaseTypeData
  185. def setAsTypeNode(): Bool.this.type

    Permalink

    Set baseType to Node

    Set baseType to Node

    Definition Classes
    BaseType
  186. def setAsVital(): Bool.this.type

    Permalink

    Set the baseType to vital

    Set the baseType to vital

    Definition Classes
    BaseType
  187. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): Bool.this.type

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

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

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

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

    Permalink
    Definition Classes
    Nameable
  192. def setCompositeName(nameable: Nameable): Bool.this.type

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

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

    Permalink
    Definition Classes
    Nameable
  195. def setName(name: String): Bool.this.type

    Permalink
    Definition Classes
    Nameable
  196. def setNameAsWeak(): Bool.this.type

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

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

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

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

    Permalink
    Definition Classes
    Nameable
  201. def setPartialName(name: String): Bool.this.type

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

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

    Permalink
    Definition Classes
    OwnableRef
  204. def setScalaLocated(source: ScalaLocated): Bool.this.type

    Permalink
    Definition Classes
    ScalaLocated
  205. def setWeakName(name: String): Bool.this.type

    Permalink
    Definition Classes
    Nameable
  206. def setWhen(cond: Bool): Bool

    Permalink

    this is assigned to True when cond is True

    this is assigned to True when cond is True

    cond

    a Bool condition

    returns

    this is assigned to True when cond is True

    Example:
    1. myBool.setWhen(cond)
  207. def simplifyNode: Expression

    Permalink
    Definition Classes
    Expression
  208. def spinalTags: LinkedHashSet[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  209. def stabilized(func: (Expression) ⇒ Expression, seed: Expression): Expression

    Permalink
    Definition Classes
    ExpressionContainer
  210. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    BaseTypeExpressionNameable → AnyRef → Any
  212. def toStringMultiLine(): String

    Permalink
    Definition Classes
    BaseNode
  213. def unary_!: Bool

    Permalink

    Logical NOT

    Logical NOT

    returns

    a Bool assign with the NOT result

    Example:
    1. val result = !myBool1
  214. def unary_~: Bool

    Permalink

    Inverse bitwise operator

    Inverse bitwise operator

    Definition Classes
    BoolBitwiseOp
  215. def unsetName(): Bool.this.type

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  219. def walkDrivingExpressions(func: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  220. def walkExpression(func: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  221. def walkExpressionPostorder(func: (Expression) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  222. def walkParentTreeStatements(func: (TreeStatement) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Statement
  223. def walkParentTreeStatementsUntilRootScope(func: (TreeStatement) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Statement
  224. def walkRemapDrivingExpressions(func: (Expression) ⇒ Expression): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  225. def walkRemapExpressions(func: (Expression) ⇒ Expression): Unit

    Permalink
    Definition Classes
    ExpressionContainer
  226. def wrapCast[T <: BaseType](result: T, node: Cast): T

    Permalink
    Definition Classes
    BaseType
  227. def |(b: Bool): Bool

    Permalink

    Logical OR operator

    Logical OR operator

    Definition Classes
    BoolBitwiseOp
  228. def ||(b: Bool): Bool

    Permalink

    Logical OR

    Logical OR

    returns

    a Bool assign with the OR result

    Example:
    1. val result = myBool1 || myBool2

Deprecated Value Members

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

    Permalink
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version ???) use setAsDirectionLess instead

  2. 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 BitwiseOp[Bool]

Inherited from DataPrimitives[Bool]

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 OverridedEqualsHashCode

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