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.
Options can occur anywhere in the command for the user’s convenience. 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
refresh
run
show
register, unregister
set, unset
utilization
The assets (nouns) supported by ocpidev are:
application
applications
component
library
project
properties
protocol
registry
test
worker
Note that the assets application, applications, library,
project and registry do not reside in libraries. The assets
properties, protocol, component, test and worker
reside in libraries.
The HDL-specific assets (located under the hdl/ subdirectory
supported by ocpidev are:
hdl assembly
hdl assemblies
hdl card
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
hdl subdevice
Note that the HDL assets card, device and subdevice 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. Most options are only valid for specific verbs or nouns. The general-purpose options are:
-d <directory>
--help
ocpidev --help show.
--verbose, -v
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-refresh(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)