Engee documentation

Bit Clear

Sets the specified input bit to zero.

blockType: Bit Clear

Path in the library:

/Basic/Logic and Bit Operations/Bit Clear

Description

Block Bit Clear sets the specified input bit to zero. Zooming is ignored.

The bit number to be set to zero is set by the parameter Index of bit (0 is least significant), where the zero bit is the least significant bit.

Ports

Input

# IN_1 — Input signal
scalar | vector

Details

The input signal (integer), which will have a bit set.

Data types

Int64

Complex numbers support

Yes

Output

# OUT_1 — Output signal
scalar | vector

Details

An output signal (integer) with the specified bit set to zero.

Data types

Int64

Complex numbers support

Yes

Parameters

Main

# Index of bit (0 is least significant) — bit index
Scalar / array of Int64

Details

The number of the bit to install. The least significant bit has a number 0.

Default value

0

Program usage name

iBit

Tunable

Yes

Evaluatable

Yes

Additional options

C code generation: Yes