*)xrtBOMap(in_bo4);
Correspondingly, the pre-processing and post-processing of this data has been changed.
Run HW emulation with the following make command (it builds the HW system and host application).
make run_hw_emu
Hint: If the keyboard is accidentally hit and stops the system booting automatically, type boot at the **Versal>** prompt to resume the system booting.
After Linux has booted, run the following commands at the Linux prompt (this is only for HW cosim).
mount /dev/mmcblk0p1 /mnt
cd /mnt
export XILINX_XRT=/usr
export XCL_EMULATION_MODE=hw_emu
./host.exe a.xclbin
To exit QEMU press Ctrl+A, x
To run in hardware, first build the system and application using the following make command.
make package TARGET=hw
After Linux has booted, run the following commands at the Linux prompt.
export XILINX_XRT=/usr
cd /mnt/sd-mmcblk0p1
./host.exe a.xclbin
The host code is self-checking. It will check the correctness of output data. If the output data is correct, after the run has completed, it will print:
TEST PASSED
### Conclusion
In this step, you learned about the following concepts.
* Preparing `float` and `cint16` data types for the AI Engine simulator.
* PS application for different data types.
Next, review [Packet Stream Based AI Engine Kernels](./pktstream_based_aie_kernel.md).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
XD029 | © Copyright 2020-2021 Xilinx, Inc.