ocpidev — command-line tool for managing OpenCPI assets
The ocpidev(1)
command-line tool is used to perform various
development-related tasks inside projects as well as retrieve information
about the environment. When used in projects, it can be invoked at the top
level of the project or in lower-level directories of the project as
appropriate to the particular command being used. The ocpidev
command
has full tab completion for its options and arguments.
For convenience, options can occur anywhere in the command. The general usage concept is: perform the <verb> operation on the <noun> asset type whose name is <name>.
Man pages are available for ocpidev
verbs and nouns by typing
the command man ocpidev-
<verb> or man ocpidev-
<noun>.
The verbs supported by ocpidev
are:
build
clean
create
delete
run
show
register
, unregister
set
, unset
utilization
The assets (nouns) supported by ocpidev
are:
application
applications
applications/
directory.
component
library
libraries
project
properties
protocol
registry
test
worker
Note that the assets application
, applications
, library
,
libraries
, project
and registry
do not reside in component libraries.
The assets properties
, protocol
, component
, test
and
worker
reside in component libraries.
The HDL-specific assets (located under the hdl/
subdirectory)
supported by ocpidev
are:
hdl assembly
hdl assemblies
hdl card
hdl/cards/
.
hdl device
adapters/
, cards/
, devices/
or an HDL platform’s
devices/
).
hdl platform
platforms/
directory,
including its platform configurations.
hdl platforms
hdl/platforms/
directory.
hdl primitive core
hdl/primitives/
directory.
hdl primitive library
hdl/primitives/
directory.
hdl primitives
hdl slot
Note that the HDL assets card
and device
reside
in one of the fixed HDL libraries in a project (hdl/adapters/
,
hdl/cards/
, and hdl/devices/
) or the devices/
library
within an HDL platform’s directory. The remaining HDL assets
listed here do not reside in these libraries.
Options are either single letters following one hyphen or complete words or acronyms following two hyphens and separated by hyphens. In option descriptions, a plus sign (+) after the option indicates that it can be specified more than once on the command line. Arguments to word-form options are preceded by an equal sign (=) (as shown in the descriptions) or a space. Arguments to letter options are preceded by a space.
Most options are only valid for specific verbs or nouns and are described in the individual verb and noun man pages. See the opencpi(1) man page for the general-purpose options that apply to all OpenCPI tools.
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 User Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_User_Guide.pdf
ocpidev-application(1) ocpidev-assembly(1) ocpidev-build(1) ocpidev-card(1) ocpidev-clean(1) ocpidev-component(1) ocpidev-create(1) ocpidev-delete(1) ocpidev-device(1) ocpidev-library(1) ocpidev-platform(1) ocpidev-primitive(1) ocpidev-project(1) ocpidev-protocol(1) ocpidev-register(1) ocpidev-registry(1) ocpidev-run(1) ocpidev-set(1) ocpidev-show(1) ocpidev-slot(1) ocpidev-test(1) ocpidev-unregister(1) ocpidev-unset(1) ocpidev-utilization(1) ocpidev-worker(1)