bit property

  1. @Deprecated('Use `value` instead.' ' Check `width` separately to confirm single-bit.')
  2. @override
LogicValue bit
override

The current active value of this signal if it has width 1, as a LogicValue.

Throws an Exception if width is not 1.

Implementation

@Deprecated('Use `value` instead.'
    '  Check `width` separately to confirm single-bit.')
@override
// Can rely on `packed` here because it must be 1 bit.
LogicValue get bit => packed.bit;