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 copyDirectionOf(that: Bool): Unit

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

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

    Permalink

    Set a default value to a data

    Set a default value to a data

    Definition Classes
    DataPrimitives
  56. def dirString(): String

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

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

    Permalink
    Definition Classes
    DoubleLinkedContainer
  59. def dlcHasOnlyOne: Boolean

    Permalink
    Definition Classes
    DoubleLinkedContainer
  60. var dlcHead: AssignmentStatement

    Permalink
    Definition Classes
    DoubleLinkedContainer
  61. def dlcIsEmpty: Boolean

    Permalink
    Definition Classes
    DoubleLinkedContainer
  62. var dlcLast: AssignmentStatement

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

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

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

    Permalink

    Edge detection

  66. 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)
  67. def edges(): BoolEdges

    Permalink

    Edge detection without intial value

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

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

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

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

    Permalink

    Falling edge detection

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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 genIf(cond: Boolean): Bool.this.type

    Permalink

    Generate this if condition is true

    Generate this if condition is true

    Definition Classes
    Data
  87. def getBitsWidth: Int

    Permalink

    Return the width of the data

    Return the width of the data

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

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

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

    Permalink

    Get current component with all parents

    Get current component with all parents

    Definition Classes
    Data
  91. def getDisplayName(): String

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

    Permalink
    Definition Classes
    BaseType
  93. def getInstanceCounter: Int

    Permalink
    Definition Classes
    ContextUser
  94. def getMode: Byte

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

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

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

    Permalink
    Definition Classes
    Nameable
  98. def getRealSource: Any

    Permalink
    Definition Classes
    Assignable
  99. def getRealSourceNoRec: Any

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

    Permalink
    Definition Classes
    OwnableRef
  101. def getRootParent: Data

    Permalink
    Definition Classes
    Data
  102. def getScalaLocationLong: String

    Permalink
    Definition Classes
    ScalaLocated
  103. def getScalaLocationShort: String

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

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

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

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

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

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

    Permalink

    Create a data set to 0

    Create a data set to 0

    Definition Classes
    BoolData
  110. val globalData: GlobalData

    Permalink
    Definition Classes
    GlobalDataUser
  111. def hasAssignement: Boolean

    Permalink
    Definition Classes
    BaseType
  112. def hasInit: Boolean

    Permalink

    Does the base type have initial value

    Does the base type have initial value

    Definition Classes
    BaseType
  113. def hasOnlyOneStatement: Boolean

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

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

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

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

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

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

    Permalink

    Set inital value to a data

    Set inital value to a data

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

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

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  124. def isAnalog: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  125. def isComb: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  126. def isDirectionLess: Boolean

    Permalink
    Definition Classes
    Data
  127. def isEmptyOfTag: Boolean

    Permalink
    Definition Classes
    SpinalTagReady
  128. def isInOut: Boolean

    Permalink
    Definition Classes
    Data
  129. def isInput: Boolean

    Permalink
    Definition Classes
    Data
  130. def isInputOrInOut: Boolean

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

    Permalink
    Definition Classes
    Any
  132. def isNamed: Boolean

    Permalink
    Definition Classes
    NameableByComponentNameable
  133. def isOutput: Boolean

    Permalink
    Definition Classes
    Data
  134. def isOutputOrInOut: Boolean

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

    Permalink
    Definition Classes
    Nameable
  136. def isReg: Boolean

    Permalink
    Definition Classes
    BaseTypeData
  137. def isTypeNode: Boolean

    Permalink

    Is the baseType a node

    Is the baseType a node

    Definition Classes
    BaseType
  138. def isUnnamed: Boolean

    Permalink
    Definition Classes
    Nameable
  139. def isUsingResetSignal: Boolean

    Permalink

    Is the basetype using reset signal

    Is the basetype using reset signal

    Definition Classes
    BaseType
  140. def isUsingSoftResetSignal: Boolean

    Permalink

    Is the basetype using soft reset signal

    Is the basetype using soft reset signal

    Definition Classes
    BaseType
  141. def isVital: Boolean

    Permalink

    Check if the baseType is vital

    Check if the baseType is vital

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

    Permalink
    Definition Classes
    Data
  143. var lastScopeStatement: Statement

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

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

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

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

    Permalink
    Definition Classes
    BaseType
  148. var name: String

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

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

    Permalink
    Definition Classes
    AnyRef
  151. var nextScopeStatement: Statement

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

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

    Permalink
    Definition Classes
    Data
  154. def normalizeInputs: Unit

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

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

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

    Permalink
    Definition Classes
    SpinalTagReady
  158. def opName: String

    Permalink
    Definition Classes
    BoolExpression
  159. var parent: Data

    Permalink
    Definition Classes
    Data
  160. var parentScope: ScopeStatement

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

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

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

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

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

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

    Permalink

    Remove all assignements of the base type

    Remove all assignements of the base type

    Definition Classes
    BaseTypeData
  169. def removeStatement(): Unit

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

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

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

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

    Permalink

    Resized data regarding target

    Resized data regarding target

    Definition Classes
    Data
  174. def rise(): Bool

    Permalink

    Rising edge detection

  175. 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)
  176. def rootScopeStatement: ScopeStatement

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

    Permalink

    this is assigned to True

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

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

    Permalink

    Set baseType to Combinatorial

    Set baseType to Combinatorial

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

    Permalink

    Set baseType to reg

    Set baseType to reg

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

    Permalink

    Set baseType to Node

    Set baseType to Node

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

    Permalink

    Set the baseType to vital

    Set the baseType to vital

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    BaseNode
  208. def unary_!: Bool

    Permalink

    Logical NOT

    Logical NOT

    returns

    a Bool assign with the NOT result

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

    Permalink

    Inverse bitwise operator

    Inverse bitwise operator

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    Logical OR operator

    Logical OR operator

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