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

[Feature requests] Allow to test the design's max speed #519

Open
zapta opened this issue Jan 3, 2025 · 0 comments
Open

[Feature requests] Allow to test the design's max speed #519

zapta opened this issue Jan 3, 2025 · 0 comments

Comments

@zapta
Copy link
Collaborator

zapta commented Jan 3, 2025

Currently the user needs to test manually the design speed using apio report. This request is for automatic tests that fails if the design doesn't meet the speed requirements. For example, the user specifies the min speeds in Mhz in apio.ini

min-freq =
   clk1:  12.00
   clk2:  42

and some existing (e.g. apio report) or a new command will exit with an error code if the speeds as reported by apio time are not met. The min-freq option should include exactly the list of clocks reported by apio report.

Also, existing methods such as apio build and apio upload can fail or emit a warning if the design goals are not met.

Another option is to add a clock-margin-percents apio.ini option such that they users can specify the nominal clock speeds but set a margin of let's say 20% from that speed. That is, if the clock is 12Mhz the design should handle 12Mhz + 20%.

Motivation:

  • Creating user awareness if the design requirements are not met.
  • Supporting automation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant