public override void OnClock(DigitalLevel level) { if (_currentPart != null) { _currentPart.OnClock(level); } base.OnClock(level); }
private void Clock_OnChanged(object sender, DigitalLevelChangedEventArgs e) { _cycles.OnClock(e.Level); _interruptManager.OnClock(e.Level); _state.OnClock(e.Level); if (_state.IsComplete) { SwitchToNextState(); } }