ocpidev-utilization — displays or records FPGA resource use for HDL OpenCPI assets.
The utilization verb invokes the OpenCPI tool that
displays or records FPGA resource use for HDL OpenCPI assets.
In order to display usage information about an HDL asset for
a given platform, the asset needs to be built for that platform.
Asset types to be specified in the <noun> argument are:
A prefix to indicate an HDL asset in the hdl subdirectory of a project. Possible HDL assets are:
In the description below, a plus sign (+) after the option indicates that it can be specified more than once on the command line.
--format=table|latex
table sends the information to stdout in tabular format.
Specifying latex bypasses stdout and writes all output to
utilization.inc files in the directories for the assets on
which it operates.
--hdl-library=<hdl-primitive-library>
--hdl-platform=<platform>+
--hdl-target=<target>+
--library=<library>, -l <library>
-P <hdl-platform-directory>
Show usage information for the worker named complex_mixer
using build results from all platforms:
ocpidev utilization worker complex_mixer
Show usage information for the worker named complex_mixer
using build results from the xsim platform:
ocpidev utilization worker complex_mixer --hdl-platform=xsim
Show usage information for all workers in the current location (project, library, etc.):
ocpidev utilization workers
Show usage information for the fir_real_sse worker in the /components/dsp_comps library:
ocpidev utilization worker fir_real_sse -l dsp_comps
Show usage information for the xsim platform:
ocpidev utilization hdl-platform=xsim
Show usage information for all HDL platforms in the current project:
ocpidev utilization hdl-platforms
Show usage information for an HDL assembly named my_assy:
ocpidev utilization hdl assembly my_assy
Show usage information for all HDL assemblies in the current project:
ocpidev utilization hdl assemblies
Record usage information for an HDL assembly
named my_assy in LaTeX format:
ocpidev utilization hdl assembly my_assy --format=latex
Show usage information for all supported assets in a project:
ocpidev utilization project
Record usage information for all supported assets in a project in LaTeX format:
ocpidev utilization project --format=latex