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. SpinalTagReady
  15. Assignable
  16. NameableByComponent
  17. Nameable
  18. OwnableRef
  19. ContextUser
  20. ScalaLocated
  21. GlobalDataUser
  22. AnyRef
  23. 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 asBits: Bits

    Permalink

    Cast data to Bits

    Cast data to Bits

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

  32. def asData: Data

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

    Permalink

    set a data as inout

    set a data as inout

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

    Permalink

    Set a data as input

    Set a data as input

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

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

    Permalink

    Set a data as output

    Set a data as output

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

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

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

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

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

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

    Permalink

    this is assigned to False

  46. def clearWhen(cond: Bool): Bool

    Permalink

    this is assigned to False when cond is True

  47. var clockDomain: ClockDomain

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

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

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

    Permalink
    Definition Classes
    Assignable
  51. var compositeAssign: Assignable

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

    Permalink

    Set a default value to a data

    Set a default value to a data

    Definition Classes
    DataPrimitives
  53. def dirString(): String

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

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

    Permalink
    Definition Classes
    DoubleLinkedContainer
  56. def dlcHasOnlyOne: Boolean

    Permalink
    Definition Classes
    DoubleLinkedContainer
  57. var dlcHead: AssignmentStatement

    Permalink
    Definition Classes
    DoubleLinkedContainer
  58. def dlcIsEmpty: Boolean

    Permalink
    Definition Classes
    DoubleLinkedContainer
  59. var dlcLast: AssignmentStatement

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

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

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

    Permalink

    Edge detection

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

    Permalink

    Edge detection without intial value

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

    Permalink
    Definition Classes
    AnyRef
  67. def equals(arg0: Any): Boolean

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

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

    Permalink

    Falling edge detection

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

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

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

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

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

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

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

    Permalink

    flip the direction of the data

    flip the direction of the data

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

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

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

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

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

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

    Permalink

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
  84. def getBitsWidth: Int

    Permalink

    Return the width of the data

    Return the width of the data

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

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

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

    Permalink

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    Data
  88. def getDisplayName(): String

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

    Permalink
    Definition Classes
    BaseType
  90. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  91. def getMode: Byte

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

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

    Permalink
    Definition Classes
    Nameable
  94. def getRealSource: Any

    Permalink
    Definition Classes
    Assignable
  95. def getRealSourceNoRec: Any

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

    Permalink
    Definition Classes
    OwnableRef
  97. def getRootParent: Data

    Permalink
    Definition Classes
    Data
  98. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  99. def getScalaLocationShort: String

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

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

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

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

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

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

    Permalink

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    BoolData
  106. val globalData: GlobalData

    Permalink
    Definition Classes
    GlobalDataUser
  107. def hasAssignement: Boolean

    Permalink
    Definition Classes
    BaseType
  108. def hasInit: Boolean

    Permalink

    Does the base type have initial value

    Does the base type have initial value

    Definition Classes
    BaseType
  109. def hasOnlyOneStatement: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  113. def head: AssignmentStatement

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

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

    Permalink

    Set inital value to a data

    Set inital value to a data

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

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

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  120. def isAnalog: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  121. def isComb: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  122. def isDirectionLess: Boolean

    Permalink
    Definition Classes
    Data
  123. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  124. def isInOut: Boolean

    Permalink
    Definition Classes
    Data
  125. def isInput: Boolean

    Permalink
    Definition Classes
    Data
  126. def isInputOrInOut: Boolean

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

    Permalink
    Definition Classes
    Any
  128. def isNamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  129. def isOutput: Boolean

    Permalink
    Definition Classes
    Data
  130. def isOutputOrInOut: Boolean

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

    Permalink
    Definition Classes
    Nameable
  132. def isReg: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  133. def isTypeNode: Boolean

    Permalink

    Is the baseType a node

    Is the baseType a node

    Definition Classes
    BaseType
  134. def isUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  135. def isUsingResetSignal: Boolean

    Permalink

    Is the basetype using reset signal

    Is the basetype using reset signal

    Definition Classes
    BaseType
  136. def isUsingSoftResetSignal: Boolean

    Permalink

    Is the basetype using soft reset signal

    Is the basetype using soft reset signal

    Definition Classes
    BaseType
  137. def isVital: Boolean

    Permalink

    Check if the baseType is vital

    Check if the baseType is vital

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

    Permalink
    Definition Classes
    Data
  139. var lastScopeStatement: Statement

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

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

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

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

    Permalink
    Definition Classes
    BaseType
  144. var name: String

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

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

    Permalink
    Definition Classes
    AnyRef
  147. var nextScopeStatement: Statement

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

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

    Permalink
    Definition Classes
    Data
  150. def normalizeInputs: Unit

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

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  154. def opName: String

    Permalink
    Definition Classes
    BoolExpression
  155. var parent: Data

    Permalink
    Definition Classes
    Data
  156. var parentScope: ScopeStatement

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

    Permalink
    Definition Classes
    Data
  159. 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
  160. var refOwner: RefOwnerType

    Permalink
    Definition Classes
    OwnableRef
  161. def remapDrivingExpressions(func: (Expression) ⇒ Expression): Unit

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

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

    Permalink

    Remove all assignements of the base type

    Remove all assignements of the base type

    Definition Classes
    BaseTypeData
  164. def removeStatement(): Unit

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

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

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

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

    Permalink

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  169. def rise(): Bool

    Permalink

    Rising edge detection

  170. 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)
  171. def rootScopeStatement: ScopeStatement

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

    Permalink

    this is assigned to True

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

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

    Permalink

    Set baseType to Combinatorial

    Set baseType to Combinatorial

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

    Permalink

    Set baseType to reg

    Set baseType to reg

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

    Permalink

    Set baseType to Node

    Set baseType to Node

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

    Permalink

    Set the baseType to vital

    Set the baseType to vital

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    BaseNode
  203. def unary_!: Bool

    Permalink

    Logical NOT

    Logical NOT

    returns

    a Bool assign with the NOT result

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

    Permalink

    Inverse bitwise operator

    Inverse bitwise operator

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    Logical OR operator

    Logical OR operator

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

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