negedge property

  1. @override
Stream<LogicValueChanged> negedge
override

A Stream of LogicValueChanged events which triggers at most once per Simulator tick, iff the value of the Logic has changed from 1 to 0.

Throws an exception if width is not 1.

Implementation

@override
// Can rely on `packed` here because it must be 1 bit.
Stream<LogicValueChanged> get negedge => packed.negedge;