Skip to main content

Scade One standard libraries 2026 R1

ToggleBitMask

Last update: 09.03.2026

Returns the input with the bits toggled when the corresponding bit of the mask is 1 and the remaining bits will retain their original values. This is equivalent to the operator lxor.

Interface

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

Parent topic:Bitfield

Connect with Ansys