Skip to main content

Scade One standard libraries 2024 R2

ToggleBitMask

Last update: 17.07.2025

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