Skip to main content

Scade One standard libraries 2025 R2

ToggleBits

Last update: 16.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>&gt; Input bit-field
v O unsigned<n>&gt; Result of the operation

Parent topic:Bitfield

Connect with Ansys