[util] FPGA resource utilisation reporting + visualiser utility - #691
Open
thomas6785 wants to merge 1 commit into
Open
[util] FPGA resource utilisation reporting + visualiser utility#691thomas6785 wants to merge 1 commit into
thomas6785 wants to merge 1 commit into
Conversation
thomas6785
force-pushed
the
utilisation_reporting
branch
2 times, most recently
from
July 27, 2026 16:27
6563239 to
6c8db26
Compare
marnovandermaas
left a comment
Collaborator
There was a problem hiding this comment.
Some minor comments from my end. Any reason why this is still marked as draft? I would be happy to get this into the repository.
thomas6785
force-pushed
the
utilisation_reporting
branch
from
July 28, 2026 15:06
6c8db26 to
b3182d1
Compare
thomas6785
marked this pull request as ready for review
July 28, 2026 15:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR provides utility scripts (TCL, Python, and bash) for generating FPGA resource utilisation.
Resource utilisation is not currently constrained but could be in future - it is also a useful proxy for what is costing build time, and generally useful for building an intuitive view of the design.
TCL generates a text report which is quite difficult to read. I have a Python script to parse this and generate sunburst charts like the below:

(You can click on a wedge in this diagram to zoom in and see its children in more detail)
I found this utility handy as a way of intuitively understanding the resource cost of certain blocks
Some notes
I most likely won't have time to address these issues/ideas as it is my last week with lowRISC, but documenting them here in case anybody finds them useful.