intel / intel/rohd

Modify `Logic.changed` to trigger on `postTick` only after `glitch`

Open
#95 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Dart
Stars
489
Forks
88
Avg merge
3d 23h
Merged PRs (30d)
10

Description

## Motivation
With the current implementation, if a signal is being listened to for `changed`, then it triggers an action on every `preTick` and `postTick` of the simulator. This is probably less efficient than it could be for simulator performance.

## Desired solution
It could be more efficient if listening to `preTick` was eliminated and `postTick` was only listened to after a `glitch` which caused a change.

## Alternatives considered
Leave it as-is.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.