You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/backend/accelerator.rst
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,18 +116,17 @@ Build workflow
116
116
117
117
At the call of the ``build`` method, the following option affect the build process:
118
118
119
-
* ``reset``: If True, clears files generated during previous build processes (STILL BEING TESTED).
120
-
* ``csim``: If True, builds the project for Vitis' software emulation validation flow (STILL BEING TESTED)
121
-
* ``synth``: If True, runs `make hls`, building object files for the kernel (STILL BEING TESTED)
122
-
* ``cosim``: If True, builds the project for Vitis' hardware emulation validation flow (STILL BEING TESTED)
123
-
* ``vsynth``: If True, runs `make xclbin`, building the .xclbin binary executable for the kernel (STILL BEING TESTED)
124
-
* ``debug``: If True, compiles the c++ host code and the HLS in debug mode (STILL BEING TESTED)
119
+
* ``reset``: If True, clears files generated during previous build processes (Equivalent to ``make clean`` in build folder).
120
+
* ``target``: Can be one of ``hw``, ``hw_emu``, ``sw_emu``, to define which build target to use (Default is ``hw``).
121
+
* ``debug``: If True, compiles the c++ host code and the HLS in debug mode.
125
122
126
123
Once the project is generated, it possible to run manually the build steps by using one of the following ``make`` targets in the generated project directory:
127
124
128
125
* ``host``: Compiles the host application.
129
126
* ``hls``: Produces only the kernel's object file.
130
127
* ``xclbin``: Produces only the kernel's .xclbin file.
128
+
* ``clean``: Removes all generated files.
129
+
* ``run``: Run the host application using the .xclbin file and the input data present in ``tb_data/tb_input_features.dat``.
131
130
132
131
It is also possible to run the full build process by calling ``make`` without any target. Modifications to the ``accelerator_card.cfg`` file can be done manually before running the build process (e.g., to change the clock period, or add addition ``.xo`` kernel to the build).
0 commit comments