ocpidev-show — displays information about OpenCPI assets.
The show verb is slightly different from other verbs since the command
currently is not associated with a project, but with the operating
environment by default. There are two scoping options to associate
with the command. By default, the --global-scope option is set and
it will look in all registered projects (and the current project
if applicable). The registry used is the one in the OpenCPI
installation unless overridden using the OCPI_PROJECT_REGISTRY_DIR
environment variable. Use the --local-scope option to run the
command in just the current project.
Asset types to be specified in the <noun> argument are:
component
components
libraries
platforms
project
projects
registry
targets
tests
worker
workers
prerequisites
Use the keywords rcc and hdl to scope what is displayed
for the platforms and targets nouns. For example, the command:
ocpidev show hdl platforms
only shows the available HDL platforms.
For HDL platforms shown in the default display format
(see the --table option below), an asterisk after the platform
name indicates that the platform is registered but has not yet
been built. Note that assemblies and tests cannot be built until
the platform is built.
In addition to the options common to all OpenCPI tools
(see opencpi(1)),
the options described below can be specified for show operations.
In the following descriptions,
a plus sign (+) after the option indicates
that it can be specified more than once on the command line.
-P <hdl-platform-directory>, --platform=<hdl-platform-directory>
-l <library>, --library=<library>
--global-scope
-local-scope
is not used.
--hdl-library=<hdl-library>
--json
--local-scope
--simple
--table
--simple or --json are not used.
List all RCC and HDL platforms that assets can be built for:
ocpidev show platforms
List all HDL platforms that HDL assets can be built for:
ocpidev show hdl platforms
List all components in any registered projects (omits components at the top level of project due to a defect):
ocpidev show components
Display a table of the registered projects and their locations:
ocpidev show --table registry
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