Skip to main content

Scade One standard libraries 2024 R2

ToggleBits

Last update: 17.07.2025

Returns the input with all bits toggled: 0 replaced by 1 and vice versa. This is equivalent to the operator lnot.

Interface

Name Kind Type Comment
N P N/A Size of the bit-field
bf I unsigned<<N>> Input bit-field
v O unsigned<<N>> Result of the operation

Parent topic:Bitfield

Connect with Ansys