-
Notifications
You must be signed in to change notification settings - Fork 641
/
Copy pathdescription.json
140 lines (140 loc) · 4.62 KB
/
description.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "DPU Kernel (RTL Kernel)",
"description": [
"Run DPU Kernel as GUI flow"
],
"key_concepts": [
"RTL Kernel"
],
"targets": [
"hw",
],
"os": [
"Linux"
],
"runtime": [
"OpenCL"
],
"gui": true,
"host": {
"host_exe": "resnet50",
"compiler": {
"sources": [
"src/app/samples/src/resnet50.cpp"
],
"includepaths": [
"src/app/samples/include"
],
"options" : "-std=c++17"
},
"linker": {
"libraries" : [
"glog",
"vart-mem-manager",
"xir",
"unilog",
"vart-buffer-object",
"vart-runner",
"vart-util",
"vart-xrt-device-handle",
"opencv_core",
"opencv_imgproc",
"opencv_imgcodecs",
"vart-dpu-runner",
"vart-dpu-controller"
]
}
},
"containers": [
{
"accelerators": [
{
"kernel_type": "user",
"name": "DPUCZDX8G",
"num_compute_units" : "2",
"build_command" : "$(VIVADO) -mode batch -source PROJECT/src/prj/Vitis/scripts_gui/gen_dpu_xo.tcl -tclargs $(PROJECT) $@ $(KERNEL_NAME) $(TARGET) $(DEVICE) $(XSA)",
"clean_command" : "rm -rf *.log *.jou *.xo packaged_* tmp_kernel_*",
"dependencies" : [
"src/prj/Vitis/kernel_xml/dpu/kernel.xml",
"src/prj/Vitis/scripts_gui/package_dpu_kernel.tcl",
"src/prj/Vitis/scripts_gui/gen_dpu_xo.tcl",
"src/prj/Vitis/dpu_conf.vh",
"src/dpu_ip/Vitis/dpu/hdl/DPUCZDX8G.v",
"src/dpu_ip/Vitis/dpu/inc/arch_def.vh",
"src/dpu_ip/Vitis/dpu/xdc/timing_clocks.xdc",
"src/dpu_ip/DPUCZDX8G_v3_3_0/ttcl/fingerprint_json.ttcl",
"src/dpu_ip/DPUCZDX8G_v3_3_0/hdl/DPUCZDX8G_v3_3_0_vl_dpu.sv",
"src/dpu_ip/DPUCZDX8G_v3_3_0/inc/function.vh",
"src/dpu_ip/DPUCZDX8G_v3_3_0/inc/arch_para.vh"
]
},
{
"kernel_type": "user",
"name": "sfm_xrt_top",
"build_command" : "$(VIVADO) -mode batch -source PROJECT/src/prj/Vitis/scripts_gui/gen_sfm_xo.tcl -tclargs $(PROJECT) $@ $(KERNEL_NAME) $(TARGET) $(DEVICE) $(XSA)",
"dependencies" : [
"src/prj/Vitis/kernel_xml/sfm/kernel.xml",
"src/prj/Vitis/scripts_gui/package_sfm_kernel.tcl",
"src/prj/Vitis/scripts_gui/gen_sfm_xo.tcl",
"src/dpu_ip/Vitis/sfm/hdl/sfm_xrt_top.v",
"src/dpu_ip/DPUCZDX8G_v3_3_0/hdl/DPUCZDX8G_v3_3_0_vl_sfm.sv",
"src/dpu_ip/DPUCZDX8G_v3_3_0/xci/sfm/fp_acc/fp_acc.xci",
"src/dpu_ip/DPUCZDX8G_v3_3_0/xci/sfm/fp_add/fp_add.xci",
"src/dpu_ip/DPUCZDX8G_v3_3_0/xci/sfm/fp_convert/fp_convert.xci",
"src/dpu_ip/DPUCZDX8G_v3_3_0/xci/sfm/fp_div/fp_div.xci",
"src/dpu_ip/DPUCZDX8G_v3_3_0/xci/sfm/fp_exp/fp_exp.xci"
]
}
],
"name": "dpu"
}
],
"platform_properties" : {
"zcu102_base" : {
"containers": [
{
"ldclflags" : "--config PROJECT/src/prj/Vitis/config_file/prj_config_gui",
"name" : "dpu"
}
]
},
"zcu104_base" : {
"containers": [
{
"ldclflags" : "--config PROJECT/src/prj/Vitis/config_file/prj_config_gui",
"name" : "dpu"
}
]
}
},
"launch": [
{
"cmd_args": "BUILD/dpu.xclbin",
"name": "generic launch for all flows"
}
],
"pre_build" : [
{
"build_cmd" : "mkdir ./src && mv app prj dpu_ip src"
}
],
"data":[
"src/app/img",
"src/app/model"
],
"config_make": "config.mk",
"output_files": "tmp_kernel_pack* packaged_kernel*",
"contributors": [
{
"url": "http://www.xilinx.com",
"group": "Xilinx"
}
],
"revision": [
{
"date": "JAN2017",
"version": "1.0",
"description": "Initial Xilinx Release"
}
]
}