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. OverridedEqualsHashCode
  15. SpinalTagReady
  16. Assignable
  17. NameableByComponent
  18. Nameable
  19. OwnableRef
  20. ContextUser
  21. ScalaLocated
  22. GlobalDataUser
  23. AnyRef
  24. 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 thant VHDL variable

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

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

    Permalink

    Logical XOR operator

    Logical XOR operator

    Definition Classes
    BoolBitwiseOp
  17. var _spinalTags: Set[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 allowPruning(): Bool.this.type

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

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

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

    Permalink
    Definition Classes
    Data
  31. def asBits: Bits

    Permalink

    Cast data to Bits

    Cast data to Bits

    Definition Classes
    BoolData
  32. 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

  33. def asData: Data

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

    Permalink

    set a data as inout

    set a data as inout

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

    Permalink

    Set a data as input

    Set a data as input

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

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

    Permalink

    Set a data as output

    Set a data as output

    Definition Classes
    BaseTypeData
  38. 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
  39. 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)
  40. 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
  41. def assignDontCare(): Bool.this.type

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

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

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

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

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

    Permalink

    this is assigned to False

  47. def clearWhen(cond: Bool): Bool

    Permalink

    this is assigned to False when cond is True

  48. var clockDomain: ClockDomain

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

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

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

    Permalink
    Definition Classes
    Assignable
  52. var compositeAssign: Assignable

    Permalink
    Definition Classes
    Assignable
  53. def default(that: ⇒ Bool): Bool

    Permalink

    Set a default value to a data

    Set a default value to a data

    Definition Classes
    DataPrimitives
  54. def dirString(): String

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

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

    Permalink
    Definition Classes
    DoubleLinkedContainer
  57. def dlcHasOnlyOne: Boolean

    Permalink
    Definition Classes
    DoubleLinkedContainer
  58. var dlcHead: AssignmentStatement

    Permalink
    Definition Classes
    DoubleLinkedContainer
  59. def dlcIsEmpty: Boolean

    Permalink
    Definition Classes
    DoubleLinkedContainer
  60. var dlcLast: AssignmentStatement

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

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

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

    Permalink

    Edge detection

  64. 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)
  65. def edges(): BoolEdges

    Permalink

    Edge detection without intial value

  66. 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){...}
  67. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink

    Falling edge detection

  71. 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)
  72. def filterTag(cond: (SpinalTag) ⇒ Boolean): Iterable[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  73. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  74. def findTag(cond: (SpinalTag) ⇒ Boolean): Option[SpinalTag]

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

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

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

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

    Permalink

    flip the direction of the data

    flip the direction of the data

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

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

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

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

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

    Permalink
  84. def genIf(cond: Boolean): Bool.this.type

    Permalink

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
  85. def getBitsWidth: Int

    Permalink

    Return the width of the data

    Return the width of the data

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

    Permalink
    Definition Classes
    AnyRef → Any
  87. def getComponent(): Component

    Permalink
    Definition Classes
    DataNameableByComponent
  88. def getComponents(): Seq[Component]

    Permalink

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    Data
  89. def getDisplayName(): String

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

    Permalink
    Definition Classes
    BaseType
  91. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  92. def getMode: Byte

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

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

    Permalink
    Definition Classes
    Nameable
  95. def getRealSource: Any

    Permalink
    Definition Classes
    Assignable
  96. def getRealSourceNoRec: Any

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

    Permalink
    Definition Classes
    OwnableRef
  98. def getRootParent: Data

    Permalink
    Definition Classes
    Data
  99. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  100. def getScalaLocationShort: String

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

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  104. def getTags(): Set[SpinalTag]

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

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

    Permalink

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    BoolData
  107. val globalData: GlobalData

    Permalink
    Definition Classes
    GlobalDataUser
  108. def hasAssignement: Boolean

    Permalink
    Definition Classes
    BaseType
  109. def hasInit: Boolean

    Permalink

    Does the base type have initial value

    Does the base type have initial value

    Definition Classes
    BaseType
  110. def hasOnlyOneStatement: Boolean

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

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

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

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

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

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

    Permalink

    Set inital value to a data

    Set inital value to a data

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

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

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  121. def isAnalog: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  122. def isComb: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  123. def isDirectionLess: Boolean

    Permalink
    Definition Classes
    Data
  124. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  125. def isInOut: Boolean

    Permalink
    Definition Classes
    Data
  126. def isInput: Boolean

    Permalink
    Definition Classes
    Data
  127. def isInputOrInOut: Boolean

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

    Permalink
    Definition Classes
    Any
  129. def isNamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  130. def isOutput: Boolean

    Permalink
    Definition Classes
    Data
  131. def isOutputOrInOut: Boolean

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

    Permalink
    Definition Classes
    Nameable
  133. def isReg: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  134. def isTypeNode: Boolean

    Permalink

    Is the baseType a node

    Is the baseType a node

    Definition Classes
    BaseType
  135. def isUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  136. def isUsingResetSignal: Boolean

    Permalink

    Is the basetype using reset signal

    Is the basetype using reset signal

    Definition Classes
    BaseType
  137. def isUsingSoftResetSignal: Boolean

    Permalink

    Is the basetype using soft reset signal

    Is the basetype using soft reset signal

    Definition Classes
    BaseType
  138. def isVital: Boolean

    Permalink

    Check if the baseType is vital

    Check if the baseType is vital

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

    Permalink
    Definition Classes
    Data
  140. var lastScopeStatement: Statement

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

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

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

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

    Permalink
    Definition Classes
    BaseType
  145. var name: String

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

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

    Permalink
    Definition Classes
    AnyRef
  148. var nextScopeStatement: Statement

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

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

    Permalink
    Definition Classes
    Data
  151. def normalizeInputs: Unit

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

    Permalink
    Definition Classes
    AnyRef
  153. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  154. def onEachAttributes(doIt: (Attribute) ⇒ Unit): Unit

    Permalink
    Definition Classes
    SpinalTagReady
  155. def opName: String

    Permalink
    Definition Classes
    BoolExpression
  156. var parent: Data

    Permalink
    Definition Classes
    Data
  157. var parentScope: ScopeStatement

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

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

    Permalink

    Usefull for register that doesn't need a reset value in RTL, but need a randome value for simulation (avoid x-propagation)

    Usefull for register that doesn't need a reset value in RTL, but need a randome value for simulation (avoid x-propagation)

    Definition Classes
    Data
  161. var refOwner: RefOwnerType

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

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

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

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

    Permalink

    Remove all assignements of the base type

    Remove all assignements of the base type

    Definition Classes
    BaseTypeData
  166. def removeStatement(): Unit

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

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

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

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

    Permalink

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  171. def rise(): Bool

    Permalink

    Rising edge detection

  172. 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)
  173. def rootScopeStatement: ScopeStatement

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

    Permalink

    this is assigned to True

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

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

    Permalink

    Set baseType to Combinatorial

    Set baseType to Combinatorial

    Definition Classes
    BaseTypeData
  177. 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
  178. def setAsReg(): Bool.this.type

    Permalink

    Set baseType to reg

    Set baseType to reg

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

    Permalink

    Set baseType to Node

    Set baseType to Node

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

    Permalink

    Set the baseType to vital

    Set the baseType to vital

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Nameable
  199. 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)
  200. def simplifyNode: Expression

    Permalink
    Definition Classes
    Expression
  201. def spinalTags: Set[SpinalTag]

    Permalink
    Definition Classes
    SpinalTagReady
  202. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink
    Definition Classes
    BaseNode
  205. def unary_!: Bool

    Permalink

    Logical NOT

    Logical NOT

    returns

    a Bool assign with the NOT result

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

    Permalink

    Inverse bitwise operator

    Inverse bitwise operator

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

    Permalink
    Definition Classes
    Nameable
  208. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  209. final def wait(arg0: Long, arg1: Int): Unit

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

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

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

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

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

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

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

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

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

    Permalink

    Logical OR operator

    Logical OR operator

    Definition Classes
    BoolBitwiseOp
  219. 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

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 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