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

Print Block RAM usage after compilation #6

Open
robstewart57 opened this issue Jul 5, 2016 · 0 comments
Open

Print Block RAM usage after compilation #6

robstewart57 opened this issue Jul 5, 2016 · 0 comments

Comments

@robstewart57
Copy link

Xronos outputs a very useful piece of information, nested deeply in the HTML files at:

rtl/report/<actor_name>_ResourceUtilizationReport.html

Which is the number of Block RAM blocks for each actor, e.g.

<B>
Number of Block Rams:                           48
</B>

Xronos also outputs to the eclipse (Orcc development) console, more useful things:

Actors: 16
Actions: 46
Scalars: 52
Lists: 44
Procedures/Functions: 0
Addition/Substractions: 162
Multiplications: 0
Division/Modulos: 60
Logic: 0
Shift: 0
Comparators: 84
Branches: 48
Calls 0
While: 0
Assign: 296
Load: 318
Store: 198

Given that Xronos/OpenForge appears to be able to precisly calculate Block RAM, what would be really useful, is for Xronos to print overall Block RAM usage (i.e. summing up for all compiled actors), the total Block RAM use for the dataflow graph. E.g.

15:10:21: Xronos done in 38.426s
15:10:21: Generating Network...
15:10:21: Generating Testbenches...
15:10:21: Done in 38.728s. Result: 0 file(s) written - 0 file(s) cached
15:10:22: Children generation
15:10:22: Done in 0.001s. Result: 0 file(s) written - 0 file(s) cached
15:10:22: Orcc backend done.
Total Block RAM used: XX
Total LUTs used: YY

Is that possible?

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