Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary Counter #73

Open
mkorbel1 opened this issue Jan 18, 2024 · 2 comments
Open

Binary Counter #73

mkorbel1 opened this issue Jan 18, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@mkorbel1
Copy link
Contributor

mkorbel1 commented Jan 18, 2024

Motivation

Configurable counters are useful!

Desired solution

  • Reset with reset value
  • Saturation value (maximum value)
  • Saturation behavior (overflow vs. hold at saturated value)
  • Enable (increment) -> when high: increment, when low: don't increment
  • Enable decrement
  • Increment amount
  • Decrement amount
  • number of increments/decrements (different constructors maybe for 1 vs multiple)

Alternatives considered

No response

Additional details

No response

@mkorbel1 mkorbel1 added the enhancement New feature or request label Jan 18, 2024
@RPG-coder-intc
Copy link
Contributor

Hey Max! I will work on this one

@mkorbel1
Copy link
Contributor Author

mkorbel1 commented Mar 7, 2024

In consideration for up counters and down counters, does saturation count as only == saturation value, or is it >= or <= in case incr/decr amount is not 1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants