posedge property

Stream<LogicValueChanged> posedge

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

Throws an exception if width is not 1.

Implementation

Stream<LogicValueChanged> get posedge => _wire.posedge;