execute abstract method

  1. @protected
void execute(
  1. Set<Logic>? drivenSignals,
  2. void guard(
    1. Logic toGuard
    )?
)

Executes the functionality of this Conditional and populates drivenSignals with all Logics that were driven during execution.

The drivenSignals are used by the caller to determine if signals were driven an appropriate number of times.

The guard function should be called on drivers prior to any execution which consumes the current value of those drivers. It is used to check that signals are not "written after read", for example.

Implementation

@protected
void execute(Set<Logic>? drivenSignals, void Function(Logic toGuard)? guard);