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

Graph FPGA resource usage with over time #394

Open
mikey opened this issue Aug 11, 2022 · 6 comments
Open

Graph FPGA resource usage with over time #394

mikey opened this issue Aug 11, 2022 · 6 comments
Labels
CI Continuous integration with github actions enhancement New feature or request good first issue Good for newcomers

Comments

@mikey
Copy link
Collaborator

mikey commented Aug 11, 2022

I'd like to graph the usage of FPGA resource usage over time so we can easily see when things bloat.

When building microwatt.json, you get a report from yosys like this:

      CCU2C                        1881
      DP16KD                         54
      EHXPLLL                         1
      LUT4                        27427
      MULT18X18D                     32
      TRELLIS_DPR16X4               512
      TRELLIS_FF                   9646

I'd like to graph these parameters on each build (or daily) to see how they are changing.

I assume someone has done something similar for code bloat but I'm not sure what the best way/state of the art to do this is.

https://github.com/jdjohn215/milwaukee-weather is a neat way to grab data and graph it each day, so something like that could work. We could do it as a separate git repo that runs regularly but open to better ideas.

@mikey mikey added enhancement New feature or request good first issue Good for newcomers CI Continuous integration with github actions labels Aug 11, 2022
@mikey
Copy link
Collaborator Author

mikey commented Aug 11, 2022

Referencing #302 that might help us.

@mikey
Copy link
Collaborator Author

mikey commented Aug 25, 2022

Graphing some benchmarks over time would also be useful

@mithro
Copy link

mithro commented Aug 25, 2022

FYI - https://github.com/mattvenn/logLUTs might be useful.

@mithro
Copy link

mithro commented Aug 25, 2022

https://github.com/leaflabs/xmsgs-tools might also be helpful too.

@mithro
Copy link

mithro commented Aug 25, 2022

(BTW It would be great if this was a default functionality of LiteX and/or EDAlize.)

@mikey
Copy link
Collaborator Author

mikey commented Aug 30, 2022

@mithro I kinda got logLUTs to work. Now I need to automate it
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration with github actions enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants