PropertyBooleanBinaryOps

chisel3.properties.PropertyBooleanBinaryOps

Binary boolean property operations: AND, OR, XOR.

Attributes

Source
Property.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def and(lhs: Property[Boolean], rhs: Property[Boolean])(implicit sourceInfo: SourceInfo): Property[Boolean]

Compute the AND of two boolean properties.

Compute the AND of two boolean properties.

Attributes

Source
Property.scala
def not(operand: Property[Boolean])(implicit sourceInfo: SourceInfo): Property[Boolean]

Compute the logical NOT of a boolean property, implemented as XOR with the constant true.

Compute the logical NOT of a boolean property, implemented as XOR with the constant true.

Attributes

Source
Property.scala
def or(lhs: Property[Boolean], rhs: Property[Boolean])(implicit sourceInfo: SourceInfo): Property[Boolean]

Compute the OR of two boolean properties.

Compute the OR of two boolean properties.

Attributes

Source
Property.scala
def xor(lhs: Property[Boolean], rhs: Property[Boolean])(implicit sourceInfo: SourceInfo): Property[Boolean]

Compute the XOR of two boolean properties.

Compute the XOR of two boolean properties.

Note: NOT can be expressed as xor(a, Property(true)), or more conveniently via the not helper or unary_! operator.

Attributes

Source
Property.scala