Skip to main content

Scade One standard libraries 2026 R1

ToggleBits

Last update: 09.03.2026

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