Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

band

band( 
x_op1 
x_op2 
[ x_op3 ... ] 
) 
=> x_result

Description

Returns the integer result of the Boolean AND operation on each parallel pair of bits in each operand. Prefix form of the & bitwise operator.

Arguments

x_op1

Operand to be evaluated.

x_op2

Operand to be evaluated.

x_op3

Optional additional operands to be evaluated.

Value Returned

x_result

Result of the operation.

Examples

band(12 13)     
=> 12
band(1 2 3 4 5) 
=> 0

Related Topics

bnor

bnot


Return to top
 ⠀
X