ocpidev-utilization — displays or records FPGA resource use for OpenCPI HDL assets.
The utilization verb invokes the OpenCPI tool that
displays or records FPGA resource use for OpenCPI HDL 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:
hdl
A prefix to indicate an HDL asset in the hdl subdirectory of a project.
Possible HDL assets are:
assembly|ies
platform|s
library
project
worker
workers
In addition to the options common to all OpenCPI tools
(see opencpi(1)),
the options described below can be specified for utilization operations.
In the following descriptions, a plus sign (+) after the option indicates
that it can be specified more than once on the command line.
Keywords for platforms supported by OpenCPI that can be specified in the <platform> argument to an option can be found in the tables of supported platforms in the OpenCPI User Guide.
Keywords for architectures supported by OpenCPI that can be specified
in the <target> argument include isim, modelsim,
xsim, zynq, zynq_ultra, zynq_ise, spartan3adsp.
-P <hdl-platform-directory>, --platform=<hdl-platform-directory>
-l <library>, --library=<library>
--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>+
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 of the assets project:
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
See the main web site: https://www.opencpi.org
See the OpenCPI Component Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Component_Development_Guide.pdf
See the OpenCPI HDL Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_HDL_Development_Guide.pdf
See the OpenCPI Platform Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Platform_Development_Guide.pdf