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

Add power functionality #336

Closed
mkorbel1 opened this issue Mar 31, 2023 · 0 comments · Fixed by #356
Closed

Add power functionality #336

mkorbel1 opened this issue Mar 31, 2023 · 0 comments · Fixed by #356
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mkorbel1
Copy link
Contributor

Motivation

In SystemVerilog, power (a**b) is a useful function.

It would be nice to have a synthesizable Module and associated functions for generating hardware and SystemVerilog with powers.

Desired solution

  • Create a new Module that generates a**b in output SystemVerilog and appropriately simulates powers in the ROHD simulator.
  • Add functions (probably to Logic) to automatically generate this module in a convenient API.

Alternatives considered

No response

Additional details

No response

@mkorbel1 mkorbel1 added enhancement New feature or request good first issue Good for newcomers labels Mar 31, 2023
Sanchit-kumar added a commit to Sanchit-kumar/rohd that referenced this issue May 6, 2023
@mkorbel1 mkorbel1 linked a pull request May 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant