Skip to content

Print Block RAM usage after compilation  #6

@robstewart57

Description

@robstewart57

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions