> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ToggleBits

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](https://developer.synopsys.com/docs/scade-one/scade-one-standard-libraries/2025-r1/libraries/bitfield/bitfield)
