- Make sure to create Vitis AI-enabled platform & build a Reference Design
- Copy
arch.json
insd_card
directory of DPU-TRD asarch/<platform name>.json
# make sure "dpu" is listed as accelerator
$ sudo xmutil listapps
$ sudo xmutil unloadapp
$ sudo xmutil loadapp dpu
click here
$ dlet -f <input .hwh file>
$ mkdir arch/<platform name>
$ mv <generated file> arch/<platform name>/<platform name>.dcf
- For example:
$ dlet -f ultra96v2.hwh
$ mkdir arch/ultra96v2
$ mv dpu-03-26-2020-13-30.dcf arch/ultra96v2/ultra96v2.dcf
-
Add path the .dcf file path (relative to the model directory of your choice) to
"dcf"
section ofarch/arch.json
-
For example,
arch/arch.json
will look like:
{
"target" : "dpuv2",
"dcf" : "../arch/ultra96v2/ultra96v2.dcf",
"cpu_arch" : "arm64"
}
- Copy edited
arch.json
intoarch/<platform name>
$ mv arch/arch.json arch/<platform name>